From 5948f4eee5987588d62f88ec8ebd3a75c0fc991b Mon Sep 17 00:00:00 2001 From: wulin Date: Fri, 18 Dec 2020 11:22:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E5=AE=9A=E7=9B=AE=E6=A0=87=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/controller/ResultRecordController.java | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/lz/modules/app/controller/ResultRecordController.java b/src/main/java/com/lz/modules/app/controller/ResultRecordController.java index 7fa13674..54aa8125 100644 --- a/src/main/java/com/lz/modules/app/controller/ResultRecordController.java +++ b/src/main/java/com/lz/modules/app/controller/ResultRecordController.java @@ -826,20 +826,10 @@ public class ResultRecordController extends AbstractController { boolean isSetKeyResult = false; List flowRecords = flowRecordService.selectFlowRecordByRecordIdStatus(dto.getId(), 2); if(flowRecords.size() > 0){ - if(dto.getSave() != null && dto.getSave().intValue() ==1){ - if(flowRecords.get(0).getFlowProcess().intValue() < 1){//因为先提交流程在保存,所以这里写了小于2 - //指定目标中 - log.info("暂存制定目标中"); - isSetKeyResult = true; - } - }else{ - if(flowRecords.get(0).getFlowProcess().intValue() < 2){//因为先提交流程在保存,所以这里写了小于2 - //指定目标中 - log.info("制定目标中"); - isSetKeyResult = true; - } + if(flowRecords.get(0).getFlowProcess().intValue() < 1){ + log.info("制定目标中"); + isSetKeyResult = true; } - }