From 272ea6040258a7adfc807123036378915860fb90 Mon Sep 17 00:00:00 2001
From: zongzhibin <zongzhibin@weben-smart.com>
Date: 周日, 24 11月 2024 14:23:31 +0800
Subject: [PATCH] add

---
 CC/iWareUnitTest/Task_UnitTest.cs |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/CC/iWareUnitTest/Task_UnitTest.cs b/CC/iWareUnitTest/Task_UnitTest.cs
index 6e90b46..6b589be 100644
--- a/CC/iWareUnitTest/Task_UnitTest.cs
+++ b/CC/iWareUnitTest/Task_UnitTest.cs
@@ -6,6 +6,8 @@
 using iWareModel;
 using iWareCC.Common.Helper;
 using iWareSql.DBModel;
+using iWareSql.WmsDBModel;
+using System.Linq;
 
 namespace iWareUnitTest
 {
@@ -17,9 +19,11 @@
         public void Test()
         {
             var errMsg = "";
-            using (DbModel context = new DbModel())
+            using (WmsDBModel context = new WmsDBModel())
             {
-                var srmStore = MyExtendHelper.FindStoreForEmptySalverTo1014(context, ref errMsg);
+                var obj = context.mes_batchOrderUPI_new.Where(x => x.UPI == "LS101000901100090000").FirstOrDefault();
+
+                var place = StationHandlerV2.FindBestEmptyPlace(context, obj);
             }
 
         }
@@ -27,7 +31,7 @@
         [TestMethod]
         public void TestAddInStoreTask()
         {
-            SysUser user = new SysUser();
+           
             AddMainTaskPostParam param = new AddMainTaskPostParam();
             param.CargoNo = "鎴戞槸璐х墿鍙峰晩2swfsaf";
             param.SalverCode = "鎴戞槸鎵樼洏鍙峰晩2swfsaf";

--
Gitblit v1.9.3