|
|
|
@ -598,7 +598,7 @@ public class MrbReportServiceImpl extends ServiceImpl<MrbReportDao, MrbReportEnt |
|
|
|
List<Map<String, Object>> occupiedList = baseMapper.queryOccupiedInspectionOrderInActiveMrb(checkList, "", ""); |
|
|
|
List<String> conflictTextList = buildOccupiedConflictTextList(occupiedList); |
|
|
|
if (conflictTextList.isEmpty()) { |
|
|
|
throw new XJException("选中检验单已存在于未完成MRB中,不能重复发起"); |
|
|
|
return; |
|
|
|
} |
|
|
|
throw new XJException("以下检验单已存在于未完成MRB中,不能重复发起:" + String.join(";", conflictTextList)); |
|
|
|
} |
|
|
|
|