From 874ddf20325b535872488905caa648beaf9ff024 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周三, 14 5月 2025 14:07:17 +0800
Subject: [PATCH] 管件提交

---
 HIAWms/server/src/CMS.Plugin.HIAWms.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WmsPlace.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WmsPlace.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WmsPlace.cs
index 9b4566d..0ba8be8 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WmsPlace.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WmsPlace.cs
@@ -39,7 +39,7 @@
         builder.Entity<WmsPlace>(b =>
         {
             // Configure table & schema name
-            b.ToTable((CMSPluginDbProperties.DbTablePrefix + "_WmsPlaces").ToLower(), CMSPluginDbProperties.DbSchema).HasComment("Wms_Place");
+            b.ToTable((CMSPluginDbProperties.DbTablePrefix + "_WmsPlaces").ToLower(), CMSPluginDbProperties.DbSchema).HasComment("搴撲綅琛�");
 
             b.ConfigureByConvention();
 
@@ -54,12 +54,13 @@
             b.Property(x => x.LayerNo).HasComment("灞�");
             b.Property(x => x.Islock).HasComment("鏄惁閿佸畾");
             b.Property(x => x.EmptyContainer).HasComment("鏄惁绌烘墭");
+            b.Property(x => x.MaxStockNumber).HasComment("鏈�澶у簱瀛橀噺");
             b.Property(x => x.RedundantField1).HasMaxLength(WmsPlaceConsts.MaxRedundantFieldLength).IsRequired(false).HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
             b.Property(x => x.RedundantField2).HasMaxLength(WmsPlaceConsts.MaxRedundantFieldLength).IsRequired(false).HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
             b.Property(x => x.RedundantField3).HasMaxLength(WmsPlaceConsts.MaxRedundantFieldLength).IsRequired(false).HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
             b.Property(x => x.Sort).HasComment("鎺掑簭");
             b.Property(x => x.Remark).HasMaxLength(WmsPlaceConsts.MaxRemarkLength).IsRequired(false).HasComment("澶囨敞");
-            b.Property(x => x.IsDisabled).IsRequired(false).HasComment("鏄惁绂佺敤");
+            b.Property(x => x.IsDisabled).IsRequired(true).HasDefaultValue(false).HasComment("鏄惁绂佺敤");
 
             // Indexes
             b.HasIndex(u => u.PlaceNo).IsUnique(); // 缂栧彿瀛楁娣诲姞鍞竴绱㈠紩

--
Gitblit v1.9.3