受众检查人员时,增加了是否删除检查

This commit is contained in:
daihh
2023-02-20 17:51:39 +08:00
parent 30abcbaa33
commit ad32f26786
3 changed files with 6 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ public class ExamPaperApi extends ApiBaseController {
PageList<ExamPaper> pageList = examPaperService.queryList(pager.getPageIndex(),pager.getPageSize(),examPaperDto);
return success(pageList);
}
/**
* 添加
* */

View File

@@ -298,7 +298,7 @@ public class UserGroupApi extends ApiBaseController {
UserImportDto dto=userImportDtos.get(un);
// System.out.println(dto.getIsSuccess()+"错误情况");
if(dto!=null && !dto.getIsSuccess() && StringUtils.isBlank(dto.getException())) {
dto.setException("工号找不到");
dto.setException("工号找不到或用户已经删除");
}
}
}

View File

@@ -87,7 +87,10 @@ public class UserServiceImpl implements IUserService {
@Override
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