|
@@ -37,7 +37,7 @@ namespace GxPress.Repository.Implement.TrackLog
|
|
|
var result = new PagedList<Entity.tede2.TrackLog.TrackLog>();
|
|
|
var query = Q.NewQuery();
|
|
|
if (!string.IsNullOrEmpty(request.KeyWord))
|
|
|
- query.WhereLike(nameof(Entity.tede2.TrackLog.TrackLog.Remark), $"%request.KeyWord%");
|
|
|
+ query.WhereLike(nameof(Entity.tede2.TrackLog.TrackLog.Remark), $"%{request.KeyWord}%");
|
|
|
if (!string.IsNullOrEmpty(request.BeginTime) && !string.IsNullOrEmpty(request.EndTime))
|
|
|
{
|
|
|
if (DateTime.TryParse(request.BeginTime, out var beginTime) && DateTime.TryParse(request.EndTime, out var endTime))
|