查询报工列表

This commit is contained in:
qianhao.xu
2024-12-10 17:21:53 +08:00
parent d300393f95
commit c6708c68e7
2 changed files with 3 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ public class ProReportworkService : BaseService<ProReportwork01>, IProReportwork
var query = Queryable()
.Where(predicate.ToExpression());
var response = Context.Queryable(query).LeftJoin<BaseWorkProcesses>((q, w) => q.ProcessId == w.Id)
.OrderBy((q,w)=>new { q.Workorder ,w.Id})
.Select((q, w) => new ProReportworkDto
{
ProcessName = w.Name