username@email.com
2025-10-31 1df19350ea2786c4307060ad247862578ab7e3dc
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)
                {