refactor(#IW4W8): 访问日志更新导致操作日志方法需要new关键字
#Comment !15 comment #IW4W8 #Issue close https://gitee.com/LongbowEnterprise/dashboard/issues?id=IW4W8
This commit is contained in:
parent
07a65ca6bc
commit
9bc8cf6f5c
|
@ -27,7 +27,7 @@ namespace Bootstrap.DataAccess
|
|||
/// <param name="endTime"></param>
|
||||
/// <param name="opType"></param>
|
||||
/// <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");
|
||||
if (startTime.HasValue) sql.Append("where LogTime >= @0", startTime.Value);
|
||||
|
|
Loading…
Reference in New Issue