From d9666ecd3599c458ddd714dafe96f28bfba93cac Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 04 十一月 2025 08:45:40 +0800
Subject: [PATCH] 绩效查询    未完结的客户数量有问题,查找问题

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/ShejiOrderList.aspx.cs |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/ShejiOrderList.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/ShejiOrderList.aspx.cs
index 7bec8c9..a8e586c 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/ShejiOrderList.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/ShejiOrderList.aspx.cs
@@ -124,7 +124,9 @@
                         //ChangeOrderState();
                         break;
                     case "BatchDelete":
-                        CY.WebForm.cs.WebUtil.DeleteData(_eC_OrderBasicBLL.DeleteDataByIds, CurrentUser.ShortName);//璋冪敤閫氱敤鍒犻櫎鏂规硶
+                        string ids = Request["ids"];
+                        var  boolll= _eC_OrderBasicBLL.DeleteDatashejiByIds(  CurrentUser.ShortName, ids.Trim(',').Split(','));//璋冪敤閫氱敤鍒犻櫎鏂规硶
+                        HttpContext.Current.Response.Write(1);
                         break;
                     case "BatchToOver":
                         UpdataState(-1);//璁剧疆鐘舵�佷负瀹屾垚(涓嶈兘鏄�1'鏈彈鐞�'鎴�2'宸插彈鐞�')
@@ -541,12 +543,20 @@
                 PageIndex = UCPager1.AspNetPager.CurrentPageIndex
             };
             IEnumerable<EC_OrderBasic> result = _eC_OrderBasicBLL.SelectModelPageSheji(pagination, CurrentUser.MemberId,this.txtBeginData.Value,this.txtEndDate.Value,this.txtOrderId.Value
-                ,this.selPrintTypes.Value,this.selBusinessManager.Value,this.selShejirenyuan.Value,this.txtBuyerName.Value,this.txtDocumentName.Value,this.selShejiStatus.SelectedValue);
+                ,this.selPrintTypes.Value,this.selBusinessManager.Value,this.selShejirenyuan.Value,this.txtBuyerName.Value,this.txtDocumentName.Value,this.selShejiStatus.SelectedValue,this.selshifoujiesuan.SelectedValue);
             decimal PageAllMoney = 0;
             var ssss = result.Sum(x => x.ShejiSumPrice);
             var ssssaa = result.Sum(x => x.ShejiSumPriceneiye);
             var ssssaaa = result.Sum(x => x.ShejiSumPriceneiye1);
             var ssssaaaa = result.Sum(x => x.ShejiSumPriceneiye2);
+            if(!string.IsNullOrEmpty(this.selShejirenyuan.Value))
+            {
+                 ssss = result.Where(x=>x.Shejirenyuan == this.selShejirenyuan.Value.ToInt32()).Sum(x => x.ShejiSumPrice);
+                 ssssaa = result.Where(x => x.Shejirenyuanneiye == this.selShejirenyuan.Value.ToInt32()).Sum(x => x.ShejiSumPriceneiye);
+                 ssssaaa = result.Where(x => x.Shejirenyuanneiye1 == this.selShejirenyuan.Value.ToInt32()).Sum(x => x.ShejiSumPriceneiye1);
+                 ssssaaaa = result.Where(x => x.Shejirenyuanneiye2 == this.selShejirenyuan.Value.ToInt32()).Sum(x => x.ShejiSumPriceneiye2);
+            }
+
             var sssssssss = ssss.HasValue ? ssss.Value : 0;
             var sssssssssaa = ssssaa.HasValue ? ssssaa.Value : 0;
             var sssssssssaaa = ssssaaa.HasValue ? ssssaaa.Value : 0;
@@ -645,7 +655,7 @@
               
 
                 var  result = _eC_OrderBasicBLL.SelectModelPageSheji(pa, CurrentUser.MemberId, this.txtBeginData.Value, this.txtEndDate.Value, this.txtOrderId.Value
-                , this.selPrintTypes.Value, this.selBusinessManager.Value, this.selShejirenyuan.Value, this.txtBuyerName.Value, this.txtDocumentName.Value, this.selShejiStatus.SelectedValue);
+                , this.selPrintTypes.Value, this.selBusinessManager.Value, this.selShejirenyuan.Value, this.txtBuyerName.Value, this.txtDocumentName.Value, this.selShejiStatus.SelectedValue, this.selshifoujiesuan.SelectedValue);
 
                 foreach (var eC_OrderBasic in result)
                 {

--
Gitblit v1.9.1