| | |
| | | string string1 = context.GetString("apID"); |
| | | string clientId = context.GetString("clientID"); |
| | | string string2 = context.GetString("spID"); |
| | | string string3 = context.GetString("opID"); |
| | | string opId = context.GetString("opID"); |
| | | int int1 = context.GetInt("routerType"); |
| | | string string4 = context.GetString("clientName"); |
| | | string company = context.GetString("company"); |
| | | int int2 = context.GetInt("chargeType"); |
| | | int recordCount = 0; |
| | | int int3 = context.GetInt("pageSize", 20); |
| | | int int4 = context.GetInt("pageIndex", 1); |
| | | int int5 = context.GetInt("resendStatus", 1); |
| | | string productId = context.GetString("productId")==null? "": context.GetString("productId"); |
| | | if (!string.IsNullOrEmpty(string3) && int1 <= 0) |
| | | throw new ArgumentException("请选择通道组路由模式"); |
| | | if (!string.IsNullOrEmpty(opId) && int1 <= 0) |
| | | { throw new ArgumentException("请选择通道组路由模式"); } |
| | | GwSpDao gwSpDao = new GwSpDao(); |
| | | string apId = "0"; |
| | | if (this.IsInt(string1)) |
| | |
| | | string permissionsSQL = new GwClientDao().GetClientPermissions(_userId, _userType, null); |
| | | |
| | | //加载账号列表信息 |
| | | List<GwSp> list = gwSpDao.LoadInfoList(string2, apId, clientId, string4, int1, string3, int2, int4, int3, int5.ToString(), productId, permissionsSQL, out recordCount); |
| | | List<GwSp> list = gwSpDao.LoadInfoList(string2, apId, clientId, company, int1, opId, int2, int4, int3, int5.ToString(), productId, permissionsSQL, out recordCount); |
| | | string str1 = ""; |
| | | if (list != null && list.Count > 0) |
| | | { |