|
@@ -264,6 +264,12 @@ public class ProcinstServiceImpl implements ProcinstService {
|
|
|
throw new Exception("参数错误");
|
|
|
}
|
|
|
ProcinstActivity procinstActivity = procinstActivityService.findProcinstIdAndStatus(procinst.getId(),"1");
|
|
|
+
|
|
|
+ if (!"0".equals(procinstActivity.getStatus())){
|
|
|
+ throw new Exception("已处理不可撤销");
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
if (procinstActivity != null){
|
|
|
procinstActivity.setStatus("0");
|
|
|
procinstActivityService.update(procinstActivity);
|
|
@@ -323,9 +329,5 @@ public class ProcinstServiceImpl implements ProcinstService {
|
|
|
customerDiningRecordService.update(customerDiningRecord);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
}
|