mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 19:36:50 +08:00
受众检查人员时,增加了是否删除检查
This commit is contained in:
@@ -54,6 +54,7 @@ public class ExamPaperApi extends ApiBaseController {
|
|||||||
PageList<ExamPaper> pageList = examPaperService.queryList(pager.getPageIndex(),pager.getPageSize(),examPaperDto);
|
PageList<ExamPaper> pageList = examPaperService.queryList(pager.getPageIndex(),pager.getPageSize(),examPaperDto);
|
||||||
return success(pageList);
|
return success(pageList);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 添加
|
* 添加
|
||||||
* */
|
* */
|
||||||
|
|||||||
@@ -298,7 +298,7 @@ public class UserGroupApi extends ApiBaseController {
|
|||||||
UserImportDto dto=userImportDtos.get(un);
|
UserImportDto dto=userImportDtos.get(un);
|
||||||
// System.out.println(dto.getIsSuccess()+"错误情况");
|
// System.out.println(dto.getIsSuccess()+"错误情况");
|
||||||
if(dto!=null && !dto.getIsSuccess() && StringUtils.isBlank(dto.getException())) {
|
if(dto!=null && !dto.getIsSuccess() && StringUtils.isBlank(dto.getException())) {
|
||||||
dto.setException("工号找不到");
|
dto.setException("工号找不到或用户已经删除");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -87,7 +87,10 @@ public class UserServiceImpl implements IUserService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<User> getListByUserNos(List<String> userNos) {
|
public List<User> getListByUserNos(List<String> userNos) {
|
||||||
return dao.getListByUserNos(userNos);
|
// return dao.getListByUserNos(userNos);
|
||||||
|
//return dao.findList(FieldFilters.in("userNo", userNos));
|
||||||
|
String hql="Select u from "+User.class.getSimpleName()+" u,"+Account.class.getSimpleName()+" a where u.id=a.id and a.deleted=?1";
|
||||||
|
return dao.findListByHql(hql, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user