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))//没有被缓存且有对该接口进行配置
            {
                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
            {