fix(88081): 标准主计划-导入通知 没走完的流程编号也回显在交付物了
This commit is contained in:
+2
@@ -223,6 +223,7 @@ public class LawsStandardMasterPlanServiceImpl
|
|||||||
.map(ProcessNewStandardImport::getProcessInstanceId).collect(Collectors.toList());
|
.map(ProcessNewStandardImport::getProcessInstanceId).collect(Collectors.toList());
|
||||||
List<ProcessAll> processAllList = processAllService.list(new LambdaQueryWrapper<ProcessAll>()
|
List<ProcessAll> processAllList = processAllService.list(new LambdaQueryWrapper<ProcessAll>()
|
||||||
.in(ProcessAll::getProcessInstanceId, processInstanceIdList)
|
.in(ProcessAll::getProcessInstanceId, processInstanceIdList)
|
||||||
|
.eq(ProcessAll::getPrcStatus, ProcessStatusEnum.COMPLETED.getValue())
|
||||||
.orderByAsc(ProcessAll::getEndTime));
|
.orderByAsc(ProcessAll::getEndTime));
|
||||||
if (CollectionUtils.isNotEmpty(processAllList)){
|
if (CollectionUtils.isNotEmpty(processAllList)){
|
||||||
ProcessAll processAll = processAllList.get(0);
|
ProcessAll processAll = processAllList.get(0);
|
||||||
@@ -495,6 +496,7 @@ public class LawsStandardMasterPlanServiceImpl
|
|||||||
.map(ProcessNewStandardImport::getProcessInstanceId).collect(Collectors.toList());
|
.map(ProcessNewStandardImport::getProcessInstanceId).collect(Collectors.toList());
|
||||||
List<ProcessAll> processAllList = processAllService.list(new LambdaQueryWrapper<ProcessAll>()
|
List<ProcessAll> processAllList = processAllService.list(new LambdaQueryWrapper<ProcessAll>()
|
||||||
.in(ProcessAll::getProcessInstanceId, processInstanceIdList)
|
.in(ProcessAll::getProcessInstanceId, processInstanceIdList)
|
||||||
|
.eq(ProcessAll::getPrcStatus, ProcessStatusEnum.COMPLETED.getValue())
|
||||||
.orderByAsc(ProcessAll::getEndTime));
|
.orderByAsc(ProcessAll::getEndTime));
|
||||||
if (CollectionUtils.isNotEmpty(processAllList)){
|
if (CollectionUtils.isNotEmpty(processAllList)){
|
||||||
ProcessAll processAll = processAllList.get(0);
|
ProcessAll processAll = processAllList.get(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user