From 2510c088e097e04dff0e80365431f5e2be1f4888 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 24 三月 2026 13:03:08 +0800
Subject: [PATCH] 司机不查职务,查权限

---
 CY_ECommercePlatform/CY.BLL/EC/EC_OrderBasicBLL.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CY_ECommercePlatform/CY.BLL/EC/EC_OrderBasicBLL.cs b/CY_ECommercePlatform/CY.BLL/EC/EC_OrderBasicBLL.cs
index d29b394..25ac75c 100644
--- a/CY_ECommercePlatform/CY.BLL/EC/EC_OrderBasicBLL.cs
+++ b/CY_ECommercePlatform/CY.BLL/EC/EC_OrderBasicBLL.cs
@@ -298,9 +298,9 @@
         /// </summary>
         /// <param name="orderIds">璁㈠崟缂栧彿</param>
         /// <returns></returns>
-        public IEnumerable<EC_OrderBasic> GetOrderByPrintTypeId(int PrintTypeId)
+        public IEnumerable<EC_OrderBasic> GetOrderByPrintTypeId(int PrintTypeId, Guid MemberId)
         {
-            return _eC_OrderBasicDAL.GetOrderByPrintTypeId(PrintTypeId);
+            return _eC_OrderBasicDAL.GetOrderByPrintTypeId(PrintTypeId, MemberId);
         }
 
         /// <summary>
@@ -825,7 +825,10 @@
                 {
                     Condition += " and (  DATEDIFF(DAY,GETDATE(),ob.[DeliveryTime])<=0 or  DATEDIFF(DAY,GETDATE(),oe.[DelayTime])<=0 )";
                 }
-
+                else if (DeliveryTime == "鏄庡ぉ閫炬湡")
+                {
+                    Condition += " and (  DATEDIFF(DAY,GETDATE(),ob.[DeliveryTime])<=1 or  DATEDIFF(DAY,GETDATE(),oe.[DelayTime])<=1 )";
+                }
             }
 
             if (!string.IsNullOrEmpty(Province))

--
Gitblit v1.9.1