|
@@ -735,7 +735,7 @@ public class ApsReportRecordsServiceImpl extends ServiceImpl<ApsReportRecordsDao
|
|
|
List<ApsWorkInProgressInventoryDo> apsWorkInProgressInventoryDos = apsWorkInProgressInventoryService.list(new QueryWrapper<ApsWorkInProgressInventoryDo>().lambda().eq(ApsWorkInProgressInventoryDo::getDeleted, "0").in(ApsWorkInProgressInventoryDo::getBatchnumber, numbers));
|
|
|
if (ObjectUtil.isNotEmpty(apsWorkInProgressInventoryDos)) {
|
|
|
List<String> batchNumbers = apsWorkInProgressInventoryDos.stream().map(ApsWorkInProgressInventoryDo::getBatchnumber).distinct().collect(Collectors.toList());
|
|
|
- return R.error("该坯料批次号:{} 已经存在", String.join(",", batchNumbers));
|
|
|
+ return R.error("该坯料批次号:" + String.join(",", batchNumbers) + " 已经存在");
|
|
|
}
|
|
|
}
|
|
|
|