From f6fe949db75c0879ca506eadce6976eb94492d09 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期六, 24 五月 2025 15:39:42 +0800
Subject: [PATCH] 1.出库作业未判断小于零的作业(完成) 2.入出为历史添加库位号,托盘码显示(完成) 3.确认出为完成后,是否清空托盘码(完成) 4.库位主档托盘码未显示(完成)

---
 rsf-server/src/main/java/com/vincent/rsf/server/system/utils/SerialRuleUtils.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/system/utils/SerialRuleUtils.java b/rsf-server/src/main/java/com/vincent/rsf/server/system/utils/SerialRuleUtils.java
index 4e67c2f..d7b494e 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/system/utils/SerialRuleUtils.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/system/utils/SerialRuleUtils.java
@@ -64,9 +64,9 @@
                 if (serialRule.getReset().equals(SerialRuleReset.SERIAL_REST_TYPE_YEAR.type)) {
                      format = DateUtils.format(new Date(), "yyyy");
                 } else if (serialRule.getReset().equals(SerialRuleReset.SERIAL_REST_TYPE_MONTH.type)) {
-                     format = DateUtils.format(new Date(), "yyyyMM");
+                     format = DateUtils.format(new Date(), "yyMM");
                 } else if (serialRule.getReset().equals(SerialRuleReset.SERIAL_REST_TYPE_DAYS.type)){
-                     format = DateUtils.format(new Date(), "yyyyMMdd");
+                     format = DateUtils.format(new Date(), "yyMMdd");
                 }
                 //褰撳墠鍊艰嚜鍔ㄥ姞1
                 Integer curVal = serialRule.getCurrValue() + 1;

--
Gitblit v1.9.1