From fad59c96add549467aeb66a0e1c39950886ce02b Mon Sep 17 00:00:00 2001
From: wangsheng <123456>
Date: 星期日, 26 九月 2021 15:37:36 +0800
Subject: [PATCH] 优化导出功能
---
web/web/GwSp.ashx | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/web/web/GwSp.ashx b/web/web/GwSp.ashx
index 01faf1f..e7cf40e 100644
--- a/web/web/GwSp.ashx
+++ b/web/web/GwSp.ashx
@@ -284,6 +284,7 @@
int recordCount = 0;
int int3 = context.GetInt("pageSize", 20);
int int4 = context.GetInt("pageIndex", 1);
+ int int5 = context.GetInt("resendStatus", 1);
if (!string.IsNullOrEmpty(string3) && int1 <= 0)
throw new ArgumentException("璇烽�夋嫨閫氶亾缁勮矾鐢辨ā寮�");
GwSpDao gwSpDao = new GwSpDao();
@@ -293,7 +294,7 @@
if (string.IsNullOrEmpty(clientId) && !string.IsNullOrEmpty(string4))
clientId = new GwClientDao().GetClientName(string4).ClientID;
//鍔犺浇璐﹀彿鍒楄〃淇℃伅
- List<GwSp> list = gwSpDao.LoadInfoList(string2, apId, clientId, int1, string3, int2, int4, int3, out recordCount);
+ List<GwSp> list = gwSpDao.LoadInfoList(string2, apId, clientId, int1, string3, int2, int4, int3, int5.ToString(),out recordCount);
string str1 = "";
if (list != null && list.Count > 0)
{
@@ -315,7 +316,8 @@
if (gwSp.RESEND_STATUS == 1)
{
str1 += "<td rowspan=\"1\"><div class=\"btn btn-primary btn-xs\">鍚敤澶辫触琛ュ彂</div>";
- str1 += string.Format("<div>绉诲姩锛歿0}</div><div>鐢典俊锛歿1}</div><div>鑱旈�氾細{2}</div>", (object)this.GetGroupName(gwSp.RESEND_CM_GROUPID), (object)this.GetGroupName(gwSp.RESEND_CU_GROUPID), (object)this.GetGroupName(gwSp.RESEND_CT_GROUPID));
+ //str1 += string.Format("<div>绉诲姩锛歿0}</div><div>鐢典俊锛歿1}</div><div>鑱旈�氾細{2}</div>", (object)this.GetGroupName(gwSp.RESEND_CM_GROUPID), (object)this.GetGroupName(gwSp.RESEND_CU_GROUPID), (object)this.GetGroupName(gwSp.RESEND_CT_GROUPID));
+ //璐︽埛椤甸潰鏄剧ず琛ュ彂閫氶亾鍏蜂綋鐨勯�氶亾
}
else
{
--
Gitblit v1.9.1