From aed0f21b6345d10d94126b63f6bb4b854e0531a1 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期三, 28 一月 2026 09:49:03 +0800
Subject: [PATCH] 1

---
 WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/PalletTypeInfoService.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/PalletTypeInfoService.cs b/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/PalletTypeInfoService.cs
index cdf4bc5..dc46441 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/PalletTypeInfoService.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/PalletTypeInfoService.cs
@@ -61,14 +61,14 @@
 
             if (PrintSetting.Spare1 == DateTime.Now.ToString("yyyyMMdd"))
             {
-                PrintCode = palletCodeType+PrintSetting.PrintNo.ToString().PadLeft(PrintSetting.Spare2, '0')+PrintSetting.Spare1;
+                PrintCode = palletCodeType+PrintSetting.Spare1 + PrintSetting.PrintNo.ToString().PadLeft(PrintSetting.Spare2, '0');
                 PrintSetting.PrintNo = PrintSetting.PrintNo + 1;
             }
             else
             {
                 PrintSetting.Spare1 = DateTime.Now.ToString("yyyyMMdd");
                 PrintSetting.PrintNo = 2;
-                PrintCode = palletCodeType+1.ToString().PadLeft(PrintSetting.Spare2, '0')+PrintSetting.Spare1;
+                PrintCode = palletCodeType+PrintSetting.Spare1 + 1.ToString().PadLeft(PrintSetting.Spare2, '0');
             }
            Db.Updateable(PrintSetting).ExecuteCommand();
             return PrintCode;

--
Gitblit v1.9.3