From e3b98d055308762c55fd77bd79e332a3d2fd5606 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 08 一月 2025 13:39:21 +0800
Subject: [PATCH] 1、中空李赛克对接 订单号必须为10位且首位为0 2、除膜对接查询配方信息sql异常

---
 hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassOutRelationInfoServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassOutRelationInfoServiceImpl.java b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassOutRelationInfoServiceImpl.java
index 21e6b99..5099eb5 100644
--- a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassOutRelationInfoServiceImpl.java
+++ b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassOutRelationInfoServiceImpl.java
@@ -192,7 +192,7 @@
         String randomNumber = "" + (int) (Math.random() * 100000 + 100000);
         details.setBcdStart(randomNumber);
         details.setBatchNo(randomNumber);
-        details.setOrd(relationInfo.getFlowCardId().substring(2, 9) + (int) (Math.random() * 100 + 100));
+        details.setOrd(relationInfo.getFlowCardId().substring(4, 9) + (int) (Math.random() * 1000 + 1000));
         details.setCustNum(order.getCustomerId() + "");
         details.setCustNam("");
         details.setProDate((new SimpleDateFormat("dd/MM/yyyy").format(new Date())));

--
Gitblit v1.8.0