From 555fde94d2044e6be823ba2ec822a8a3b5c3f964 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 30 九月 2024 16:44:07 +0800
Subject: [PATCH] 黑白印件,胶左打印修改
---
CY_ECommercePlatform/AbstractFactory/Factory.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/CY_ECommercePlatform/AbstractFactory/Factory.cs b/CY_ECommercePlatform/AbstractFactory/Factory.cs
index 12634b9..b5188af 100644
--- a/CY_ECommercePlatform/AbstractFactory/Factory.cs
+++ b/CY_ECommercePlatform/AbstractFactory/Factory.cs
@@ -110,16 +110,16 @@
if (DALInterface.None == dalInterface || 0 == dalInterface)
return null;//浼犲叆鍊间负鏃犳晥鍊兼椂鐩存帴鏀惧洖绌�
- string cashKey = dalInterface.ToString();//鑾峰彇缂撳瓨閿�
- object dal = CACHE.RetrieveObject(cashKey);//浠庣紦瀛樿幏鍙栬闂璞�
-
+ //string cashKey = dalInterface.ToString();//鑾峰彇缂撳瓨閿�
+ //object dal = CACHE.RetrieveObject(cashKey);//浠庣紦瀛樿幏鍙栬闂璞�
+ object dal = null;
if (null == dal && null != OBJECT_PATH && OBJECT_PATH.ContainsKey(dalInterface))//娌℃湁琚紦瀛樹笖鏈夊璇ユ帴鍙h繘琛岄厤缃�
{
string path = string.Format("{0}.{1}", GetDALPath(), OBJECT_PATH[dalInterface]);
Assembly abl = GetDALAssembly();
dal = abl.CreateInstance(path);
- CACHE.AddObject(cashKey, dal);
+ //CACHE.AddObject(cashKey, dal);
}
else
{
--
Gitblit v1.9.1