@ -166,9 +166,8 @@ public class StGlassCakeOutServiceImpl extends BaseServiceImpl<StGlassCakeOutMap
Double quota = glassCake.getQuota();
// 空值校验:核心属性为空则无法匹配库存,直接跳过
if (isPrint == null || powderWeight == null || materialNo == null
|| thickness == null || goodsCode == null) {
System.out.println("玻璃饼[ID:" + glassCake.getId() + ",编码:" + goodsCode + "]核心属性为空,跳过库存匹配");
if (goodsCode == null) {
System.out.println("玻璃饼[工艺ID:" + glassCake.getId() + ",编码:" + goodsCode + "]核心属性为空,跳过库存匹配");
continue;
}