From bff1768d0a287e7be7a9e7a17690ab44a8729d26 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期一, 11 八月 2025 17:26:12 +0800 Subject: [PATCH] 飞书同步用户/安灯获取产线 用户表增加 飞书用户open_id(后期发送消息标识) --- src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml b/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml index e646445..3cd3bec 100644 --- a/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml +++ b/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml @@ -236,4 +236,12 @@ and username = #{username} </if> </select> + + <!-- 鏍规嵁浜х嚎Id鏌ヨ --> + <select id="getUserByFactoryId" resultType="org.jeecg.modules.system.entity.SysUser"> + select * from sys_user where del_flag = 0 and id in (select user_id from base_user_factory where factory_id=#{factoryId}) + <if test="username!=null and username!=''"> + and username = #{username} + </if> + </select> </mapper> -- Gitblit v1.9.3