From a1e963756360f8bd3938aa560b661d0400165c06 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 16 四月 2026 11:01:43 +0800
Subject: [PATCH] 排版修改

---
 CY_ECommercePlatform/CY.SQLDAL/OA/OA_ShebeiManageDAL.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CY_ECommercePlatform/CY.SQLDAL/OA/OA_ShebeiManageDAL.cs b/CY_ECommercePlatform/CY.SQLDAL/OA/OA_ShebeiManageDAL.cs
index 8af5139..3a0ffdd 100644
--- a/CY_ECommercePlatform/CY.SQLDAL/OA/OA_ShebeiManageDAL.cs
+++ b/CY_ECommercePlatform/CY.SQLDAL/OA/OA_ShebeiManageDAL.cs
@@ -300,7 +300,7 @@
         /// <param name="_CateId"></param>
         /// <param name="IsSearch"></param>
         /// <returns></returns>
-        public IEnumerable<Model.OA_ShebeiManage> GetDataByCate(Guid _MemberId,int? _CateId,bool IsSearch)
+        public IEnumerable<Model.OA_ShebeiManage> GetDataByCate(Guid _MemberId,string _CateId,bool IsSearch, int? Status)
         {
             try
             {
@@ -309,12 +309,15 @@
                 if (_MemberId != Guid.Empty)
                     condition += " and MemberId = '" + _MemberId + "'";
 
-                if (_CateId>0)
-                    condition += " and CateId = '" + _CateId + "'";
+                if (!string.IsNullOrEmpty(_CateId))
+                    condition += " and CateId in ( " + _CateId + ")";
 
                 if (!IsSearch)
                     condition += " and AllNum > ReceiveNum and Status = '1' ";
 
+                if (Status.HasValue && Status > 0)
+                    condition += " and Status = '" + Status + "'";
+
                 return _dataBase.SelectModel<Model.OA_ShebeiManage>(" * ", " OA_ShebeiManage ", condition);
             }
             catch (Exception ex)

--
Gitblit v1.9.1