This commit is contained in:
2023-10-27 16:24:44 +08:00
parent d54ebf3cba
commit bef9b53b4d
2 changed files with 5 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
using JNPF.Common.Filter;
namespace Tnb.EquipMgr.Entities.Dto namespace Tnb.EquipMgr.Entities.Dto
{ {
public class PadRepairListInput public class PadRepairListInput : PageInputBase
{ {
public string status { get; set; } public string status { get; set; }
@@ -9,8 +11,5 @@ namespace Tnb.EquipMgr.Entities.Dto
public DateTime? start_time { get; set; } public DateTime? start_time { get; set; }
public DateTime? end_time { get; set; } public DateTime? end_time { get; set; }
public string sidx { get; set; }
public string sort { get; set; }
} }
} }

View File

@@ -359,10 +359,9 @@ namespace Tnb.EquipMgr
repairer_id_id = c.Id, repairer_id_id = c.Id,
remark = a.remark, remark = a.remark,
status = f.FullName status = f.FullName
}) }).ToPagedListAsync((input?.currentPage ?? 1), (input?.pageSize ?? 50));
.ToListAsync();
return result; return PageResult<PadRepairListOutput>.SqlSugarPageResult(result);
} }
} }
} }