fix:缺bom提示
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user