From 22a7922be8d234c04bdf894b48d9f57fe97c857f Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 15 十月 2024 15:55:30 +0800 Subject: [PATCH] 作业本显示修改 --- CY_ECommercePlatform/AbstractFactory/Factory.cs | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CY_ECommercePlatform/AbstractFactory/Factory.cs b/CY_ECommercePlatform/AbstractFactory/Factory.cs index 2d6fb2e..518cf07 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 { @@ -201,6 +201,8 @@ OBJECT_PATH.Add(DALInterface.IOA_CommodityDAL, "OA_CommodityDAL"); OBJECT_PATH.Add(DALInterface.IOA_CommoditySpeciAssociateDAL, "OA_CommoditySpeciAssociateDAL"); OBJECT_PATH.Add(DALInterface.IOA_CorporateClientsDAL, "OA_CorporateClientsDAL"); + //鏂板鍔犲姙鍏郴缁熷悎浣滃鎴风殑鍚堝悓琛� + OBJECT_PATH.Add(DALInterface.IOA_CorporateClientsContractDAL, "OA_SpecificationDAL"); OBJECT_PATH.Add(DALInterface.IOA_CustomerAccessRecordDAL, "OA_CustomerAccessRecordDAL"); OBJECT_PATH.Add(DALInterface.IOA_CustomerCommunicationsDAL, "OA_CustomerCommunicationsDAL"); OBJECT_PATH.Add(DALInterface.IOA_FirmAccountDAL, "OA_FirmAccountDAL"); @@ -215,6 +217,7 @@ OBJECT_PATH.Add(DALInterface.IOA_ProcurementDAL, "OA_ProcurementDAL"); OBJECT_PATH.Add(DALInterface.IOA_RemittanceAdviceDAL, "OA_RemittanceAdviceDAL"); OBJECT_PATH.Add(DALInterface.IOA_SpecificationDAL, "OA_SpecificationDAL"); + OBJECT_PATH.Add(DALInterface.IOA_StaffDAL, "OA_StaffDAL"); OBJECT_PATH.Add(DALInterface.IOA_StaffRoleRelDAL, "OA_StaffRoleRelDAL"); OBJECT_PATH.Add(DALInterface.IOA_SubjectSetDAL, "OA_SubjectSetDAL"); @@ -347,6 +350,7 @@ OBJECT_PATH.Add(DALInterface.IPVCFastCostDAL, "PVCFastCostDAL"); OBJECT_PATH.Add(DALInterface.IPVCAfterCostDAL, "PVCAfterCostDAL"); OBJECT_PATH.Add(DALInterface.IPaperTypeDAL, "PaperTypeDAL"); + OBJECT_PATH.Add(DALInterface.IWorkBookTypeDAL, "WorkBookTypeDAL"); OBJECT_PATH.Add(DALInterface.IStickyHandBagCostDAL, "StickyHandBagCostDAL"); OBJECT_PATH.Add(DALInterface.IStickEnvelopeCostDAL, "StickEnvelopeCostDAL"); OBJECT_PATH.Add(DALInterface.IRopeCostDAL, "RopeCostDAL"); @@ -641,6 +645,11 @@ /// 鍔炲叕绯荤粺鍚堜綔瀹㈡埛-鏁版嵁搴撴搷浣滄帴鍙� /// </summary> IOA_CorporateClientsDAL = 76, + + /// <summary> + /// 鍔炲叕绯荤粺鍚堜綔瀹㈡埛鍚堝悓闄勪欢-鏁版嵁搴撴搷浣滄帴鍙� 寤栨柊澧炲姞 + /// </summary> + IOA_CorporateClientsContractDAL = 1176, /// <summary> /// 鍔炲叕绯荤粺鎰忓悜瀹㈡埛璁块棶璁板綍-鏁版嵁搴撴搷浣滄帴鍙� /// </summary> @@ -1090,6 +1099,8 @@ IPaperTypeDAL = 262, + IWorkBookTypeDAL = 500, + IStickyHandBagCostDAL = 263, IStickEnvelopeCostDAL = 264, -- Gitblit v1.9.1