| | |
| | | return this.Add(context); |
| | | case "loadGwSpPageList": |
| | | return this.LoadGwSpPageList(context); |
| | | case "loadGwSpAccountPageList": |
| | | case "loadGwSpAccountPageList"://加载账号列表 |
| | | return this.LoadGwSpAccountPageList(context); |
| | | case "update": |
| | | return this.Update(context); |
| | |
| | | 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(); |
| | |
| | | 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) |
| | | { |
| | |
| | | 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 |
| | | { |