From 131347ad63bb534b5abb6dbc979f0a47d780d8ff Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期三, 15 一月 2025 15:06:05 +0800 Subject: [PATCH] · --- Wms/WMS.BLL/SysServer/PalletsServer.cs | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/Wms/WMS.BLL/SysServer/PalletsServer.cs b/Wms/WMS.BLL/SysServer/PalletsServer.cs index 8a7c445..7905c29 100644 --- a/Wms/WMS.BLL/SysServer/PalletsServer.cs +++ b/Wms/WMS.BLL/SysServer/PalletsServer.cs @@ -125,8 +125,17 @@ var str = pallNo.Substring(3, 5); string remove = pallNo.Substring(0, 3); - int sibelius = Convert.ToInt16(str); + int sibelius = 0; var num = 0; + if (remove != "T" + DateTime.Now.ToString("yy")) + { + remove = "T" + DateTime.Now.ToString("yy"); + sibelius = 0; + } + else + { + sibelius = Convert.ToInt16(str); + } for (int i = 0; i < groupCount; i++) { sibelius += 1; -- Gitblit v1.8.0