From 3d3598eea1b93ed7f977d077355ebbcc1270ba38 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期日, 02 十一月 2025 12:17:33 +0800
Subject: [PATCH] 优化
---
代码管理/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