From a770206c91e495b802b3e9371e06834586ad7715 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 30 十月 2025 20:17:30 +0800
Subject: [PATCH] 1

---
 新建文件夹/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs"
index 90251da..6611878 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs"
@@ -54,7 +54,7 @@
 
                 if (response.resultCode != "0")
                 {
-                    SendErrorToUpstream(8, "", response.resultMsg ?? "涓婃父鎺ュ彛杩斿洖澶辫触", "");
+                    //SendErrorToUpstream(8, "", response.resultMsg ?? "涓婃父鎺ュ彛杩斿洖澶辫触", "");
                     return responseContent.Error(response.resultMsg ?? "涓婃父鎺ュ彛杩斿洖澶辫触");
                 }
 
@@ -82,7 +82,7 @@
             catch (Exception ex)
             {
                 Db.Ado.RollbackTran();
-                SendErrorToUpstream(8, "", ex.Message, "");
+                //SendErrorToUpstream(8, "", ex.Message, "");
                 return responseContent.Error("鍚屾澶辫触: " + ex.Message);
             }
         }
@@ -229,7 +229,7 @@
                                             ProductionDate = detail.finishDate.ToString("yyyy-MM-dd"),
                                             ShelfLife = 0,
                                             ValidityPeriod = cabinOrderDetail.Exp_date,
-                                            Remark = "WCS鍥炰紶鍒涘缓"
+                                            Remark = "鏅鸿兘绔嬪簱"
                                         };
                                         BaseDal.Db.Insertable(inventoryInfo).ExecuteCommand();
                                     }
@@ -263,7 +263,7 @@
                                                 ERPStockQuantity = 0,
                                                 Status = false,
                                                 ProductionDate = detail.finishDate.ToString("yyyy-MM-dd"),
-                                                ValidityPeriod = inventoryInfo.ValidityPeriod,
+                                                ValidityPeriod = inventoryInfo.ValidityPeriod.ObjToDate(),
                                                 Remark = "鑷姩鍒涘缓"
                                             };
                                             BaseDal.Db.Insertable(inventory_Batch).ExecuteCommand();

--
Gitblit v1.9.3