| | |
| | | /** |
| | | * 查询统计功能 |
| | | */ |
| | | public List<GwClient> LoadInfoList(string clientID, string clientName, string company, string agent) |
| | | public List<GwClient> LoadInfoList(string clientID, string clientName, string company, string agent, string permissionsSQL) |
| | | { |
| | | |
| | | |
| | |
| | | ((DbParameter)oracleParameterArray[3]).Value = (object)("%" + agent + "%"); |
| | | stringBuilder.Append(" and Agent like :Agent"); |
| | | } |
| | | |
| | | //客户权限SQL脚本 |
| | | stringBuilder.Append(permissionsSQL); |
| | | |
| | | stringBuilder.Append(" order by CREATE_TIME DESC,CLIENT_ID DESC"); |
| | | using (OracleDataReader reader = OracleHelper.ExecuteReader("select * " + stringBuilder.ToString(), OracleHelper.Connection, oracleParameterArray)) |
| | | { |