From 8193a4f5f70dbae83f5292aa6175476603653cd7 Mon Sep 17 00:00:00 2001
From: test <15284381150@163.com>
Date: 星期日, 21 九月 2025 10:48:52 +0800
Subject: [PATCH] 添加临期预警过期时间,修改库存查询

---
 Wms/WMS.BLL/SysServer/UnitServer.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Wms/WMS.BLL/SysServer/UnitServer.cs b/Wms/WMS.BLL/SysServer/UnitServer.cs
index 47838d7..2a38430 100644
--- a/Wms/WMS.BLL/SysServer/UnitServer.cs
+++ b/Wms/WMS.BLL/SysServer/UnitServer.cs
@@ -44,7 +44,7 @@
             var data = await UnitRst.GetAllByOrderPage(item, limit, page, out int counts)
                 .Includes(x => x.CreateUserInfo)
                 .Includes(x => x.UpdateUserInfo).ToListAsync();
-            count = counts;
+            count.Value = counts;
             return data.Select(m => new UnitDto()
             {
                 Id = m.Id,

--
Gitblit v1.8.0