From 2baaef55f0c7d88f75319062b00b3fc40b36ffde Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期五, 28 十月 2022 09:17:13 +0800 Subject: [PATCH] Merge branch 'local_20221024' into huacheng_test --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/AutomessageSysUserDao.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/AutomessageSysUserDao.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/AutomessageSysUserDao.java index 83be331..238c121 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/AutomessageSysUserDao.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/AutomessageSysUserDao.java @@ -23,7 +23,7 @@ * @param id * @return */ - @Select("select * from automessage_sys_user where user_id = #{id}") + @Select("SELECT a.* FROM automessage_sys_user a WHERE a.phonenumber = (SELECT u.phone FROM sys_user u WHERE u.user_id = #{id})") AutomessageSysUser selectAutomessageSysUserById(@Param("id") Long id); } -- Gitblit v1.7.1