From eb6733b112d1c6ca85faace02ebda6ae073b5721 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期二, 16 七月 2024 14:47:32 +0800 Subject: [PATCH] fix some error: method save ex and generator id for station --- pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/WorkOrderSv.java | 5 +++-- 1 files changed, 3 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 c995cd0..bd51d42 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 @@ -15,6 +15,7 @@ import com.dy.pmsGlobal.pojoPr.PrProductionNode; import com.dy.pmsGlobal.pojoSta.StaAssemblyWorkHistory; import com.dy.pmsGlobal.pojoSta.StaAssemblyWorkLast; +import com.dy.pmsGlobal.util.QrCodeConstant; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; @@ -220,7 +221,7 @@ if (product != null) { result.setProId(product.getId()); result.setProName(product.getName()); - String devicePrefix = "110" + product.getCode() + assyPlan.getBatchNo(); + String devicePrefix = QrCodeConstant.TypeProduct + product.getCode() + assyPlan.getBatchNo(); result.setDevicePrefix(devicePrefix); } } @@ -308,7 +309,7 @@ } result.setProId(product.getId()); result.setProName(product.getName()); - String devicePrefix = "110" + product.getCode() + assyPlan.getBatchNo(); + String devicePrefix = QrCodeConstant.TypeProduct + product.getCode() + assyPlan.getBatchNo(); result.setDevicePrefix(devicePrefix); return result; } -- Gitblit v1.8.0