指定目标逻辑修改
This commit is contained in:
parent
e8c604b22a
commit
5948f4eee5
@ -826,20 +826,10 @@ public class ResultRecordController extends AbstractController {
|
||||
boolean isSetKeyResult = false;
|
||||
List<FlowRecord> 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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user