| | |
| | | return list1; |
| | | } |
| | | |
| | | public List<GwSp> LoadInfoList(string spId, string apId, string clientId, string clientName, int routerType, string opID, int chargeType, int pageIndex, int pageSize, string resendStatus, out int recordCount, string productId ) |
| | | public List<GwSp> LoadInfoList(string spId, string apId, string clientId, string clientName, int routerType, string opID, int chargeType, int pageIndex, int pageSize |
| | | , string resendStatus, string productId, string permissionsSQL, out int recordCount ) |
| | | { |
| | | List<GwSp> list1 = new List<GwSp>(); |
| | | recordCount = 0; |
| | |
| | | list2.Add(new OracleParameter(":ProductId", (object)productId)); |
| | | stringBuilder.Append(" and Product_Id=:ProductId"); |
| | | } |
| | | |
| | | //客户权限SQL脚本 |
| | | stringBuilder.Append(permissionsSQL); |
| | | |
| | | stringBuilder.Append(" order by ID DESC"); |
| | | using (OracleDataReader reader = OracleHelper.ExecuteReader("select count(*) as count " + stringBuilder.ToString(), OracleHelper.Connection, list2.ToArray())) |
| | | { |