zhangherong
2025-06-27 caf455ecaf600e2cb62d69db1b72031d89b97f1b
src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml
@@ -228,4 +228,12 @@
         #{name}
      </foreach>
   </select>
   <!-- 根据班组Id查询 -->
   <select id="getUserByGroupId" resultType="org.jeecg.modules.system.entity.SysUser">
      select * from sys_user where del_flag = 0 and id in (select user_id from base_user_group where group_id=#{groupId})
      <if test="username!=null and username!=''">
         and username = #{username}
      </if>
   </select>
</mapper>