From f47da9571d16108fcab2bf6d55279a08ce2e7cbf Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 15 十一月 2024 14:29:14 +0800
Subject: [PATCH] 计划订单相关功能

---
 CY_ECommercePlatform/AbstractFactory/Factory.cs |   38 +++++++++++++++++++++++++++++++++-----
 1 files changed, 33 insertions(+), 5 deletions(-)

diff --git a/CY_ECommercePlatform/AbstractFactory/Factory.cs b/CY_ECommercePlatform/AbstractFactory/Factory.cs
index 2d6fb2e..c25303e 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");
@@ -228,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");
@@ -255,6 +259,8 @@
             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.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
@@ -347,6 +353,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 +648,11 @@
         /// 鍔炲叕绯荤粺鍚堜綔瀹㈡埛-鏁版嵁搴撴搷浣滄帴鍙�
         /// </summary>
         IOA_CorporateClientsDAL = 76,
+
+        /// <summary>
+        /// 鍔炲叕绯荤粺鍚堜綔瀹㈡埛鍚堝悓闄勪欢-鏁版嵁搴撴搷浣滄帴鍙� 寤栨柊澧炲姞
+        /// </summary>
+        IOA_CorporateClientsContractDAL = 1176,
         /// <summary>
         /// 鍔炲叕绯荤粺鎰忓悜瀹㈡埛璁块棶璁板綍-鏁版嵁搴撴搷浣滄帴鍙�
         /// </summary>
@@ -738,7 +750,7 @@
         /// </summary>
         IOA_WorkPlanDAL = 100,
         /// <summary>
-        /// 杞﹁締骞村璁板綍鏁版嵁璁块棶鎺ュ彛
+        /// 杞﹁締骞存璁板綍鏁版嵁璁块棶鎺ュ彛
         /// </summary>
         IOA_CarExaminedDAL = 101,
         /// <summary>
@@ -749,6 +761,10 @@
         /// 杞﹁締淇濆吇璁板綍鏁版嵁璁块棶鎺ュ彛
         /// </summary>
         IOA_CarMaintenanceDAL = 103,
+        /// <summary>
+        /// 杞﹁締缁翠慨璁板綍鏁版嵁璁块棶鎺ュ彛
+        /// </summary>
+        IOA_CarrepairDAL = 666,
         /// <summary>
         /// 杞﹁締绠$悊鏁版嵁璁块棶鎺ュ彛
         /// </summary>
@@ -857,6 +873,16 @@
         /// 寮�绁ㄧ敵璇�
         /// </summary>
         IOA_KipiaoshenqingDAL = 1131,
+
+        /// <summary>
+        /// 璁″垝璁㈠崟
+        /// </summary>
+        ICoreCmsPlanOrderDAL = 1231,
+
+        /// <summary>
+        /// 璁″垝璁㈠崟鏄庣粏
+        /// </summary>
+        ICoreCmsPlanOrderItemDAL = 1331,
         /// <summary>
         /// 棰勮鏀舵鏃堕棿
         /// </summary>
@@ -1090,6 +1116,8 @@
 
         IPaperTypeDAL = 262,
 
+        IWorkBookTypeDAL = 500,
+
         IStickyHandBagCostDAL = 263,
 
         IStickEnvelopeCostDAL = 264,

--
Gitblit v1.9.1