From 9de6c7c6d835ba5161d64114d154bfc7676244a1 Mon Sep 17 00:00:00 2001
From: 陈勇 <竞男@ASUNA>
Date: 星期一, 06 四月 2026 12:44:43 +0800
Subject: [PATCH] 同步

---
 项目代码/WMS/WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_BDCConfigurationService.cs |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_BDCConfigurationService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_BDCConfigurationService.cs"
index dd3f952..c605458 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_BDCConfigurationService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_BDCConfigurationService.cs"
@@ -36,8 +36,7 @@
             return base.UpdateData(saveModel);
         }
 
-        public async Task<Dt_BDCConfiguration> UpdateConfiguration(int maxWhiteBody, int maxPaintedBody,
-       int maxBatteryCase, int maxEmptySled)
+        public async Task<Dt_BDCConfiguration> UpdateConfiguration(int maxWhiteBody, int maxPaintedBody, int maxBatteryCase, int maxEmptySled)
         {
             // 绂佺敤褰撳墠閰嶇疆
             var currentConfigs = await BaseDal.QueryDataAsync(c => c.IsActive == 1);
@@ -50,8 +49,8 @@
                 MaxPaintedBodyCache = maxPaintedBody,
                 MaxBatteryCaseCache = maxBatteryCase,
                 MaxEmptySledCache = maxEmptySled,
-                LastUpdatedTime = DateTime.Now,
-                UpdatedBy = App.User.UserName,
+                CreateDate = DateTime.Now,
+                Creater = App.User.UserName,
                 IsActive = 1
             };
 
@@ -100,7 +99,7 @@
         /// <returns></returns>
         public int GetWhiteBodyCount()
         {
-            return _palletStockInfoRepository.QueryData(b => b.CarType == (int)BodyType.WhiteBody && b.StockStatus == (int)BodyStatus.InBDC).Count;
+            return _palletStockInfoRepository.QueryData(b => b.CarBodyInfo.CarType == (int)BodyType.WhiteBody && b.StockStatus == (int)BodyStatus.InBDC).Count;
         }
 
         /// <summary>
@@ -109,7 +108,7 @@
         /// <returns></returns>
         public int GetPaintedBodyCount()
         {
-            return _palletStockInfoRepository.QueryData(b => b.CarType == (int)BodyType.PaintedBody && b.StockStatus == (int)BodyStatus.InBDC).Count;
+            return _palletStockInfoRepository.QueryData(b => b.CarBodyInfo.CarType == (int)BodyType.PaintedBody && b.StockStatus == (int)BodyStatus.InBDC).Count;
         }
 
         /// <summary>

--
Gitblit v1.9.3