|
|
@@ -156,13 +156,21 @@ public interface QwUserMapper extends BaseMapper<QwUser>
|
|
|
" <if test=\"nickName != null and nickName != ''\"> and cu.nick_name like concat( #{nickName}, '%') </if>\n" +
|
|
|
" <if test=\"qwUserName != null and qwUserName != ''\"> and qu.qw_user_name like concat('%', #{qwUserName}, '%') </if> " +
|
|
|
" <if test=\"corpId != null \"> and qu.corp_id = #{corpId}</if>\n" +
|
|
|
+ " <if test=\"companyUserId != null \"> and qu.company_user_id = #{companyUserId}</if>\n" +
|
|
|
" <if test=\"companyId != null \"> and qu.company_id = #{companyId}</if>\n " +
|
|
|
+ " <if test=\"isDel != null \"> and qu.is_del = #{isDel}</if>\n "+
|
|
|
" <if test=\"cuDeptIdList != null and !cuDeptIdList.isEmpty() and userType != '00' \">" +
|
|
|
" AND cu.dept_id IN " +
|
|
|
" <foreach collection='cuDeptIdList' item='item' open='(' separator=',' close=')'> " +
|
|
|
" #{item} " +
|
|
|
" </foreach> " +
|
|
|
" </if>" +
|
|
|
+ " <if test=\"qwDeptIdList != null and !qwDeptIdList.isEmpty() \">" +
|
|
|
+ " AND qd.dept_id IN " +
|
|
|
+ " <foreach collection='qwDeptIdList' item='item' open='(' separator=',' close=')'> " +
|
|
|
+ " #{item} " +
|
|
|
+ " </foreach> " +
|
|
|
+ " </if>" +
|
|
|
"ORDER BY qu.login_status asc,qu.tool_status desc " +
|
|
|
"</script>"})
|
|
|
List<QwUserVO> selectQwUserListStaffVO(QwUserListParam qwUser);
|