| | |
| | | /// <param name="pageSize"></param> |
| | | /// <param name="pageIndex"></param> |
| | | /// <returns></returns> |
| | | public List<GwSm> LoadInfoList(string apMID, string opName, string clientID, string spID, string destnationId, string sDate, string beginTime, string endTime, string content, string opstat, int TStatus, out int recordcount, int pageSize, int pageIndex,string ReSend=null) |
| | | public List<GwSm> LoadInfoList(string apMID, string opName, string clientID, string spID, string destnationId, string sDate, string beginTime, string endTime, string content, string opstat, int TStatus, string permissionsSQL, out int recordcount, int pageSize, int pageIndex,string ReSend=null) |
| | | { |
| | | List<GwSm> list1 = new List<GwSm>(); |
| | | recordcount = 0; |
| | |
| | | list2.Add(oracleParameter2); |
| | | ((DbParameter)oracleParameter2).Value = (object)DateTime.Parse(sDate + " " + endTime); |
| | | stringBuilder.Append(" and sm.AP_SUBMIT_TIME BETWEEN :BEGIN_TIME AND :END_TIME"); |
| | | |
| | | //客户权限SQL脚本 |
| | | stringBuilder.Append(permissionsSQL); |
| | | |
| | | using (OracleDataReader reader = OracleHelper.ExecuteReader("select count(*) as count " + stringBuilder.ToString(), OracleHelper.Connection, list2.ToArray())) |
| | | { |
| | | if (((DbDataReader)reader).Read()) |