From 9719a7f0ccbb70e4e51a93cbe1733d1424c16f6d Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期五, 06 十二月 2024 12:03:56 +0800
Subject: [PATCH] 优化Api数据库缓存模块,增加MES岗位缓存跟不良代码缓存

---
 Tiger.Business.WMS/Transaction/OtherInLocationChecking.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Tiger.Business.WMS/Transaction/OtherInLocationChecking.cs b/Tiger.Business.WMS/Transaction/OtherInLocationChecking.cs
index 59e285c..3d40296 100644
--- a/Tiger.Business.WMS/Transaction/OtherInLocationChecking.cs
+++ b/Tiger.Business.WMS/Transaction/OtherInLocationChecking.cs
@@ -302,7 +302,7 @@
                 //var nWarehouseCodes = nScannedBarcodes.Select(x => x.WarehouseCode).Distinct().ToList();
 
                 //鏂板缓鍏朵粬鍏ュ簱鍗曟嵁澶� OtherInstockHeader
-                Result ruleResult = Biz.CodeRule["OI001"].Generate("OI");  //iWMS.GetBillNoByType("CI");
+                Result ruleResult = Cache.CodeRule["OI001"].Generate("OI");  //iWMS.GetBillNoByType("CI");
                 if (!ruleResult.IsSuccessed)
                 {
                     throw new Exception(ruleResult.ExceptionMsg.Message);

--
Gitblit v1.9.3