修复页面加载不出的问题

This commit is contained in:
陈淳
2022-10-13 14:04:48 +08:00
parent edde5f8a88
commit ea4ddb68f3
17 changed files with 122 additions and 52 deletions

View File

@@ -14,6 +14,7 @@ namespace Yi.Framework.Service
{
RefAsync<int> total = 0;
var data = await _repository._DbQueryable
.Includes(x => x.User)
//.WhereIF(!string.IsNullOrEmpty(config.ConfigName), u => u.ConfigName.Contains(config.ConfigName))
//.WhereIF(!string.IsNullOrEmpty(config.ConfigKey), u => u.ConfigKey.Contains(config.ConfigKey))
.WhereIF(page.StartTime is not null && page.EndTime is not null, u => u.CreateTime >= page.StartTime && u.CreateTime <= page.EndTime)