fix(88081): 标准主计划-导入通知 没走完的流程编号也回显在交付物了

This commit is contained in:
yjz
2024-08-06 13:46:24 +08:00
parent 678ceb30aa
commit 61ff077ce4
@@ -223,6 +223,7 @@ public class LawsStandardMasterPlanServiceImpl
.map(ProcessNewStandardImport::getProcessInstanceId).collect(Collectors.toList());
List<ProcessAll> processAllList = processAllService.list(new LambdaQueryWrapper<ProcessAll>()
.in(ProcessAll::getProcessInstanceId, processInstanceIdList)
.eq(ProcessAll::getPrcStatus, ProcessStatusEnum.COMPLETED.getValue())
.orderByAsc(ProcessAll::getEndTime));
if (CollectionUtils.isNotEmpty(processAllList)){
ProcessAll processAll = processAllList.get(0);
@@ -495,6 +496,7 @@ public class LawsStandardMasterPlanServiceImpl
.map(ProcessNewStandardImport::getProcessInstanceId).collect(Collectors.toList());
List<ProcessAll> processAllList = processAllService.list(new LambdaQueryWrapper<ProcessAll>()
.in(ProcessAll::getProcessInstanceId, processInstanceIdList)
.eq(ProcessAll::getPrcStatus, ProcessStatusEnum.COMPLETED.getValue())
.orderByAsc(ProcessAll::getEndTime));
if (CollectionUtils.isNotEmpty(processAllList)){
ProcessAll processAll = processAllList.get(0);