| | |
| | | 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) |
| | | { |