不通过的点可以被审核为已通过
This commit is contained in:
parent
963483d534
commit
d0b127f34b
@ -313,7 +313,7 @@ public class FirePointServiceImpl implements FirePointService {
|
||||
if (existShanDongFirePoint == null) {
|
||||
return outputEncapsulationObject(PromptMessageEnum.PROCESS_FAIL, "审核失败,没有指定的火点编号", locale);
|
||||
}
|
||||
if ("0".equals(existShanDongFirePoint.getVerifyState())) {
|
||||
if ("0".equals(existShanDongFirePoint.getVerifyState()) || "2".equals(existShanDongFirePoint.getVerifyState())) {
|
||||
if ("0".equals(verifyState)) {
|
||||
return outputEncapsulationObject(PromptMessageEnum.PROCESS_FAIL, "审核失败,审核状态不能被设置为未审核", locale);
|
||||
}
|
||||
@ -334,6 +334,7 @@ public class FirePointServiceImpl implements FirePointService {
|
||||
shanDongFirePointDao.updateVerifyStateByFireCode(fireCode, verifyState);
|
||||
return outputEncapsulationObject(PromptMessageEnum.SUCCESS, "修改成功", locale);
|
||||
}
|
||||
//0或者2可以被审核为1(未审核和未通过可以被审核为通过),已经通过了的就不能再处理了
|
||||
return outputEncapsulationObject(PromptMessageEnum.PROCESS_FAIL, "审核失败,火点不能被重复审核", locale);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user