This commit is contained in:
qianhao.xu 2024-12-02 12:46:03 +08:00
parent f30d8fdfd6
commit 361bcdbc5f

View File

@ -39,6 +39,7 @@ namespace DOAN.Service.exception.Service
var response = Queryable().LeftJoin<ProWorkorder>((it,rw)=>it.Workorder==rw.Workorder)
.Where(predicate.ToExpression())
.OrderByDescending((it,rw)=>it.ChangeTime)
.Select((it,rw)=>new ProWorkorderUpdateLogDto()
{
ProductionCode = rw.ProductionCode,
@ -46,7 +47,7 @@ namespace DOAN.Service.exception.Service
Specification = rw.Specification
},true)
.OrderByDescending(it=>it.ChangeTime)
.ToPage<ProWorkorderUpdateLogDto, ProWorkorderUpdateLogDto>(parm);
return response;