fix(征求意见流程): 79949

This commit is contained in:
yjz
2024-02-01 14:48:47 +08:00
parent 41605e66e5
commit d42908c4c3
@@ -209,7 +209,7 @@ public class ProcessFbEntryChangeServiceImpl extends ServiceImpl<ProcessFbEntryC
.in(ProcessAll::getProjectId, list.stream().map(ProcessFbEntryChange::getId).collect(Collectors.toList()))
.eq(ProcessAll::getPrcStatus, ProcessStatusEnum.INCOMPLETE.getValue()));
if (count > 0){
throw new JeroBootException("标准编号已在标准变更流程进行中,不可重复发起!");
throw new JeroBootException("标准编号为:" + map.get(FieldCommon.STANDARD_NUMBER) +"已在标准变更流程进行中,不可重复发起!");
}
}
}
@@ -509,7 +509,7 @@ public class ProcessFbEntryChangeServiceImpl extends ServiceImpl<ProcessFbEntryC
List<String> finalProcessAllProjectIds = processAllProjectIds;
String standardNumbers = list.stream().filter(v -> finalProcessAllProjectIds.contains(v.getId()))
.map(ProcessFbEntryChange::getStandardNumber).distinct().collect(Collectors.joining(","));
throw new JeroBootException("标准编号为" + standardNumbers +"在标准法规变更流程进行中不可删除");
throw new JeroBootException("标准编号为" + standardNumbers +"在标准法规变更流程进行中不可删除");
}
}