From e52888ec01a11ad8423e30b9505fee9624e88422 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 24 九月 2024 09:01:08 +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