|
@@ -114,10 +114,17 @@ public class UserLogic {
|
|
|
*/
|
|
|
public IPage<UserVO> page2(WorkerParamBean userZfireParamBean) {
|
|
|
AdminUserCom adminUser = commonLogic.getAdminUser();
|
|
|
+ Boolean isWait = false;
|
|
|
+ if (CollectionUtils.isNotEmpty(userZfireParamBean.getParams())) {
|
|
|
+ final long count = userZfireParamBean.getParams().stream()
|
|
|
+ .filter(v -> v.getParam().equals("b.examine_status") && v.getValue().equals(ExamineStatusEnum.WAIT.getKey()))
|
|
|
+ .count();
|
|
|
+ isWait = count > 0;
|
|
|
+ }
|
|
|
|
|
|
ZfireParamBean zfireParamBean = FieldUtils.supplyParam(userZfireParamBean, UserVO.class, adminUser);
|
|
|
|
|
|
- IPage<UserVO> userVOIPage = commonMapper.userList(new Page(userZfireParamBean.getPageNum(), userZfireParamBean.getPageSize()), userZfireParamBean, null);
|
|
|
+ IPage<UserVO> userVOIPage = commonMapper.userList(new Page(userZfireParamBean.getPageNum(), userZfireParamBean.getPageSize()), userZfireParamBean, null, isWait);
|
|
|
return userVOIPage;
|
|
|
}
|
|
|
|