From ba381be6a5aac58df11e2e7b6b19f012bd9ff5a1 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 04 十二月 2024 10:34:30 +0800 Subject: [PATCH] 开票申请 --- CY_ECommercePlatform/AbstractFactory/Factory.cs | 45 ++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 40 insertions(+), 5 deletions(-) diff --git a/CY_ECommercePlatform/AbstractFactory/Factory.cs b/CY_ECommercePlatform/AbstractFactory/Factory.cs index 12634b9..d430f6e 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 { @@ -231,6 +231,7 @@ OBJECT_PATH.Add(DALInterface.IOA_CarExaminedDAL, "OA_CarExaminedDAL"); OBJECT_PATH.Add(DALInterface.IOA_CarInsuranceDAL, "OA_CarInsuranceDAL"); OBJECT_PATH.Add(DALInterface.IOA_CarMaintenanceDAL, "OA_CarMaintenanceDAL"); + OBJECT_PATH.Add(DALInterface.IOA_CarrepairDAL, "OA_CarrepairDAL"); OBJECT_PATH.Add(DALInterface.IOA_CarManageDAL, "OA_CarManageDAL"); OBJECT_PATH.Add(DALInterface.IOA_CarTransferDAL, "OA_CarTransferDAL"); OBJECT_PATH.Add(DALInterface.IOA_CarViolationDAL, "OA_CarViolationDAL"); @@ -258,6 +259,11 @@ OBJECT_PATH.Add(DALInterface.IOA_WageAwardPunishDAL, "OA_WageAwardPunishDAL"); OBJECT_PATH.Add(DALInterface.IOA_DeliverPlanDAL, "OA_DeliverPlanDAL"); OBJECT_PATH.Add(DALInterface.IOA_KipiaoshenqingDAL, "OA_KipiaoshenqingDAL"); + OBJECT_PATH.Add(DALInterface.IOA_KaipiaonewcuishouDAL, "OA_KaipiaonewcuishouDAL"); + OBJECT_PATH.Add(DALInterface.IOA_KaipiaonewhuikuanDAL, "OA_KaipiaonewhuikuanDAL"); + OBJECT_PATH.Add(DALInterface.IOA_KaipiaonewDAL, "OA_KaipiaonewDAL"); + OBJECT_PATH.Add(DALInterface.ICoreCmsPlanOrderDAL, "CoreCmsPlanOrderDAL"); + OBJECT_PATH.Add(DALInterface.ICoreCmsPlanOrderItemDAL, "CoreCmsPlanOrderItemDAL"); OBJECT_PATH.Add(DALInterface.IOA_YujihuikuanDAL, "OA_YujihuikuanDAL"); OBJECT_PATH.Add(DALInterface.IOA_CuikuanjiluDAL, "OA_CuikuanjiluDAL"); #endregion @@ -350,6 +356,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"); @@ -746,7 +753,7 @@ /// </summary> IOA_WorkPlanDAL = 100, /// <summary> - /// 杞﹁締骞村璁板綍鏁版嵁璁块棶鎺ュ彛 + /// 杞﹁締骞存璁板綍鏁版嵁璁块棶鎺ュ彛 /// </summary> IOA_CarExaminedDAL = 101, /// <summary> @@ -757,6 +764,10 @@ /// 杞﹁締淇濆吇璁板綍鏁版嵁璁块棶鎺ュ彛 /// </summary> IOA_CarMaintenanceDAL = 103, + /// <summary> + /// 杞﹁締缁翠慨璁板綍鏁版嵁璁块棶鎺ュ彛 + /// </summary> + IOA_CarrepairDAL = 666, /// <summary> /// 杞﹁締绠$悊鏁版嵁璁块棶鎺ュ彛 /// </summary> @@ -865,6 +876,28 @@ /// 寮�绁ㄧ敵璇� /// </summary> IOA_KipiaoshenqingDAL = 1131, + /// <summary> + /// 寮�绁ㄧ敵璇� + /// </summary> + IOA_KaipiaonewcuishouDAL = 1931, + /// <summary> + /// 寮�绁ㄧ敵璇� + /// </summary> + IOA_KaipiaonewhuikuanDAL = 1933, + /// <summary> + /// 寮�绁ㄧ敵璇� + /// </summary> + IOA_KaipiaonewDAL = 1932, + + /// <summary> + /// 璁″垝璁㈠崟 + /// </summary> + ICoreCmsPlanOrderDAL = 1231, + + /// <summary> + /// 璁″垝璁㈠崟鏄庣粏 + /// </summary> + ICoreCmsPlanOrderItemDAL = 1331, /// <summary> /// 棰勮鏀舵鏃堕棿 /// </summary> @@ -1098,6 +1131,8 @@ IPaperTypeDAL = 262, + IWorkBookTypeDAL = 500, + IStickyHandBagCostDAL = 263, IStickEnvelopeCostDAL = 264, -- Gitblit v1.9.1