From 006c12987d7dc7c2081fbf6715ebea98b93fdca0 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期日, 08 十二月 2024 17:04:32 +0800
Subject: [PATCH] 增加工单批次缓存,不良代码缓存,岗位缓存

---
 Tiger.Business.MES/WorkAction/Assembly.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Tiger.Business.MES/WorkAction/Assembly.cs b/Tiger.Business.MES/WorkAction/Assembly.cs
index 7173fd3..b3eab36 100644
--- a/Tiger.Business.MES/WorkAction/Assembly.cs
+++ b/Tiger.Business.MES/WorkAction/Assembly.cs
@@ -158,9 +158,9 @@
                     //鏍规嵁鏉$爜瑙勫垯楠岃瘉涓婃枡鏄惁姝g‘
                     if (!item.RuleCode.IsNullOrEmpty())
                     {
-                        if (!Biz.CodeRule[item.RuleCode].IsNullOrEmpty())
+                        if (!Cache.CodeRule[item.RuleCode].IsNullOrEmpty())
                         {
-                            var result = Biz.CodeRule[item.RuleCode].Verify(input.SN);
+                            var result = Cache.CodeRule[item.RuleCode].Verify(input.SN);
                             if (!result.IsSuccessed)
                             {
                                 isOK = false;
@@ -186,9 +186,9 @@
                         {
                             if (!subItem.RULE_CODE.IsNullOrEmpty())
                             {
-                                if (!Biz.CodeRule[subItem.RULE_CODE].IsNullOrEmpty())
+                                if (!Cache.CodeRule[subItem.RULE_CODE].IsNullOrEmpty())
                                 {
-                                    var result = Biz.CodeRule[item.RuleCode].Verify(input.SN);
+                                    var result = Cache.CodeRule[item.RuleCode].Verify(input.SN);
                                     //鍙鏈変竴涓浛浠f枡閫氳繃楠岃瘉鍒欏彲浠ヤ笂鏂�
                                     if (result.IsSuccessed)
                                     {

--
Gitblit v1.9.3