From ff4660980ccfe3e123df8d5fa820266784625c74 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期二, 14 十月 2025 20:39:27 +0800
Subject: [PATCH] 1111

---
 代码管理/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/MedicineGoodsServices.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/MedicineGoodsServices.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/MedicineGoodsServices.cs"
index 0519bb0..deeb0e9 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/MedicineGoodsServices.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/MedicineGoodsServices.cs"
@@ -100,7 +100,7 @@
                     ModifyDate = Medicat.modify_date
                 }).ToList();
                 // 涓�娆℃�ф壒閲忔彃鍏ユ暟鎹簱
-                Db.Insertable(entityList).ExecuteCommand();
+                BaseDal.Db.Insertable(entityList).ExecuteCommand();
 
                 ProductSynchronous();
                 return responseContent.OK("鍚屾鎴愬姛");
@@ -168,7 +168,7 @@
                     if (resp!=null&&resp.code=="0")
                     {
                         //鏇存柊鑽搧鐘舵��-宸插畬鎴�
-                      Db.Updateable<Dt_MedicineGoods>()
+                        BaseDal.Db.Updateable<Dt_MedicineGoods>()
                             .SetColumns(x => x.GoodStatus == "涓嬪彂瀹屾垚")
                             .Where(x => x.Goods_no == item.Goods_no)
                             .ExecuteCommand();  
@@ -185,6 +185,7 @@
             }
             catch (Exception ex)
             {
+                Console.WriteLine("ProductSynchronous 寮傚父锛�" + ex.Message);
                 return new WebResponseContent { Status = false, Message = ex.Message };
             }
 

--
Gitblit v1.9.3