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 |   30 +++++++++++++++++++++++++-----
 1 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/CY_ECommercePlatform/AbstractFactory/Factory.cs b/CY_ECommercePlatform/AbstractFactory/Factory.cs
index 12634b9..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
             {
@@ -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,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
@@ -350,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");
@@ -746,7 +750,7 @@
         /// </summary>
         IOA_WorkPlanDAL = 100,
         /// <summary>
-        /// 杞﹁締骞村璁板綍鏁版嵁璁块棶鎺ュ彛
+        /// 杞﹁締骞存璁板綍鏁版嵁璁块棶鎺ュ彛
         /// </summary>
         IOA_CarExaminedDAL = 101,
         /// <summary>
@@ -757,6 +761,10 @@
         /// 杞﹁締淇濆吇璁板綍鏁版嵁璁块棶鎺ュ彛
         /// </summary>
         IOA_CarMaintenanceDAL = 103,
+        /// <summary>
+        /// 杞﹁締缁翠慨璁板綍鏁版嵁璁块棶鎺ュ彛
+        /// </summary>
+        IOA_CarrepairDAL = 666,
         /// <summary>
         /// 杞﹁締绠$悊鏁版嵁璁块棶鎺ュ彛
         /// </summary>
@@ -865,6 +873,16 @@
         /// 寮�绁ㄧ敵璇�
         /// </summary>
         IOA_KipiaoshenqingDAL = 1131,
+
+        /// <summary>
+        /// 璁″垝璁㈠崟
+        /// </summary>
+        ICoreCmsPlanOrderDAL = 1231,
+
+        /// <summary>
+        /// 璁″垝璁㈠崟鏄庣粏
+        /// </summary>
+        ICoreCmsPlanOrderItemDAL = 1331,
         /// <summary>
         /// 棰勮鏀舵鏃堕棿
         /// </summary>
@@ -1098,6 +1116,8 @@
 
         IPaperTypeDAL = 262,
 
+        IWorkBookTypeDAL = 500,
+
         IStickyHandBagCostDAL = 263,
 
         IStickEnvelopeCostDAL = 264,

--
Gitblit v1.9.1