refactor(#IW4W8): 访问日志更新导致操作日志方法需要new关键字

#Comment
!15
comment #IW4W8

#Issue
close https://gitee.com/LongbowEnterprise/dashboard/issues?id=IW4W8
This commit is contained in:
Argo Zhang 2019-05-05 12:53:51 +08:00
parent 07a65ca6bc
commit 9bc8cf6f5c
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ namespace Bootstrap.DataAccess
/// <param name="endTime"></param> /// <param name="endTime"></param>
/// <param name="opType"></param> /// <param name="opType"></param>
/// <returns></returns> /// <returns></returns>
public virtual Page<Log> Retrieves(PaginationOption po, DateTime? startTime, DateTime? endTime, string opType) public virtual new Page<Log> Retrieves(PaginationOption po, DateTime? startTime, DateTime? endTime, string opType)
{ {
var sql = new Sql("select CRUD, UserName, LogTime, Ip, Browser, OS, City, RequestUrl, RequestData from Logs"); var sql = new Sql("select CRUD, UserName, LogTime, Ip, Browser, OS, City, RequestUrl, RequestData from Logs");
if (startTime.HasValue) sql.Append("where LogTime >= @0", startTime.Value); if (startTime.HasValue) sql.Append("where LogTime >= @0", startTime.Value);