| | |
| | | #{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> |
| | | |
| | | <!-- 根据产线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> |