From 8b3377273709a6abd89af0e5b2ff9618c167146e Mon Sep 17 00:00:00 2001
From: chenyong <chenyong@hnkhzn.com>
Date: 星期二, 09 十二月 2025 17:20:24 +0800
Subject: [PATCH] 重写库存导出方法

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoHtyService.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoHtyService.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoHtyService.cs
index d234d42..a15349b 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoHtyService.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoHtyService.cs
@@ -80,6 +80,7 @@
         var data = BaseDal.Db.Queryable<DtStockInfo_Hty>()
             .Includes(x => x.StockInfoDetails)
             .Includes(x => x.LocationInfo)
+            .Where(x=>x.CreateDate>DateTime.Now.AddMonths(-1))
             .WhereIF(!wheres.IsNullOrEmpty(), wheres)
             .WhereIF(locationStatus != null, locationStatus)
             .WhereIF(roadwayNo != null, roadwayNo)

--
Gitblit v1.9.3