Browse Source

工单无物料清单,不允许入库

master
han\hanst 5 days ago
parent
commit
43f5c8c739
  1. 2
      src/main/java/com/gaotao/modules/production/service/impl/ProductionInboundServiceImpl.java

2
src/main/java/com/gaotao/modules/production/service/impl/ProductionInboundServiceImpl.java

@ -976,7 +976,7 @@ public class ProductionInboundServiceImpl implements ProductionInboundService {
if (materialList == null || materialList.isEmpty()) { if (materialList == null || materialList.isEmpty()) {
log.info("工单无物料清单,允许入库"); log.info("工单无物料清单,允许入库");
return;
throw new XJException("工单无物料清单,不允许入库");
} }
log.info("获取到物料清单,共 {} 行", materialList.size()); log.info("获取到物料清单,共 {} 行", materialList.size());

Loading…
Cancel
Save