bug修改。

This commit is contained in:
Renpc-kilig 2021-05-15 16:18:29 +08:00
parent 54b1e93d64
commit 4f2b5cc649

View File

@ -240,7 +240,7 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
params.put("workTypeId", workTypeId); params.put("workTypeId", workTypeId);
params.put("orgId", orgId); params.put("orgId", orgId);
ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params); ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params);
if(null != examCheckDTO) { if(null == examCheckDTO) {
return false; return false;
}else { }else {
if(0 == examCheckDTO.getCheckStatus() || 3 == examCheckDTO.getCheckStatus()) { if(0 == examCheckDTO.getCheckStatus() || 3 == examCheckDTO.getCheckStatus()) {
@ -256,7 +256,7 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
params.put("workTypeId", workTypeId); params.put("workTypeId", workTypeId);
params.put("orgId", orgId); params.put("orgId", orgId);
ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params); ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params);
if(null != examCheckDTO) { if(null == examCheckDTO) {
return true; return true;
}else { }else {
if(0 == examCheckDTO.getCheckStatus() || 3 == examCheckDTO.getCheckStatus()) { if(0 == examCheckDTO.getCheckStatus() || 3 == examCheckDTO.getCheckStatus()) {