fix(征求意见流程): 79949
This commit is contained in:
+2
-2
@@ -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 +"已在标准法规变更流程进行中,不可删除!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user