|
|
@@ -123,8 +123,6 @@ public class WorkEmployeeServiceImpl extends ServiceImpl<WorkEmployeeMapper, Wor
|
|
|
|
|
|
Integer pagesize = handle.getPagesize();
|
|
|
Integer page = handle.getPage();
|
|
|
- System.out.println(pagesize);
|
|
|
- System.out.println(page);
|
|
|
Page<WorkEmployeeVo> pageObj = new Page<WorkEmployeeVo>(page, pagesize);
|
|
|
Map<String, Object> resMap = new HashMap<String, Object>();
|
|
|
resMap.put("list", null);
|
|
|
@@ -211,43 +209,32 @@ public class WorkEmployeeServiceImpl extends ServiceImpl<WorkEmployeeMapper, Wor
|
|
|
Integer groupId = handle.getGroupId();
|
|
|
String mobile = handle.getMobile();
|
|
|
Integer privateTagId = handle.getPrivateTagId();
|
|
|
-
|
|
|
+ Integer privateFrobbidenStatus = handle.getPrivateForbbidenStatus();
|
|
|
QueryWrapper<WorkEmployeeVo> obj = new QueryWrapper<WorkEmployeeVo>();
|
|
|
-
|
|
|
obj.in("A.corp_id", authCorpIds);
|
|
|
-
|
|
|
if (name != null && !"".equals(name)) {
|
|
|
obj.like("A.name", name);
|
|
|
}
|
|
|
-
|
|
|
if (gender != null) {
|
|
|
obj.eq("A.gender", gender);
|
|
|
}
|
|
|
-
|
|
|
- /*
|
|
|
- if (privateTagId != null) {
|
|
|
- obj.eq("A.private_tag_id", privateTagId);
|
|
|
- }
|
|
|
- */
|
|
|
-
|
|
|
if (groupId != null) {
|
|
|
obj.eq("D.group_id", groupId);
|
|
|
}
|
|
|
-
|
|
|
if (mobile != null && !mobile.isEmpty()) {
|
|
|
obj.eq("A.mobile", mobile);
|
|
|
}
|
|
|
-
|
|
|
if (corp_id != null) {
|
|
|
- obj.eq("a.corp_id", corp_id);
|
|
|
+ obj.eq("A.corp_id", corp_id);
|
|
|
}
|
|
|
-
|
|
|
if (privateTagId != null) {
|
|
|
- obj.eq("a.private_tag_id", privateTagId);
|
|
|
+ obj.eq("A.private_tag_id", privateTagId);
|
|
|
}
|
|
|
-
|
|
|
if (authCorpIds != null || authCorpIds.size() >= 1) {
|
|
|
- obj.in("a.corp_id", authCorpIds);
|
|
|
+ obj.in("A.corp_id", authCorpIds);
|
|
|
+ }
|
|
|
+ if (privateFrobbidenStatus != null){
|
|
|
+ obj.eq("A.private_forbbiden_status",privateFrobbidenStatus);
|
|
|
}
|
|
|
|
|
|
return obj;
|