From f546c6012b27a31a0c70089b6398c9ce935f2ce0 Mon Sep 17 00:00:00 2001
From: 刘磊 <1161824510@qq.com>
Date: 星期六, 23 十一月 2024 14:56:54 +0800
Subject: [PATCH] 1
---
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs
index 75eae45..7bd4021 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs
@@ -1,8 +1,19 @@
-锘縩amespace WIDESEA_StorageBasicService;
+锘�
+namespace WIDESEA_StorageBasicService;
public class StockInfoService : ServiceBase<DtStockInfo, IStockInfoRepository>, IStockInfoService
{
public StockInfoService(IStockInfoRepository BaseDal) : base(BaseDal)
{
}
+
+ public override PageGridData<DtStockInfo> GetPageData(PageDataOptions options)
+ {
+ var data = base.GetPageData(options);
+ foreach (var item in data.Rows)
+ {
+ item.Remark = item.StockInfoDetails.Count().ToString();
+ }
+ return data;
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3