提交关于暂存问题的解决
This commit is contained in:
parent
4a1674ec8a
commit
bf9391b30a
@ -759,11 +759,20 @@ public class ResultRecordController extends AbstractController {
|
||||
boolean isSetKeyResult = false;
|
||||
List<FlowRecord> flowRecords = flowRecordService.selectFlowRecordByRecordIdStatus(dto.getId(), 2);
|
||||
if(flowRecords.size() > 0){
|
||||
if(flowRecords.get(0).getFlowProcess().intValue() < 2){//因为先提交流程在保存,所以这里写了小于2
|
||||
//指定目标中
|
||||
log.info("制定目标中");
|
||||
isSetKeyResult = true;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -42,6 +42,9 @@ public class ResultRecordDetailDto {
|
||||
@ApiModelProperty(value = "任务id", name = "startId")
|
||||
private Long startId;
|
||||
|
||||
@ApiModelProperty(value = "暂存", name = "save")
|
||||
private Integer save;
|
||||
|
||||
|
||||
|
||||
//使用的哪个等级。等级组id,lz_result_grade的group_id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user