From e52888ec01a11ad8423e30b9505fee9624e88422 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 24 九月 2024 09:01:08 +0800
Subject: [PATCH] 查询,批量操作优化,排版等修改

---
 CY_ECommercePlatform/CY.SQLDAL/EC/EC_OrderBasicDAL.cs |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/CY_ECommercePlatform/CY.SQLDAL/EC/EC_OrderBasicDAL.cs b/CY_ECommercePlatform/CY.SQLDAL/EC/EC_OrderBasicDAL.cs
index 44bc467..9b35b71 100644
--- a/CY_ECommercePlatform/CY.SQLDAL/EC/EC_OrderBasicDAL.cs
+++ b/CY_ECommercePlatform/CY.SQLDAL/EC/EC_OrderBasicDAL.cs
@@ -37,6 +37,8 @@
 using CY.Model;
 using CY.Infrastructure.Query;
 using System.Transactions;
+using CY.Model.Inquiry;
+using CY.Infrastructure.Common;
 
 namespace CY.SQLDAL
 {
@@ -728,12 +730,26 @@
             }
             if (result != null && result.Count > 0)
             {
+                _eC_OrderPrintParameterDAL = new EC_OrderPrintParameterDAL(_dataBase);
                 foreach (EC_OrderBasic ob in result)
                 {
                     if (IsComplainant(ob.Keyid.Value))
                     {
                         ob.IsComplainant = true;
                     }
+
+                    EC_OrderPrintParameter _eC_OrderPrintParameter = _eC_OrderPrintParameterDAL.GetModel(ob.Keyid.Value);
+                    InquiryCommonModel _inquiryCommonModel = null;
+                    if (null == _eC_OrderPrintParameter)
+                    {
+                        _inquiryCommonModel = new InquiryCommonModel();
+                    }
+                    else
+                    {
+                        _inquiryCommonModel = SerializationHelper.DeSerialize(typeof(InquiryCommonModel), _eC_OrderPrintParameter.PrintParameter) as InquiryCommonModel;
+                    }
+
+                    ob.PrintSizeName = _inquiryCommonModel.PrintSizeName;
                 }
             }
             /*鑾峰彇椤垫暟涓庤繑鍥炴暟鎹潯鏁�*/

--
Gitblit v1.9.1