From 1e8e849c1cbd576dde8dc01efc63f80cf602e2eb Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期六, 06 七月 2024 10:00:00 +0800 Subject: [PATCH] station name can not have the same name --- pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/WorkOrderSv.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/WorkOrderSv.java b/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/WorkOrderSv.java index 30ce98d..6ed248b 100644 --- a/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/WorkOrderSv.java +++ b/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/WorkOrderSv.java @@ -208,6 +208,7 @@ //鎵惧埌瀵瑰簲鐨勪骇鍝佷俊鎭� PltProduct product = productDao.selectByPrimaryKey(assyPlan.getProId()); if (product != null) { + result.setProId(product.getId()); result.setProName(product.getName()); String devicePrefix = "110" + product.getCode() + assyPlan.getBatchNo(); result.setDevicePrefix(devicePrefix); @@ -295,6 +296,7 @@ if (product == null) { throw new RuntimeException("浜у搧淇℃伅鏈夎鎴栬鍏朵粬浜哄憳淇敼,璇风櫥褰曠鐞嗙郴缁熸煡鐪嬩换鍔″叧鑱斾骇鍝両D涓�:" + assyPlan.getProId()); } + result.setProId(product.getId()); result.setProName(product.getName()); String devicePrefix = "110" + product.getCode() + assyPlan.getBatchNo(); result.setDevicePrefix(devicePrefix); @@ -417,6 +419,4 @@ List<BaUser> assistantList = baUserDao.selectByAssistants(workLast.getAssistants()); return assistantList; } - - } \ No newline at end of file -- Gitblit v1.8.0