fix:缺bom提示

This commit is contained in:
zhaoyf
2026-11-01 15:02:31 +08:00
parent 9fe6902be5
commit 1b33d8f7a5

View File

@@ -125,7 +125,7 @@ public class DealLLCKBillPmDeamndCallBack implements CallbackStrategy {
.filter(item -> Objects.equals(item.getMaterialCode(), param.getMaterial_code()))
.collect(Collectors.toList());
if (newTargetBomList.isEmpty()){
throw new BadRequestException("BOM表中没有该物料");
throw new BadRequestException("工单" + workOrderCode + "中BOM表中没有物料" + param.getMaterial_code());
}else {
for (WorkOrderBomItem item : newTargetBomList) {
com.alibaba.fastjson.JSONObject entry = new com.alibaba.fastjson.JSONObject();