diff --git a/src/main/java/cn/com/tenlion/service/examcheck/impl/ExamCheckServiceImpl.java b/src/main/java/cn/com/tenlion/service/examcheck/impl/ExamCheckServiceImpl.java index 280e741..6b167ef 100644 --- a/src/main/java/cn/com/tenlion/service/examcheck/impl/ExamCheckServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/examcheck/impl/ExamCheckServiceImpl.java @@ -240,7 +240,7 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe params.put("workTypeId", workTypeId); params.put("orgId", orgId); ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params); - if(null != examCheckDTO) { + if(null == examCheckDTO) { return false; }else { if(0 == examCheckDTO.getCheckStatus() || 3 == examCheckDTO.getCheckStatus()) { @@ -256,7 +256,7 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe params.put("workTypeId", workTypeId); params.put("orgId", orgId); ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params); - if(null != examCheckDTO) { + if(null == examCheckDTO) { return true; }else { if(0 == examCheckDTO.getCheckStatus() || 3 == examCheckDTO.getCheckStatus()) {