fix 查询处理
This commit is contained in:
@@ -310,6 +310,11 @@ public class WorkGridScheduleService : IWorkGridScheduleService
|
||||
var t = request.IsError.ToString().ToLower();
|
||||
var filterString = $"{{\"IsError\":{t}";
|
||||
|
||||
if (request.UserCode.IsEmpty())
|
||||
{
|
||||
request.UserCode = request.Search;
|
||||
}
|
||||
|
||||
return await _dbContext.Queryable<DeviceUploadLogEntity>()
|
||||
.LeftJoin<DeviceEntity>((log, d) => log.DeviceUniqueNo == d.UniqueNo)
|
||||
.LeftJoin<GainfoEntity>((log, d, ga) => log.UserUniqueNo == ga.Code)
|
||||
|
||||
Reference in New Issue
Block a user