From 34971d1815420aab6548d1603fee08c787d53a23 Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期二, 25 十一月 2025 09:07:42 +0800
Subject: [PATCH] 优化叫脏桶处理逻辑
---
Wms/WMS.BLL/LogServer/TaskServer.cs | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/Wms/WMS.BLL/LogServer/TaskServer.cs b/Wms/WMS.BLL/LogServer/TaskServer.cs
index 7a5748a..78074f8 100644
--- a/Wms/WMS.BLL/LogServer/TaskServer.cs
+++ b/Wms/WMS.BLL/LogServer/TaskServer.cs
@@ -37,8 +37,8 @@
.ToExpression();//娉ㄦ剰 杩欎竴鍙� 涓嶈兘灏�
var total = 0;
var data = GetAllWhereAsync(item)
- .LeftJoin<SysUserInfor>((a,b)=>a.CreateUser == b.Id).
- Select((a,b) => new TaskDto()
+ .LeftJoin<SysUserInfor>((a, b) => a.CreateUser == b.Id).
+ Select((a, b) => new TaskDto()
{
Id = a.Id,
TaskNo = a.TaskNo,
@@ -60,14 +60,16 @@
Type = a.Type,
OrderType = a.OrderType,
+ LotNo = a.LotNo,
+
CancelDate = a.CancelDate,
FinishDate = a.FinishDate,
- CreateUserName =b.RealName,
+ CreateUserName = b.RealName,
CreateTime = a.CreateTime
})
.OrderByDescending(a => a.TaskNo)
- .ToOffsetPage(page,limit,ref total);
+ .ToOffsetPage(page, limit, ref total);
count = total;
return data.OrderByDescending(m=>m.TaskNo).ToList();
--
Gitblit v1.8.0