From b38c91e5cce54e1114ec5968c722c1a1c57bd21a Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期五, 21 六月 2024 13:27:00 +0800
Subject: [PATCH] 完成派送订单佣金写入余额逻辑

---
 CoreCms.Net.Web.Admin/Controllers/User/CoreCmsUserController.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/CoreCms.Net.Web.Admin/Controllers/User/CoreCmsUserController.cs b/CoreCms.Net.Web.Admin/Controllers/User/CoreCmsUserController.cs
index 2b8d304..8111423 100644
--- a/CoreCms.Net.Web.Admin/Controllers/User/CoreCmsUserController.cs
+++ b/CoreCms.Net.Web.Admin/Controllers/User/CoreCmsUserController.cs
@@ -174,6 +174,15 @@
             {
                 where = where.And(p => p.grade == grade);
             }
+            //鐢ㄦ埛绛夌骇 int
+            var isBaifenPromotion = Request.Form["isBaifenPromotion"].FirstOrDefault();
+            if (!string.IsNullOrEmpty(isBaifenPromotion))
+            {
+                if(isBaifenPromotion=="1")
+                where = where.And(p => p.IsBaifenPromotion == true);
+                else
+                    where = where.And(p => p.IsBaifenPromotion == false);
+            }
             //鍒涘缓鏃堕棿 datetime
             var createTime = Request.Form["createTime"].FirstOrDefault();
             if (!string.IsNullOrEmpty(createTime))

--
Gitblit v1.9.1