From 581110a3dfb2882de66795047dd4a9f248d33176 Mon Sep 17 00:00:00 2001
From: chengsc <Demo@DESKTOP-CPA90BF>
Date: 星期四, 15 八月 2024 13:21:15 +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