新火炬后端单体项目初始化代码
zhangherong
4 天以前 900f3f355b01de53475475799c3d9c06a8d48105
src/main/java/org/jeecg/modules/andon/controller/AndonOrderController.java
@@ -83,6 +83,8 @@
            String productionLineId = andonResponseConfigService.getProductionLineIdByButtonId(andonOrder.getButtonId());
            if (productionLineId != null) {
                andonOrder.setFactoryId(productionLineId);
            }else{
             return Result.error("未找到对应的产线ID,请先进行安灯响应配置!");
            }
        }
        andonOrderService.save(andonOrder);