This commit is contained in:
2023-10-27 15:41:22 +08:00
parent 79045a61de
commit d54ebf3cba
3 changed files with 18 additions and 6 deletions

View File

@@ -321,9 +321,13 @@ namespace Tnb.EquipMgr
if (string.IsNullOrEmpty(input.sidx))
{
input.sidx = "create_time";
input.sidx = "a.create_time";
input.sort = "desc";
}
else
{
input.sidx = "a." + input.sidx;
}
var db = _repository.AsSugarClient();
var result = await db.Queryable<EqpRepairApply>()
@@ -355,7 +359,8 @@ namespace Tnb.EquipMgr
repairer_id_id = c.Id,
remark = a.remark,
status = f.FullName
}).ToListAsync();
})
.ToListAsync();
return result;
}