zhangherong
2025-07-01 9e9bc96ae861e4d416a37ee412905f9f787083f0
lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml
@@ -231,7 +231,7 @@
      </foreach>
   </select>
   <select id="getUserByWorkShopDepartId" resultType="org.jeecg.modules.system.entity.SysUser">
      select * from sys_user where del_flag = 0 and id in (select user_id from mom_eam_work_shop_depart_user where work_shop_depart_id = #{workShopDepartId})
      select * from sys_user where del_flag = 0 and id in (select user_id from eam_base_factory_user where factory_id = #{baseFactoryId})
      <if test="username!=null and username!=''">
         and username = #{username}
      </if>