From 4575f4ca814675c535b18d46b90ec97fd77ae2a2 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周五, 16 5月 2025 10:39:42 +0800
Subject: [PATCH] 增加授权

---
 HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockOrderController.cs                  |   10 
 HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockOrderDetailController.cs            |   10 
 /dev/null                                                                                       |  132 ----
 HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/CMSPluginDbContextModelSnapshot.cs         |  218 +++---
 HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsMaterialContainerController.cs                |   10 
 HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/CMS.Plugin.HIAWms.MySQL.csproj                        |    4 
 HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsContainerPlaceController.cs                   |   10 
 HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockRecordController.cs                 |   10 
 HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsMaterialTypeController.cs                     |   10 
 HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250516020008_InitialCreate17.Designer.cs |  220 +++---
 HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250516020008_InitialCreate17.cs          | 1023 ++++++++++++++++++++++++++++++++++++
 HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsTaskController.cs                             |   10 
 12 files changed, 1,281 insertions(+), 386 deletions(-)

diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/CMS.Plugin.HIAWms.MySQL.csproj b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/CMS.Plugin.HIAWms.MySQL.csproj
index 4cf3215..bec4d76 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/CMS.Plugin.HIAWms.MySQL.csproj
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/CMS.Plugin.HIAWms.MySQL.csproj
@@ -23,4 +23,8 @@
     <ProjectReference Include="..\CMS.Plugin.HIAWms.EntityFrameworkCore\CMS.Plugin.HIAWms.EntityFrameworkCore.csproj" />
   </ItemGroup>
 
+  <ItemGroup>
+    <Folder Include="Migrations\" />
+  </ItemGroup>
+
 </Project>
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250429025531_InitialCreate.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250429025531_InitialCreate.Designer.cs
deleted file mode 100644
index c184d48..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250429025531_InitialCreate.Designer.cs
+++ /dev/null
@@ -1,675 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250429025531_InitialCreate")]
-    partial class InitialCreate
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<bool>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250429025531_InitialCreate.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250429025531_InitialCreate.cs
deleted file mode 100644
index ef50f40..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250429025531_InitialCreate.cs
+++ /dev/null
@@ -1,333 +0,0 @@
-锘縰sing System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AlterDatabase()
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmsareas",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    AreaNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "搴撳尯缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    AreaName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "搴撳尯鍚嶇О")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    AreaDesc = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鎻忚堪")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    AreaStatus = table.Column<int>(type: "int", nullable: false, comment: "搴撳尯鐘舵��"),
-                    AreaType = table.Column<int>(type: "int", nullable: false, comment: "搴撳尯绫诲瀷"),
-                    RedundantField1 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField2 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField3 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    StoreCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "浠撳簱浠g爜")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    StoreName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "浠撳簱鍚嶇О")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
-                    Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "澶囨敞")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsareas", x => x.Id);
-                },
-                comment: "搴撳尯琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmscontainers",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鎵樼洏缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ContainerType = table.Column<int>(type: "int", nullable: false, comment: "鎵樼洏绫诲瀷"),
-                    ContainerStatus = table.Column<int>(type: "int", nullable: false, comment: "鎵樼洏鐘舵��"),
-                    SpecLength = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "闀垮害"),
-                    SpecWidth = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "瀹藉害"),
-                    SpecHeight = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "楂樺害"),
-                    LimitLength = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "闄愰暱"),
-                    LimitWidth = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "闄愬"),
-                    LimitHeight = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "闄愰珮"),
-                    MaxWeight = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "杞介噸涓婇檺"),
-                    ExceptionNumber = table.Column<int>(type: "int", nullable: true, comment: "寮傚父鏁伴噺"),
-                    MaterialNumber = table.Column<int>(type: "int", nullable: true, comment: "鐗╂枡鏁伴噺"),
-                    RedundantField1 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField2 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField3 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
-                    Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "澶囨敞")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmscontainers", x => x.Id);
-                },
-                comment: "鎵樼洏淇℃伅琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmsmaterials",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    MaterialNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "鐗╂枡鍚嶇О")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    PurchaseType = table.Column<int>(type: "int", nullable: false, comment: "閲囪喘绫诲瀷锛堟灇涓惧�硷級"),
-                    MaterialType = table.Column<int>(type: "int", nullable: false, comment: "鐗╂枡绫诲瀷锛堟灇涓惧�硷級"),
-                    PrimaryUnit = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Standard = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    OuterDiameter = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "澶栧緞锛堝崟浣嶏細mm锛�"),
-                    WallThickness = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "澹佸帤锛堝崟浣嶏細mm锛�"),
-                    MaterialQuality = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "鏉愯川锛堝锛�304涓嶉攬閽級")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Length = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "闀垮害锛堝崟浣嶏細m锛�"),
-                    IsMainBranch = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "鏄惁涓轰富鏀"),
-                    Factory = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "鐢熶骇宸ュ巶")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Certification = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "璇佷功缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField1 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField2 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField3 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鎺掑簭"),
-                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, defaultValue: false, comment: "鏄惁绂佺敤"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsmaterials", x => x.Id);
-                },
-                comment: "鐗╂枡鍩虹淇℃伅琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmsplaces",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    PlaceNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    StorageTypeNo = table.Column<int>(type: "int", nullable: false, comment: "璐т綅绫诲瀷"),
-                    PlaceStatus = table.Column<int>(type: "int", nullable: false, comment: "璐т綅鐘舵��"),
-                    AreaCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鎵�鍦ㄥ簱鍖�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Aisle = table.Column<int>(type: "int", nullable: false, comment: "宸烽亾"),
-                    RowNo = table.Column<int>(type: "int", nullable: false, comment: "鎺�"),
-                    ColumnNo = table.Column<int>(type: "int", nullable: false, comment: "鍒�"),
-                    LayerNo = table.Column<int>(type: "int", nullable: false, comment: "灞�"),
-                    Islock = table.Column<int>(type: "int", nullable: false, comment: "鏄惁閿佸畾"),
-                    EmptyContainer = table.Column<int>(type: "int", nullable: false, comment: "鏄惁绌烘墭"),
-                    RedundantField1 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField2 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField3 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
-                    Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "澶囨敞")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsplaces", x => x.Id);
-                },
-                comment: "搴撲綅琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmsstores",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    StoreCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "浠撳簱浠g爜")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    StoreName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "浠撳簱鍚嶇О")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField1 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField2 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField3 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "澶囨敞")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsstores", x => x.Id);
-                },
-                comment: "浠撳簱淇℃伅琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsareas_AreaName",
-                table: "scms_wmsareas",
-                column: "AreaName");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmscontainers_ContainerNo",
-                table: "scms_wmscontainers",
-                column: "ContainerNo",
-                unique: true);
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmscontainers_ContainerStatus",
-                table: "scms_wmscontainers",
-                column: "ContainerStatus");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmscontainers_ContainerType",
-                table: "scms_wmscontainers",
-                column: "ContainerType");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterials_MaterialNo",
-                table: "scms_wmsmaterials",
-                column: "MaterialNo",
-                unique: true);
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterials_MaterialName",
-                table: "scms_wmsmaterials",
-                column: "MaterialName");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterials_MaterialType",
-                table: "scms_wmsmaterials",
-                column: "MaterialType");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterials_PurchaseType",
-                table: "scms_wmsmaterials",
-                column: "PurchaseType");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsplaces_AreaCode",
-                table: "scms_wmsplaces",
-                column: "AreaCode");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsplaces_PlaceNo",
-                table: "scms_wmsplaces",
-                column: "PlaceNo",
-                unique: true);
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsplaces_PlaceStatus",
-                table: "scms_wmsplaces",
-                column: "PlaceStatus");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsplaces_StorageTypeNo",
-                table: "scms_wmsplaces",
-                column: "StorageTypeNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsstores_StoreName",
-                table: "scms_wmsstores",
-                column: "StoreName");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropTable(
-                name: "scms_wmsareas");
-
-            migrationBuilder.DropTable(
-                name: "scms_wmscontainers");
-
-            migrationBuilder.DropTable(
-                name: "scms_wmsmaterials");
-
-            migrationBuilder.DropTable(
-                name: "scms_wmsplaces");
-
-            migrationBuilder.DropTable(
-                name: "scms_wmsstores");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250430035549_InitialCreate1.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250430035549_InitialCreate1.Designer.cs
deleted file mode 100644
index 4576d76..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250430035549_InitialCreate1.Designer.cs
+++ /dev/null
@@ -1,675 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250430035549_InitialCreate1")]
-    partial class InitialCreate1
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(2)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250430035549_InitialCreate1.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250430035549_InitialCreate1.cs
deleted file mode 100644
index aba4201..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250430035549_InitialCreate1.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-锘縰sing Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate1 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AlterColumn<int>(
-                name: "IsMainBranch",
-                table: "scms_wmsmaterials",
-                type: "int",
-                nullable: false,
-                defaultValue: 2,
-                comment: "鏄惁涓轰富鏀",
-                oldClrType: typeof(bool),
-                oldType: "tinyint(1)",
-                oldDefaultValue: false,
-                oldComment: "鏄惁涓轰富鏀");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AlterColumn<bool>(
-                name: "IsMainBranch",
-                table: "scms_wmsmaterials",
-                type: "tinyint(1)",
-                nullable: false,
-                defaultValue: false,
-                comment: "鏄惁涓轰富鏀",
-                oldClrType: typeof(int),
-                oldType: "int",
-                oldDefaultValue: 2,
-                oldComment: "鏄惁涓轰富鏀");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505105851_InitialCreate2.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505105851_InitialCreate2.Designer.cs
deleted file mode 100644
index 8b426e6..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505105851_InitialCreate2.Designer.cs
+++ /dev/null
@@ -1,998 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250505105851_InitialCreate2")]
-    partial class InitialCreate2
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(2)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505105851_InitialCreate2.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505105851_InitialCreate2.cs
deleted file mode 100644
index e9f63c4..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505105851_InitialCreate2.cs
+++ /dev/null
@@ -1,196 +0,0 @@
-锘縰sing System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate2 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.CreateTable(
-                name: "scms_wmsmaterialinfos",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡浠e彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "鐗╂枡鍚嶇О")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鏈哄瀷/瑙勬牸")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡鍞竴鐮�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    StockNumber = table.Column<int>(type: "int", nullable: true, comment: "搴撳瓨鏁伴噺"),
-                    MaterialBatch = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡鎵瑰彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    SupplierCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "渚涘簲鍟嗙紪鍙�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CheckStatus = table.Column<int>(type: "int", nullable: true, comment: "妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)"),
-                    RedundantField1 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "鍐椾綑瀛楁1")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField2 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "鍐椾綑瀛楁2")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField3 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "鍐椾綑瀛楁3")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鎺掑簭"),
-                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsmaterialinfos", x => x.Id);
-                },
-                comment: "WMS鐗╂枡淇℃伅琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmsmaterialstocks",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡ID")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "鐗╂枡鍚嶇О")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ContainerNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "瀹瑰櫒缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ContainerStatus = table.Column<int>(type: "int", nullable: false, comment: "瀹瑰櫒鐘舵��"),
-                    ContainerType = table.Column<int>(type: "int", nullable: false, comment: "瀹瑰櫒绫诲瀷"),
-                    MaterialNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    StockNumber = table.Column<int>(type: "int", nullable: false, comment: "搴撳瓨鏁伴噺"),
-                    MaterialBatch = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "鐗╂枡鎵规")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    SupplierCode = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "渚涘簲鍟嗙紪鍙�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialModel = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "鏈哄瀷/瑙勬牸")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    PlaceNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "搴撲綅缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    PlaceStatus = table.Column<int>(type: "int", nullable: false, comment: "搴撲綅鐘舵��;"),
-                    StorageTypeNo = table.Column<int>(type: "int", nullable: false, comment: "搴撲綅绫诲瀷"),
-                    AreaCode = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "鍖哄煙缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    AreaName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "搴撳尯鍚嶇О")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CheckStatus = table.Column<int>(type: "int", nullable: true, comment: "妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)"),
-                    IsLock = table.Column<int>(type: "int", nullable: false, comment: "鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)"),
-                    EmptyContainer = table.Column<int>(type: "int", nullable: false, comment: "鏄惁绌烘墭(2:鍚�,1:鏄�)"),
-                    InStockTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鍏ュ簱鏃堕棿"),
-                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鎺掑簭"),
-                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField1 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField2 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    RedundantField3 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsmaterialstocks", x => x.Id);
-                },
-                comment: "WMS鐗╂枡搴撳瓨琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialinfos_CheckStatus",
-                table: "scms_wmsmaterialinfos",
-                column: "CheckStatus");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialinfos_MaterialBatch",
-                table: "scms_wmsmaterialinfos",
-                column: "MaterialBatch");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialinfos_MaterialId",
-                table: "scms_wmsmaterialinfos",
-                column: "MaterialId",
-                unique: true);
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialinfos_MaterialName",
-                table: "scms_wmsmaterialinfos",
-                column: "MaterialName");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialinfos_MaterialNo",
-                table: "scms_wmsmaterialinfos",
-                column: "MaterialNo",
-                unique: true);
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialinfos_SupplierCode",
-                table: "scms_wmsmaterialinfos",
-                column: "SupplierCode");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialstocks_AreaCode",
-                table: "scms_wmsmaterialstocks",
-                column: "AreaCode");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialstocks_ContainerNo",
-                table: "scms_wmsmaterialstocks",
-                column: "ContainerNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialstocks_MaterialBatch_SupplierCode",
-                table: "scms_wmsmaterialstocks",
-                columns: new[] { "MaterialBatch", "SupplierCode" });
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialstocks_MaterialName",
-                table: "scms_wmsmaterialstocks",
-                column: "MaterialName");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialstocks_MaterialNo",
-                table: "scms_wmsmaterialstocks",
-                column: "MaterialNo",
-                unique: true);
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialstocks_PlaceNo",
-                table: "scms_wmsmaterialstocks",
-                column: "PlaceNo");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropTable(
-                name: "scms_wmsmaterialinfos");
-
-            migrationBuilder.DropTable(
-                name: "scms_wmsmaterialstocks");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505121050_InitialCreate3.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505121050_InitialCreate3.Designer.cs
deleted file mode 100644
index 3cc0e34..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505121050_InitialCreate3.Designer.cs
+++ /dev/null
@@ -1,1003 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250505121050_InitialCreate3")]
-    partial class InitialCreate3
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(2)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505121050_InitialCreate3.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505121050_InitialCreate3.cs
deleted file mode 100644
index ea59180..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505121050_InitialCreate3.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-锘縰sing Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate3 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AddColumn<string>(
-                name: "MaterialModel",
-                table: "scms_wmsmaterials",
-                type: "varchar(128)",
-                maxLength: 128,
-                nullable: true,
-                comment: "鍨嬪彿")
-                .Annotation("MySql:CharSet", "utf8mb4");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropColumn(
-                name: "MaterialModel",
-                table: "scms_wmsmaterials");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505135455_InitialCreate4.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505135455_InitialCreate4.Designer.cs
deleted file mode 100644
index 44c09f2..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505135455_InitialCreate4.Designer.cs
+++ /dev/null
@@ -1,1002 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250505135455_InitialCreate4")]
-    partial class InitialCreate4
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(2)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505135455_InitialCreate4.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505135455_InitialCreate4.cs
deleted file mode 100644
index 149cb13..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505135455_InitialCreate4.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-锘縰sing Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate4 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropIndex(
-                name: "IX_scms_wmsmaterialstocks_MaterialNo",
-                table: "scms_wmsmaterialstocks");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialstocks_MaterialNo",
-                table: "scms_wmsmaterialstocks",
-                column: "MaterialNo");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropIndex(
-                name: "IX_scms_wmsmaterialstocks_MaterialNo",
-                table: "scms_wmsmaterialstocks");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialstocks_MaterialNo",
-                table: "scms_wmsmaterialstocks",
-                column: "MaterialNo",
-                unique: true);
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505140345_InitialCreate5.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505140345_InitialCreate5.Designer.cs
deleted file mode 100644
index 4d9151e..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505140345_InitialCreate5.Designer.cs
+++ /dev/null
@@ -1,1000 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250505140345_InitialCreate5")]
-    partial class InitialCreate5
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(2)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505140345_InitialCreate5.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505140345_InitialCreate5.cs
deleted file mode 100644
index f8b54e2..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250505140345_InitialCreate5.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-锘縰sing Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate5 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropIndex(
-                name: "IX_scms_wmsmaterialstocks_MaterialNo",
-                table: "scms_wmsmaterialstocks");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialstocks_MaterialNo",
-                table: "scms_wmsmaterialstocks",
-                column: "MaterialNo");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506070902_InitialCreate6.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506070902_InitialCreate6.Designer.cs
deleted file mode 100644
index ed96a08..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506070902_InitialCreate6.Designer.cs
+++ /dev/null
@@ -1,1211 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250506070902_InitialCreate6")]
-    partial class InitialCreate6
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlaces.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(2)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506070902_InitialCreate6.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506070902_InitialCreate6.cs
deleted file mode 100644
index 03da503..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506070902_InitialCreate6.cs
+++ /dev/null
@@ -1,145 +0,0 @@
-锘縰sing System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate6 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.CreateTable(
-                name: "scms_wmscontainerplaces",
-                columns: table => new
-                {
-                    PlaceNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "搴撲綅缂栫爜")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鎵樼洏缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true),
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmscontainerplaces", x => new { x.PlaceNo, x.ContainerNo });
-                },
-                comment: "瀹瑰櫒搴撲綅鍏崇郴琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmsinoutstockrecords",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    OrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鍗曟嵁缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鐗╂枡鍚嶇О")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡浠跺彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    StockType = table.Column<int>(type: "int", nullable: false, comment: "鎿嶄綔绫诲瀷"),
-                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "瀹瑰櫒缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鏈哄瀷")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    OperateTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鎿嶄綔鏃堕棿"),
-                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡ID")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    TaskNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "浠诲姟鍙�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    SourcePlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "璧峰搴撲綅")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ToPlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鐩爣搴撲綅")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsinoutstockrecords", x => x.Id);
-                },
-                comment: "鍑哄叆搴撹褰曡〃")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmscontainerplaces_ContainerNo",
-                table: "scms_wmscontainerplaces",
-                column: "ContainerNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmscontainerplaces_PlaceNo",
-                table: "scms_wmscontainerplaces",
-                column: "PlaceNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockrecords_ContainerNo",
-                table: "scms_wmsinoutstockrecords",
-                column: "ContainerNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockrecords_MaterialId",
-                table: "scms_wmsinoutstockrecords",
-                column: "MaterialId");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockrecords_MaterialNo",
-                table: "scms_wmsinoutstockrecords",
-                column: "MaterialNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockrecords_OperateTime",
-                table: "scms_wmsinoutstockrecords",
-                column: "OperateTime");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockrecords_OrderNo",
-                table: "scms_wmsinoutstockrecords",
-                column: "OrderNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockrecords_StockType",
-                table: "scms_wmsinoutstockrecords",
-                column: "StockType");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockrecords_TaskNo",
-                table: "scms_wmsinoutstockrecords",
-                column: "TaskNo");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropTable(
-                name: "scms_wmscontainerplaces");
-
-            migrationBuilder.DropTable(
-                name: "scms_wmsinoutstockrecords");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506074429_InitialCreate7.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506074429_InitialCreate7.Designer.cs
deleted file mode 100644
index d4f872f..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506074429_InitialCreate7.Designer.cs
+++ /dev/null
@@ -1,1374 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250506074429_InitialCreate7")]
-    partial class InitialCreate7
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlaces.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(2)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsTask.WmsTask", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("DodeviceId")
-                        .HasColumnType("int")
-                        .HasComment("鍫嗗灈鏈篒D");
-
-                    b.Property<int>("Dodevicetype")
-                        .HasColumnType("int")
-                        .HasComment("璁惧绫诲瀷");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int?>("IsNextTask")
-                        .HasColumnType("int")
-                        .HasComment("涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛");
-
-                    b.Property<bool>("IsRead")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("WCS鏄惁鍙互璇诲彇");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MutableParam1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺1");
-
-                    b.Property<string>("MutableParam2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺2");
-
-                    b.Property<string>("MutableParam3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺3");
-
-                    b.Property<int?>("SonTaskType")
-                        .HasColumnType("int")
-                        .HasComment("瀛愪换鍔$被鍨�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourceOrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏉ユ簮鍗曟嵁鍙�");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("TaskDodeviceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璁惧浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskLevel")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绛夌骇");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<int>("TaskStatus")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskType")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绫诲瀷");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("DodeviceId");
-
-                    b.HasIndex("IsRead");
-
-                    b.HasIndex("Sort");
-
-                    b.HasIndex("SourceOrderNo");
-
-                    b.HasIndex("SourcePlace");
-
-                    b.HasIndex("TaskNo")
-                        .IsUnique();
-
-                    b.HasIndex("TaskStatus");
-
-                    b.HasIndex("TaskType");
-
-                    b.HasIndex("ToPlace");
-
-                    b.ToTable("scms_wmstasks", (string)null);
-
-                    b.HasComment("浠诲姟琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506074429_InitialCreate7.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506074429_InitialCreate7.cs
deleted file mode 100644
index fc86ad2..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250506074429_InitialCreate7.cs
+++ /dev/null
@@ -1,122 +0,0 @@
-锘縰sing System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate7 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.CreateTable(
-                name: "scms_wmstasks",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    TaskNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "浠诲姟鍙�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    TaskType = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟绫诲瀷"),
-                    TaskLevel = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟绛夌骇"),
-                    TaskStatus = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟鐘舵��"),
-                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鎵樼洏缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    SourcePlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "璧峰搴撲綅")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ToPlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鐩爣搴撲綅")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Aisle = table.Column<int>(type: "int", nullable: true, comment: "宸烽亾"),
-                    DodeviceId = table.Column<int>(type: "int", nullable: true, comment: "鍫嗗灈鏈篒D"),
-                    Dodevicetype = table.Column<int>(type: "int", nullable: false, comment: "璁惧绫诲瀷"),
-                    TaskDodeviceStatus = table.Column<int>(type: "int", nullable: false, comment: "璁惧浠诲姟鐘舵��"),
-                    IsRead = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "WCS鏄惁鍙互璇诲彇"),
-                    SonTaskType = table.Column<int>(type: "int", nullable: true, comment: "瀛愪换鍔$被鍨�"),
-                    SourceOrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鏉ユ簮鍗曟嵁鍙�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    IsNextTask = table.Column<int>(type: "int", nullable: true, comment: "涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛"),
-                    MutableParam1 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍙彉鍙橀噺1")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MutableParam2 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍙彉鍙橀噺2")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MutableParam3 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍙彉鍙橀噺3")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmstasks", x => x.Id);
-                },
-                comment: "浠诲姟琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmstasks_ContainerNo",
-                table: "scms_wmstasks",
-                column: "ContainerNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmstasks_DodeviceId",
-                table: "scms_wmstasks",
-                column: "DodeviceId");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmstasks_IsRead",
-                table: "scms_wmstasks",
-                column: "IsRead");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmstasks_Sort",
-                table: "scms_wmstasks",
-                column: "Sort");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmstasks_SourceOrderNo",
-                table: "scms_wmstasks",
-                column: "SourceOrderNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmstasks_SourcePlace",
-                table: "scms_wmstasks",
-                column: "SourcePlace");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmstasks_TaskNo",
-                table: "scms_wmstasks",
-                column: "TaskNo",
-                unique: true);
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmstasks_TaskStatus",
-                table: "scms_wmstasks",
-                column: "TaskStatus");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmstasks_TaskType",
-                table: "scms_wmstasks",
-                column: "TaskType");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmstasks_ToPlace",
-                table: "scms_wmstasks",
-                column: "ToPlace");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropTable(
-                name: "scms_wmstasks");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250507093411_InitialCreate8.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250507093411_InitialCreate8.Designer.cs
deleted file mode 100644
index 8d6a0b1..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250507093411_InitialCreate8.Designer.cs
+++ /dev/null
@@ -1,1656 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250507093411_InitialCreate8")]
-    partial class InitialCreate8
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlaces.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrder.WmsInOutStockOrder", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("CompleteNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("瀹屾垚鏁伴噺");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("DistributeNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("涓嬪彂鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵规鍙�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<int>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鏁伴噺");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderStatus")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鐘舵��");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷");
-
-                    b.Property<string>("PlanNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍏宠仈璁″垝缂栧彿");
-
-                    b.Property<int>("Priority")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(1)
-                        .HasComment("浼樺厛绾�");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlanNo");
-
-                    b.ToTable("scms_wmsinoutstockorder", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrderDetail.WmsInOutStockOrderDetail", b =>
-                {
-                    b.Property<string>("OrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("MaterialId")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int?>("MaterialBatch")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.HasKey("OrderNo", "MaterialId");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("OrderNo", "OrderType");
-
-                    b.ToTable("scms_wmsinoutstockorderdetail", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹槑缁嗚〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialContainer.WmsMaterialContainer", b =>
-                {
-                    b.Property<string>("MaterialId")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("MaterialId", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.ToTable("scms_wmsmaterialcontainer", (string)null);
-
-                    b.HasComment("鐗╂枡瀹瑰櫒鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsTask.WmsTask", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("DodeviceId")
-                        .HasColumnType("int")
-                        .HasComment("鍫嗗灈鏈篒D");
-
-                    b.Property<int>("Dodevicetype")
-                        .HasColumnType("int")
-                        .HasComment("璁惧绫诲瀷");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int?>("IsNextTask")
-                        .HasColumnType("int")
-                        .HasComment("涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛");
-
-                    b.Property<bool>("IsRead")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("WCS鏄惁鍙互璇诲彇");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MutableParam1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺1");
-
-                    b.Property<string>("MutableParam2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺2");
-
-                    b.Property<string>("MutableParam3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺3");
-
-                    b.Property<int?>("SonTaskType")
-                        .HasColumnType("int")
-                        .HasComment("瀛愪换鍔$被鍨�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourceOrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏉ユ簮鍗曟嵁鍙�");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("TaskDodeviceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璁惧浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskLevel")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绛夌骇");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<int>("TaskStatus")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskType")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绫诲瀷");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("DodeviceId");
-
-                    b.HasIndex("IsRead");
-
-                    b.HasIndex("Sort");
-
-                    b.HasIndex("SourceOrderNo");
-
-                    b.HasIndex("SourcePlace");
-
-                    b.HasIndex("TaskNo")
-                        .IsUnique();
-
-                    b.HasIndex("TaskStatus");
-
-                    b.HasIndex("TaskType");
-
-                    b.HasIndex("ToPlace");
-
-                    b.ToTable("scms_wmstasks", (string)null);
-
-                    b.HasComment("浠诲姟琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250507093411_InitialCreate8.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250507093411_InitialCreate8.cs
deleted file mode 100644
index 1c83365..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250507093411_InitialCreate8.cs
+++ /dev/null
@@ -1,214 +0,0 @@
-锘縰sing System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate8 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AlterColumn<int>(
-                name: "IsMainBranch",
-                table: "scms_wmsmaterials",
-                type: "int",
-                nullable: false,
-                defaultValue: 0,
-                comment: "鏄惁涓轰富鏀",
-                oldClrType: typeof(int),
-                oldType: "int",
-                oldDefaultValue: 2,
-                oldComment: "鏄惁涓轰富鏀");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmsinoutstockorder",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    OrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鍗曟嵁缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    OrderStatus = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鐘舵��"),
-                    MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鐗╂枡鍚嶇О")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡浠跺彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鍨嬪彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialBatch = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鎵规鍙�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    OrderType = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁绫诲瀷"),
-                    StockType = table.Column<int>(type: "int", nullable: false, comment: "鎿嶄綔绫诲瀷锛堟灇涓惧�硷級"),
-                    MaterialNumber = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鏁伴噺"),
-                    DistributeNumber = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "涓嬪彂鏁伴噺"),
-                    CompleteNumber = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "瀹屾垚鏁伴噺"),
-                    Priority = table.Column<int>(type: "int", nullable: false, defaultValue: 1, comment: "浼樺厛绾�"),
-                    PlanNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鍏宠仈璁″垝缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    OperateTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鎿嶄綔鏃堕棿"),
-                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鎺掑簭"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, defaultValue: false, comment: "鏄惁绂佺敤"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsinoutstockorder", x => x.Id);
-                },
-                comment: "鍑哄叆搴撳崟鎹〃")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmsinoutstockorderdetail",
-                columns: table => new
-                {
-                    OrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鍗曟嵁缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡鍞竴鐮�")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    OrderType = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁绫诲瀷锛堟灇涓惧�硷級"),
-                    MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡浠跺彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鐗╂枡鍚嶇О")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "瀹瑰櫒缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鏈哄瀷")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialBatch = table.Column<int>(type: "int", nullable: true, comment: "鐗╂枡鎵规")
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsinoutstockorderdetail", x => new { x.OrderNo, x.MaterialId });
-                },
-                comment: "鍑哄叆搴撳崟鎹槑缁嗚〃")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmsmaterialcontainer",
-                columns: table => new
-                {
-                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鎵樼洏缂栧彿")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡ID")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true),
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsmaterialcontainer", x => new { x.MaterialId, x.ContainerNo });
-                },
-                comment: "鐗╂枡瀹瑰櫒鍏崇郴琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockorder_MaterialBatch",
-                table: "scms_wmsinoutstockorder",
-                column: "MaterialBatch");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockorder_MaterialNo",
-                table: "scms_wmsinoutstockorder",
-                column: "MaterialNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockorder_OperateTime",
-                table: "scms_wmsinoutstockorder",
-                column: "OperateTime");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockorder_OrderNo",
-                table: "scms_wmsinoutstockorder",
-                column: "OrderNo",
-                unique: true);
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockorder_PlanNo",
-                table: "scms_wmsinoutstockorder",
-                column: "PlanNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockorderdetail_ContainerNo",
-                table: "scms_wmsinoutstockorderdetail",
-                column: "ContainerNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockorderdetail_MaterialId",
-                table: "scms_wmsinoutstockorderdetail",
-                column: "MaterialId");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockorderdetail_MaterialNo",
-                table: "scms_wmsinoutstockorderdetail",
-                column: "MaterialNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockorderdetail_OrderNo",
-                table: "scms_wmsinoutstockorderdetail",
-                column: "OrderNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsinoutstockorderdetail_OrderNo_OrderType",
-                table: "scms_wmsinoutstockorderdetail",
-                columns: new[] { "OrderNo", "OrderType" });
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialcontainer_ContainerNo",
-                table: "scms_wmsmaterialcontainer",
-                column: "ContainerNo");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialcontainer_MaterialId",
-                table: "scms_wmsmaterialcontainer",
-                column: "MaterialId");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropTable(
-                name: "scms_wmsinoutstockorder");
-
-            migrationBuilder.DropTable(
-                name: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropTable(
-                name: "scms_wmsmaterialcontainer");
-
-            migrationBuilder.AlterColumn<int>(
-                name: "IsMainBranch",
-                table: "scms_wmsmaterials",
-                type: "int",
-                nullable: false,
-                defaultValue: 2,
-                comment: "鏄惁涓轰富鏀",
-                oldClrType: typeof(int),
-                oldType: "int",
-                oldDefaultValue: 0,
-                oldComment: "鏄惁涓轰富鏀");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250508005509_InitialCreate9.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250508005509_InitialCreate9.Designer.cs
deleted file mode 100644
index 251188c..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250508005509_InitialCreate9.Designer.cs
+++ /dev/null
@@ -1,1719 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250508005509_InitialCreate9")]
-    partial class InitialCreate9
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlaces.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrder.WmsInOutStockOrder", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("CompleteNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("瀹屾垚鏁伴噺");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("DistributeNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("涓嬪彂鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵规鍙�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<int>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鏁伴噺");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderStatus")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鐘舵��");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷");
-
-                    b.Property<string>("PlanNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍏宠仈璁″垝缂栧彿");
-
-                    b.Property<int>("Priority")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(1)
-                        .HasComment("浼樺厛绾�");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlanNo");
-
-                    b.ToTable("scms_wmsinoutstockorder", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrderDetail.WmsInOutStockOrderDetail", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int?>("MaterialBatch")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("OrderNo", "OrderType");
-
-                    b.ToTable("scms_wmsinoutstockorderdetail", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹槑缁嗚〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialContainer.WmsMaterialContainer", b =>
-                {
-                    b.Property<string>("MaterialId")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("MaterialId", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.ToTable("scms_wmsmaterialcontainer", (string)null);
-
-                    b.HasComment("鐗╂枡瀹瑰櫒鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsTask.WmsTask", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("DodeviceId")
-                        .HasColumnType("int")
-                        .HasComment("鍫嗗灈鏈篒D");
-
-                    b.Property<int>("Dodevicetype")
-                        .HasColumnType("int")
-                        .HasComment("璁惧绫诲瀷");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int?>("IsNextTask")
-                        .HasColumnType("int")
-                        .HasComment("涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛");
-
-                    b.Property<bool>("IsRead")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("WCS鏄惁鍙互璇诲彇");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MutableParam1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺1");
-
-                    b.Property<string>("MutableParam2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺2");
-
-                    b.Property<string>("MutableParam3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺3");
-
-                    b.Property<int?>("SonTaskType")
-                        .HasColumnType("int")
-                        .HasComment("瀛愪换鍔$被鍨�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourceOrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏉ユ簮鍗曟嵁鍙�");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("TaskDodeviceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璁惧浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskLevel")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绛夌骇");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<int>("TaskStatus")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskType")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绫诲瀷");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("DodeviceId");
-
-                    b.HasIndex("IsRead");
-
-                    b.HasIndex("Sort");
-
-                    b.HasIndex("SourceOrderNo");
-
-                    b.HasIndex("SourcePlace");
-
-                    b.HasIndex("TaskNo")
-                        .IsUnique();
-
-                    b.HasIndex("TaskStatus");
-
-                    b.HasIndex("TaskType");
-
-                    b.HasIndex("ToPlace");
-
-                    b.ToTable("scms_wmstasks", (string)null);
-
-                    b.HasComment("浠诲姟琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250508005509_InitialCreate9.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250508005509_InitialCreate9.cs
deleted file mode 100644
index 2add334..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250508005509_InitialCreate9.cs
+++ /dev/null
@@ -1,181 +0,0 @@
-锘縰sing System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate9 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropPrimaryKey(
-                name: "PK_scms_wmsinoutstockorderdetail",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.AddColumn<Guid>(
-                name: "Id",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "char(36)",
-                nullable: false,
-                defaultValue: new Guid("00000000-0000-0000-0000-000000000000"),
-                collation: "ascii_general_ci");
-
-            migrationBuilder.AddColumn<string>(
-                name: "ConcurrencyStamp",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "varchar(40)",
-                maxLength: 40,
-                nullable: true)
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<DateTime>(
-                name: "CreationTime",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "datetime(6)",
-                nullable: false,
-                defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
-
-            migrationBuilder.AddColumn<Guid>(
-                name: "CreatorId",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "char(36)",
-                nullable: true,
-                collation: "ascii_general_ci");
-
-            migrationBuilder.AddColumn<Guid>(
-                name: "DeleterId",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "char(36)",
-                nullable: true,
-                collation: "ascii_general_ci");
-
-            migrationBuilder.AddColumn<DateTime>(
-                name: "DeletionTime",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "datetime(6)",
-                nullable: true);
-
-            migrationBuilder.AddColumn<string>(
-                name: "ExtraProperties",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "longtext",
-                nullable: true)
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<bool>(
-                name: "IsDeleted",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "tinyint(1)",
-                nullable: false,
-                defaultValue: false);
-
-            migrationBuilder.AddColumn<bool>(
-                name: "IsDisabled",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "tinyint(1)",
-                nullable: true,
-                defaultValue: false,
-                comment: "鏄惁绂佺敤");
-
-            migrationBuilder.AddColumn<DateTime>(
-                name: "LastModificationTime",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "datetime(6)",
-                nullable: true);
-
-            migrationBuilder.AddColumn<Guid>(
-                name: "LastModifierId",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "char(36)",
-                nullable: true,
-                collation: "ascii_general_ci");
-
-            migrationBuilder.AddColumn<string>(
-                name: "Remark",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "varchar(500)",
-                maxLength: 500,
-                nullable: true,
-                comment: "澶囨敞")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<int>(
-                name: "Sort",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "int",
-                nullable: false,
-                defaultValue: 0,
-                comment: "鎺掑簭");
-
-            migrationBuilder.AddPrimaryKey(
-                name: "PK_scms_wmsinoutstockorderdetail",
-                table: "scms_wmsinoutstockorderdetail",
-                column: "Id");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropPrimaryKey(
-                name: "PK_scms_wmsinoutstockorderdetail",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "Id",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "ConcurrencyStamp",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "CreationTime",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "CreatorId",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "DeleterId",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "DeletionTime",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "ExtraProperties",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "IsDeleted",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "IsDisabled",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "LastModificationTime",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "LastModifierId",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "Remark",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.DropColumn(
-                name: "Sort",
-                table: "scms_wmsinoutstockorderdetail");
-
-            migrationBuilder.AddPrimaryKey(
-                name: "PK_scms_wmsinoutstockorderdetail",
-                table: "scms_wmsinoutstockorderdetail",
-                columns: new[] { "OrderNo", "MaterialId" });
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509054804_InitialCreate10.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509054804_InitialCreate10.Designer.cs
deleted file mode 100644
index 317b4fb..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509054804_InitialCreate10.Designer.cs
+++ /dev/null
@@ -1,1723 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250509054804_InitialCreate10")]
-    partial class InitialCreate10
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlaces.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrder.WmsInOutStockOrder", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("CompleteNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("瀹屾垚鏁伴噺");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("DistributeNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("涓嬪彂鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵规鍙�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<int>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鏁伴噺");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderStatus")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鐘舵��");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷");
-
-                    b.Property<string>("PlanNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍏宠仈璁″垝缂栧彿");
-
-                    b.Property<int>("Priority")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(1)
-                        .HasComment("浼樺厛绾�");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlanNo");
-
-                    b.ToTable("scms_wmsinoutstockorder", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrderDetail.WmsInOutStockOrderDetail", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int?>("MaterialBatch")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("OrderNo", "OrderType");
-
-                    b.ToTable("scms_wmsinoutstockorderdetail", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹槑缁嗚〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialContainer.WmsMaterialContainer", b =>
-                {
-                    b.Property<string>("MaterialId")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("MaterialId", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.ToTable("scms_wmsmaterialcontainer", (string)null);
-
-                    b.HasComment("鐗╂枡瀹瑰櫒鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<int>("MaxStockNumber")
-                        .HasColumnType("int")
-                        .HasComment("鏈�澶у簱瀛橀噺");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsTask.WmsTask", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("DodeviceId")
-                        .HasColumnType("int")
-                        .HasComment("鍫嗗灈鏈篒D");
-
-                    b.Property<int>("Dodevicetype")
-                        .HasColumnType("int")
-                        .HasComment("璁惧绫诲瀷");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int?>("IsNextTask")
-                        .HasColumnType("int")
-                        .HasComment("涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛");
-
-                    b.Property<bool>("IsRead")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("WCS鏄惁鍙互璇诲彇");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MutableParam1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺1");
-
-                    b.Property<string>("MutableParam2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺2");
-
-                    b.Property<string>("MutableParam3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺3");
-
-                    b.Property<int?>("SonTaskType")
-                        .HasColumnType("int")
-                        .HasComment("瀛愪换鍔$被鍨�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourceOrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏉ユ簮鍗曟嵁鍙�");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("TaskDodeviceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璁惧浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskLevel")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绛夌骇");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<int>("TaskStatus")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskType")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绫诲瀷");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("DodeviceId");
-
-                    b.HasIndex("IsRead");
-
-                    b.HasIndex("Sort");
-
-                    b.HasIndex("SourceOrderNo");
-
-                    b.HasIndex("SourcePlace");
-
-                    b.HasIndex("TaskNo")
-                        .IsUnique();
-
-                    b.HasIndex("TaskStatus");
-
-                    b.HasIndex("TaskType");
-
-                    b.HasIndex("ToPlace");
-
-                    b.ToTable("scms_wmstasks", (string)null);
-
-                    b.HasComment("浠诲姟琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509054804_InitialCreate10.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509054804_InitialCreate10.cs
deleted file mode 100644
index c0c0908..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509054804_InitialCreate10.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-锘縰sing Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate10 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AddColumn<int>(
-                name: "MaxStockNumber",
-                table: "scms_wmsplaces",
-                type: "int",
-                nullable: false,
-                defaultValue: 0,
-                comment: "鏈�澶у簱瀛橀噺");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropColumn(
-                name: "MaxStockNumber",
-                table: "scms_wmsplaces");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509065902_InitialCreate11.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509065902_InitialCreate11.Designer.cs
deleted file mode 100644
index 91fd826..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509065902_InitialCreate11.Designer.cs
+++ /dev/null
@@ -1,1781 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250509065902_InitialCreate11")]
-    partial class InitialCreate11
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlaces.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp")
-                        .HasComment("骞跺彂鎴�");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime")
-                        .HasComment("鍒涘缓鏃堕棿");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId")
-                        .HasComment("鍒涘缓浜篒D");
-
-                    b.Property<string>("CreatorName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍒涘缓浜�");
-
-                    b.Property<string>("DeleteRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍒犻櫎澶囨敞");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId")
-                        .HasComment("鍒犻櫎浜篒D");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime")
-                        .HasComment("鍒犻櫎鏃堕棿");
-
-                    b.Property<string>("ExtraField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁1");
-
-                    b.Property<string>("ExtraField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁2");
-
-                    b.Property<string>("ExtraField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁3");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties")
-                        .HasComment("鎵╁睍灞炴��");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted")
-                        .HasComment("鏄惁鍒犻櫎");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime")
-                        .HasComment("淇敼鏃堕棿");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId")
-                        .HasComment("淇敼浜篒D");
-
-                    b.Property<string>("LastModifierName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("淇敼浜�");
-
-                    b.Property<string>("OperationRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎿嶄綔澶囨敞");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrder.WmsInOutStockOrder", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("CompleteNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("瀹屾垚鏁伴噺");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("DistributeNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("涓嬪彂鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵规鍙�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<int>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鏁伴噺");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderStatus")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鐘舵��");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷");
-
-                    b.Property<string>("PlanNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍏宠仈璁″垝缂栧彿");
-
-                    b.Property<int>("Priority")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(1)
-                        .HasComment("浼樺厛绾�");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlanNo");
-
-                    b.ToTable("scms_wmsinoutstockorder", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrderDetail.WmsInOutStockOrderDetail", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int?>("MaterialBatch")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("OrderNo", "OrderType");
-
-                    b.ToTable("scms_wmsinoutstockorderdetail", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹槑缁嗚〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialContainer.WmsMaterialContainer", b =>
-                {
-                    b.Property<string>("MaterialId")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("MaterialId", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.ToTable("scms_wmsmaterialcontainer", (string)null);
-
-                    b.HasComment("鐗╂枡瀹瑰櫒鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<int>("MaxStockNumber")
-                        .HasColumnType("int")
-                        .HasComment("鏈�澶у簱瀛橀噺");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsTask.WmsTask", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("DodeviceId")
-                        .HasColumnType("int")
-                        .HasComment("鍫嗗灈鏈篒D");
-
-                    b.Property<int>("Dodevicetype")
-                        .HasColumnType("int")
-                        .HasComment("璁惧绫诲瀷");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int?>("IsNextTask")
-                        .HasColumnType("int")
-                        .HasComment("涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛");
-
-                    b.Property<bool>("IsRead")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("WCS鏄惁鍙互璇诲彇");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MutableParam1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺1");
-
-                    b.Property<string>("MutableParam2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺2");
-
-                    b.Property<string>("MutableParam3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺3");
-
-                    b.Property<int?>("SonTaskType")
-                        .HasColumnType("int")
-                        .HasComment("瀛愪换鍔$被鍨�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourceOrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏉ユ簮鍗曟嵁鍙�");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("TaskDodeviceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璁惧浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskLevel")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绛夌骇");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<int>("TaskStatus")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskType")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绫诲瀷");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("DodeviceId");
-
-                    b.HasIndex("IsRead");
-
-                    b.HasIndex("Sort");
-
-                    b.HasIndex("SourceOrderNo");
-
-                    b.HasIndex("SourcePlace");
-
-                    b.HasIndex("TaskNo")
-                        .IsUnique();
-
-                    b.HasIndex("TaskStatus");
-
-                    b.HasIndex("TaskType");
-
-                    b.HasIndex("ToPlace");
-
-                    b.ToTable("scms_wmstasks", (string)null);
-
-                    b.HasComment("浠诲姟琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509065902_InitialCreate11.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509065902_InitialCreate11.cs
deleted file mode 100644
index 78c395b..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250509065902_InitialCreate11.cs
+++ /dev/null
@@ -1,372 +0,0 @@
-锘縰sing System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate11 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AlterColumn<int>(
-                name: "Sort",
-                table: "scms_wmscontainerplaces",
-                type: "int",
-                nullable: false,
-                defaultValue: 0,
-                comment: "鎺掑簭",
-                oldClrType: typeof(int),
-                oldType: "int");
-
-            migrationBuilder.AlterColumn<Guid>(
-                name: "LastModifierId",
-                table: "scms_wmscontainerplaces",
-                type: "char(36)",
-                maxLength: 36,
-                nullable: true,
-                comment: "淇敼浜篒D",
-                collation: "ascii_general_ci",
-                oldClrType: typeof(Guid),
-                oldType: "char(36)",
-                oldNullable: true)
-                .OldAnnotation("Relational:Collation", "ascii_general_ci");
-
-            migrationBuilder.AlterColumn<DateTime>(
-                name: "LastModificationTime",
-                table: "scms_wmscontainerplaces",
-                type: "datetime(6)",
-                nullable: true,
-                comment: "淇敼鏃堕棿",
-                oldClrType: typeof(DateTime),
-                oldType: "datetime(6)",
-                oldNullable: true);
-
-            migrationBuilder.AlterColumn<bool>(
-                name: "IsDisabled",
-                table: "scms_wmscontainerplaces",
-                type: "tinyint(1)",
-                nullable: true,
-                defaultValue: false,
-                comment: "鏄惁绂佺敤",
-                oldClrType: typeof(bool),
-                oldType: "tinyint(1)",
-                oldNullable: true);
-
-            migrationBuilder.AlterColumn<bool>(
-                name: "IsDeleted",
-                table: "scms_wmscontainerplaces",
-                type: "tinyint(1)",
-                nullable: false,
-                defaultValue: false,
-                comment: "鏄惁鍒犻櫎",
-                oldClrType: typeof(bool),
-                oldType: "tinyint(1)",
-                oldDefaultValue: false);
-
-            migrationBuilder.AlterColumn<string>(
-                name: "ExtraProperties",
-                table: "scms_wmscontainerplaces",
-                type: "longtext",
-                nullable: true,
-                comment: "鎵╁睍灞炴��",
-                oldClrType: typeof(string),
-                oldType: "longtext",
-                oldNullable: true)
-                .Annotation("MySql:CharSet", "utf8mb4")
-                .OldAnnotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AlterColumn<DateTime>(
-                name: "DeletionTime",
-                table: "scms_wmscontainerplaces",
-                type: "datetime(6)",
-                nullable: true,
-                comment: "鍒犻櫎鏃堕棿",
-                oldClrType: typeof(DateTime),
-                oldType: "datetime(6)",
-                oldNullable: true);
-
-            migrationBuilder.AlterColumn<Guid>(
-                name: "DeleterId",
-                table: "scms_wmscontainerplaces",
-                type: "char(36)",
-                maxLength: 36,
-                nullable: true,
-                comment: "鍒犻櫎浜篒D",
-                collation: "ascii_general_ci",
-                oldClrType: typeof(Guid),
-                oldType: "char(36)",
-                oldNullable: true)
-                .OldAnnotation("Relational:Collation", "ascii_general_ci");
-
-            migrationBuilder.AlterColumn<Guid>(
-                name: "CreatorId",
-                table: "scms_wmscontainerplaces",
-                type: "char(36)",
-                maxLength: 36,
-                nullable: true,
-                comment: "鍒涘缓浜篒D",
-                collation: "ascii_general_ci",
-                oldClrType: typeof(Guid),
-                oldType: "char(36)",
-                oldNullable: true)
-                .OldAnnotation("Relational:Collation", "ascii_general_ci");
-
-            migrationBuilder.AlterColumn<DateTime>(
-                name: "CreationTime",
-                table: "scms_wmscontainerplaces",
-                type: "datetime(6)",
-                nullable: false,
-                comment: "鍒涘缓鏃堕棿",
-                oldClrType: typeof(DateTime),
-                oldType: "datetime(6)");
-
-            migrationBuilder.AlterColumn<string>(
-                name: "ConcurrencyStamp",
-                table: "scms_wmscontainerplaces",
-                type: "varchar(40)",
-                maxLength: 40,
-                nullable: true,
-                comment: "骞跺彂鎴�",
-                oldClrType: typeof(string),
-                oldType: "varchar(40)",
-                oldMaxLength: 40,
-                oldNullable: true)
-                .Annotation("MySql:CharSet", "utf8mb4")
-                .OldAnnotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<string>(
-                name: "CreatorName",
-                table: "scms_wmscontainerplaces",
-                type: "varchar(64)",
-                maxLength: 64,
-                nullable: true,
-                comment: "鍒涘缓浜�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<string>(
-                name: "DeleteRemark",
-                table: "scms_wmscontainerplaces",
-                type: "varchar(256)",
-                maxLength: 256,
-                nullable: true,
-                comment: "鍒犻櫎澶囨敞")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<string>(
-                name: "ExtraField1",
-                table: "scms_wmscontainerplaces",
-                type: "varchar(256)",
-                maxLength: 256,
-                nullable: true,
-                comment: "鎵╁睍瀛楁1")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<string>(
-                name: "ExtraField2",
-                table: "scms_wmscontainerplaces",
-                type: "varchar(256)",
-                maxLength: 256,
-                nullable: true,
-                comment: "鎵╁睍瀛楁2")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<string>(
-                name: "ExtraField3",
-                table: "scms_wmscontainerplaces",
-                type: "varchar(256)",
-                maxLength: 256,
-                nullable: true,
-                comment: "鎵╁睍瀛楁3")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<string>(
-                name: "LastModifierName",
-                table: "scms_wmscontainerplaces",
-                type: "varchar(64)",
-                maxLength: 64,
-                nullable: true,
-                comment: "淇敼浜�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<string>(
-                name: "OperationRemark",
-                table: "scms_wmscontainerplaces",
-                type: "varchar(256)",
-                maxLength: 256,
-                nullable: true,
-                comment: "鎿嶄綔澶囨敞")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<string>(
-                name: "Remark",
-                table: "scms_wmscontainerplaces",
-                type: "varchar(256)",
-                maxLength: 256,
-                nullable: true,
-                comment: "澶囨敞")
-                .Annotation("MySql:CharSet", "utf8mb4");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropColumn(
-                name: "CreatorName",
-                table: "scms_wmscontainerplaces");
-
-            migrationBuilder.DropColumn(
-                name: "DeleteRemark",
-                table: "scms_wmscontainerplaces");
-
-            migrationBuilder.DropColumn(
-                name: "ExtraField1",
-                table: "scms_wmscontainerplaces");
-
-            migrationBuilder.DropColumn(
-                name: "ExtraField2",
-                table: "scms_wmscontainerplaces");
-
-            migrationBuilder.DropColumn(
-                name: "ExtraField3",
-                table: "scms_wmscontainerplaces");
-
-            migrationBuilder.DropColumn(
-                name: "LastModifierName",
-                table: "scms_wmscontainerplaces");
-
-            migrationBuilder.DropColumn(
-                name: "OperationRemark",
-                table: "scms_wmscontainerplaces");
-
-            migrationBuilder.DropColumn(
-                name: "Remark",
-                table: "scms_wmscontainerplaces");
-
-            migrationBuilder.AlterColumn<int>(
-                name: "Sort",
-                table: "scms_wmscontainerplaces",
-                type: "int",
-                nullable: false,
-                oldClrType: typeof(int),
-                oldType: "int",
-                oldDefaultValue: 0,
-                oldComment: "鎺掑簭");
-
-            migrationBuilder.AlterColumn<Guid>(
-                name: "LastModifierId",
-                table: "scms_wmscontainerplaces",
-                type: "char(36)",
-                nullable: true,
-                collation: "ascii_general_ci",
-                oldClrType: typeof(Guid),
-                oldType: "char(36)",
-                oldMaxLength: 36,
-                oldNullable: true,
-                oldComment: "淇敼浜篒D")
-                .OldAnnotation("Relational:Collation", "ascii_general_ci");
-
-            migrationBuilder.AlterColumn<DateTime>(
-                name: "LastModificationTime",
-                table: "scms_wmscontainerplaces",
-                type: "datetime(6)",
-                nullable: true,
-                oldClrType: typeof(DateTime),
-                oldType: "datetime(6)",
-                oldNullable: true,
-                oldComment: "淇敼鏃堕棿");
-
-            migrationBuilder.AlterColumn<bool>(
-                name: "IsDisabled",
-                table: "scms_wmscontainerplaces",
-                type: "tinyint(1)",
-                nullable: true,
-                oldClrType: typeof(bool),
-                oldType: "tinyint(1)",
-                oldNullable: true,
-                oldDefaultValue: false,
-                oldComment: "鏄惁绂佺敤");
-
-            migrationBuilder.AlterColumn<bool>(
-                name: "IsDeleted",
-                table: "scms_wmscontainerplaces",
-                type: "tinyint(1)",
-                nullable: false,
-                defaultValue: false,
-                oldClrType: typeof(bool),
-                oldType: "tinyint(1)",
-                oldDefaultValue: false,
-                oldComment: "鏄惁鍒犻櫎");
-
-            migrationBuilder.AlterColumn<string>(
-                name: "ExtraProperties",
-                table: "scms_wmscontainerplaces",
-                type: "longtext",
-                nullable: true,
-                oldClrType: typeof(string),
-                oldType: "longtext",
-                oldNullable: true,
-                oldComment: "鎵╁睍灞炴��")
-                .Annotation("MySql:CharSet", "utf8mb4")
-                .OldAnnotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AlterColumn<DateTime>(
-                name: "DeletionTime",
-                table: "scms_wmscontainerplaces",
-                type: "datetime(6)",
-                nullable: true,
-                oldClrType: typeof(DateTime),
-                oldType: "datetime(6)",
-                oldNullable: true,
-                oldComment: "鍒犻櫎鏃堕棿");
-
-            migrationBuilder.AlterColumn<Guid>(
-                name: "DeleterId",
-                table: "scms_wmscontainerplaces",
-                type: "char(36)",
-                nullable: true,
-                collation: "ascii_general_ci",
-                oldClrType: typeof(Guid),
-                oldType: "char(36)",
-                oldMaxLength: 36,
-                oldNullable: true,
-                oldComment: "鍒犻櫎浜篒D")
-                .OldAnnotation("Relational:Collation", "ascii_general_ci");
-
-            migrationBuilder.AlterColumn<Guid>(
-                name: "CreatorId",
-                table: "scms_wmscontainerplaces",
-                type: "char(36)",
-                nullable: true,
-                collation: "ascii_general_ci",
-                oldClrType: typeof(Guid),
-                oldType: "char(36)",
-                oldMaxLength: 36,
-                oldNullable: true,
-                oldComment: "鍒涘缓浜篒D")
-                .OldAnnotation("Relational:Collation", "ascii_general_ci");
-
-            migrationBuilder.AlterColumn<DateTime>(
-                name: "CreationTime",
-                table: "scms_wmscontainerplaces",
-                type: "datetime(6)",
-                nullable: false,
-                oldClrType: typeof(DateTime),
-                oldType: "datetime(6)",
-                oldComment: "鍒涘缓鏃堕棿");
-
-            migrationBuilder.AlterColumn<string>(
-                name: "ConcurrencyStamp",
-                table: "scms_wmscontainerplaces",
-                type: "varchar(40)",
-                maxLength: 40,
-                nullable: true,
-                oldClrType: typeof(string),
-                oldType: "varchar(40)",
-                oldMaxLength: 40,
-                oldNullable: true,
-                oldComment: "骞跺彂鎴�")
-                .Annotation("MySql:CharSet", "utf8mb4")
-                .OldAnnotation("MySql:CharSet", "utf8mb4");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511062110_InitialCreate12.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511062110_InitialCreate12.Designer.cs
deleted file mode 100644
index 6b888bd..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511062110_InitialCreate12.Designer.cs
+++ /dev/null
@@ -1,1781 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250511062110_InitialCreate12")]
-    partial class InitialCreate12
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlace.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp")
-                        .HasComment("骞跺彂鎴�");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime")
-                        .HasComment("鍒涘缓鏃堕棿");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId")
-                        .HasComment("鍒涘缓浜篒D");
-
-                    b.Property<string>("CreatorName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍒涘缓浜�");
-
-                    b.Property<string>("DeleteRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍒犻櫎澶囨敞");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId")
-                        .HasComment("鍒犻櫎浜篒D");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime")
-                        .HasComment("鍒犻櫎鏃堕棿");
-
-                    b.Property<string>("ExtraField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁1");
-
-                    b.Property<string>("ExtraField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁2");
-
-                    b.Property<string>("ExtraField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁3");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties")
-                        .HasComment("鎵╁睍灞炴��");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted")
-                        .HasComment("鏄惁鍒犻櫎");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime")
-                        .HasComment("淇敼鏃堕棿");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId")
-                        .HasComment("淇敼浜篒D");
-
-                    b.Property<string>("LastModifierName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("淇敼浜�");
-
-                    b.Property<string>("OperationRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎿嶄綔澶囨敞");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrder.WmsInOutStockOrder", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("CompleteNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("瀹屾垚鏁伴噺");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("DistributeNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("涓嬪彂鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵规鍙�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<int>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鏁伴噺");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderStatus")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鐘舵��");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷");
-
-                    b.Property<string>("PlanNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍏宠仈璁″垝缂栧彿");
-
-                    b.Property<int>("Priority")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(1)
-                        .HasComment("浼樺厛绾�");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlanNo");
-
-                    b.ToTable("scms_wmsinoutstockorder", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrderDetail.WmsInOutStockOrderDetail", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int?>("MaterialBatch")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("OrderNo", "OrderType");
-
-                    b.ToTable("scms_wmsinoutstockorderdetail", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹槑缁嗚〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialContainer.WmsMaterialContainer", b =>
-                {
-                    b.Property<string>("MaterialId")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("MaterialId", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.ToTable("scms_wmsmaterialcontainer", (string)null);
-
-                    b.HasComment("鐗╂枡瀹瑰櫒鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<int>("MaxStockNumber")
-                        .HasColumnType("int")
-                        .HasComment("鏈�澶у簱瀛橀噺");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsTask.WmsTask", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("DodeviceId")
-                        .HasColumnType("int")
-                        .HasComment("鍫嗗灈鏈篒D");
-
-                    b.Property<int>("Dodevicetype")
-                        .HasColumnType("int")
-                        .HasComment("璁惧绫诲瀷");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int?>("IsNextTask")
-                        .HasColumnType("int")
-                        .HasComment("涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛");
-
-                    b.Property<bool>("IsRead")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("WCS鏄惁鍙互璇诲彇");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MutableParam1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺1");
-
-                    b.Property<string>("MutableParam2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺2");
-
-                    b.Property<string>("MutableParam3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺3");
-
-                    b.Property<int?>("SonTaskType")
-                        .HasColumnType("int")
-                        .HasComment("瀛愪换鍔$被鍨�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourceOrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏉ユ簮鍗曟嵁鍙�");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("TaskDodeviceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璁惧浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskLevel")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绛夌骇");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<int>("TaskStatus")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskType")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绫诲瀷");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("DodeviceId");
-
-                    b.HasIndex("IsRead");
-
-                    b.HasIndex("Sort");
-
-                    b.HasIndex("SourceOrderNo");
-
-                    b.HasIndex("SourcePlace");
-
-                    b.HasIndex("TaskNo")
-                        .IsUnique();
-
-                    b.HasIndex("TaskStatus");
-
-                    b.HasIndex("TaskType");
-
-                    b.HasIndex("ToPlace");
-
-                    b.ToTable("scms_wmstasks", (string)null);
-
-                    b.HasComment("浠诲姟琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511062110_InitialCreate12.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511062110_InitialCreate12.cs
deleted file mode 100644
index b4bd58f..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511062110_InitialCreate12.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-锘縰sing Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate12 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511113739_InitialCreate13.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511113739_InitialCreate13.Designer.cs
deleted file mode 100644
index 3fede84..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511113739_InitialCreate13.Designer.cs
+++ /dev/null
@@ -1,1787 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250511113739_InitialCreate13")]
-    partial class InitialCreate13
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlace.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp")
-                        .HasComment("骞跺彂鎴�");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime")
-                        .HasComment("鍒涘缓鏃堕棿");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId")
-                        .HasComment("鍒涘缓浜篒D");
-
-                    b.Property<string>("CreatorName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍒涘缓浜�");
-
-                    b.Property<string>("DeleteRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍒犻櫎澶囨敞");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId")
-                        .HasComment("鍒犻櫎浜篒D");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime")
-                        .HasComment("鍒犻櫎鏃堕棿");
-
-                    b.Property<string>("ExtraField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁1");
-
-                    b.Property<string>("ExtraField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁2");
-
-                    b.Property<string>("ExtraField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁3");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties")
-                        .HasComment("鎵╁睍灞炴��");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted")
-                        .HasComment("鏄惁鍒犻櫎");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime")
-                        .HasComment("淇敼鏃堕棿");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId")
-                        .HasComment("淇敼浜篒D");
-
-                    b.Property<string>("LastModifierName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("淇敼浜�");
-
-                    b.Property<string>("OperationRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎿嶄綔澶囨敞");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrder.WmsInOutStockOrder", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("CompleteNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("瀹屾垚鏁伴噺");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("DistributeNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("涓嬪彂鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵规鍙�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<int>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鏁伴噺");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderStatus")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鐘舵��");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷");
-
-                    b.Property<string>("PlanNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍏宠仈璁″垝缂栧彿");
-
-                    b.Property<int>("Priority")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(1)
-                        .HasComment("浼樺厛绾�");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlanNo");
-
-                    b.ToTable("scms_wmsinoutstockorder", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrderDetail.WmsInOutStockOrderDetail", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("OrderNo", "OrderType");
-
-                    b.ToTable("scms_wmsinoutstockorderdetail", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹槑缁嗚〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialContainer.WmsMaterialContainer", b =>
-                {
-                    b.Property<string>("MaterialId")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("MaterialId", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.ToTable("scms_wmsmaterialcontainer", (string)null);
-
-                    b.HasComment("鐗╂枡瀹瑰櫒鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<int>("MaxStockNumber")
-                        .HasColumnType("int")
-                        .HasComment("鏈�澶у簱瀛橀噺");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsTask.WmsTask", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("DodeviceId")
-                        .HasColumnType("int")
-                        .HasComment("鍫嗗灈鏈篒D");
-
-                    b.Property<int>("Dodevicetype")
-                        .HasColumnType("int")
-                        .HasComment("璁惧绫诲瀷");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int?>("IsNextTask")
-                        .HasColumnType("int")
-                        .HasComment("涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛");
-
-                    b.Property<bool>("IsRead")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("WCS鏄惁鍙互璇诲彇");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MutableParam1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺1");
-
-                    b.Property<string>("MutableParam2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺2");
-
-                    b.Property<string>("MutableParam3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺3");
-
-                    b.Property<int?>("SonTaskType")
-                        .HasColumnType("int")
-                        .HasComment("瀛愪换鍔$被鍨�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourceOrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏉ユ簮鍗曟嵁鍙�");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("TaskDodeviceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璁惧浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskLevel")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绛夌骇");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<int>("TaskStatus")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskType")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绫诲瀷");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("DodeviceId");
-
-                    b.HasIndex("IsRead");
-
-                    b.HasIndex("Sort");
-
-                    b.HasIndex("SourceOrderNo");
-
-                    b.HasIndex("SourcePlace");
-
-                    b.HasIndex("TaskNo")
-                        .IsUnique();
-
-                    b.HasIndex("TaskStatus");
-
-                    b.HasIndex("TaskType");
-
-                    b.HasIndex("ToPlace");
-
-                    b.ToTable("scms_wmstasks", (string)null);
-
-                    b.HasComment("浠诲姟琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511113739_InitialCreate13.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511113739_InitialCreate13.cs
deleted file mode 100644
index d34fed0..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511113739_InitialCreate13.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-锘縰sing Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate13 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AddColumn<string>(
-                name: "MaterialBatch",
-                table: "scms_wmsinoutstockrecords",
-                type: "varchar(64)",
-                maxLength: 64,
-                nullable: true,
-                comment: "鐗╂枡鎵规")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AlterColumn<string>(
-                name: "MaterialBatch",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "varchar(50)",
-                maxLength: 50,
-                nullable: true,
-                comment: "鐗╂枡鎵规",
-                oldClrType: typeof(int),
-                oldType: "int",
-                oldNullable: true,
-                oldComment: "鐗╂枡鎵规")
-                .Annotation("MySql:CharSet", "utf8mb4");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropColumn(
-                name: "MaterialBatch",
-                table: "scms_wmsinoutstockrecords");
-
-            migrationBuilder.AlterColumn<int>(
-                name: "MaterialBatch",
-                table: "scms_wmsinoutstockorderdetail",
-                type: "int",
-                nullable: true,
-                comment: "鐗╂枡鎵规",
-                oldClrType: typeof(string),
-                oldType: "varchar(50)",
-                oldMaxLength: 50,
-                oldNullable: true,
-                oldComment: "鐗╂枡鎵规")
-                .OldAnnotation("MySql:CharSet", "utf8mb4");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511134948_InitialCreate14.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511134948_InitialCreate14.Designer.cs
deleted file mode 100644
index 5caa8e9..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511134948_InitialCreate14.Designer.cs
+++ /dev/null
@@ -1,1786 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250511134948_InitialCreate14")]
-    partial class InitialCreate14
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlace.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp")
-                        .HasComment("骞跺彂鎴�");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime")
-                        .HasComment("鍒涘缓鏃堕棿");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId")
-                        .HasComment("鍒涘缓浜篒D");
-
-                    b.Property<string>("CreatorName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍒涘缓浜�");
-
-                    b.Property<string>("DeleteRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍒犻櫎澶囨敞");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId")
-                        .HasComment("鍒犻櫎浜篒D");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime")
-                        .HasComment("鍒犻櫎鏃堕棿");
-
-                    b.Property<string>("ExtraField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁1");
-
-                    b.Property<string>("ExtraField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁2");
-
-                    b.Property<string>("ExtraField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁3");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties")
-                        .HasComment("鎵╁睍灞炴��");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted")
-                        .HasComment("鏄惁鍒犻櫎");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime")
-                        .HasComment("淇敼鏃堕棿");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId")
-                        .HasComment("淇敼浜篒D");
-
-                    b.Property<string>("LastModifierName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("淇敼浜�");
-
-                    b.Property<string>("OperationRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎿嶄綔澶囨敞");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrder.WmsInOutStockOrder", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("CompleteNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("瀹屾垚鏁伴噺");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("DistributeNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("涓嬪彂鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵规鍙�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<int>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鏁伴噺");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderStatus")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鐘舵��");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷");
-
-                    b.Property<string>("PlanNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍏宠仈璁″垝缂栧彿");
-
-                    b.Property<int>("Priority")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(1)
-                        .HasComment("浼樺厛绾�");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlanNo");
-
-                    b.ToTable("scms_wmsinoutstockorder", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrderDetail.WmsInOutStockOrderDetail", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("OrderNo", "OrderType");
-
-                    b.ToTable("scms_wmsinoutstockorderdetail", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹槑缁嗚〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialContainer.WmsMaterialContainer", b =>
-                {
-                    b.Property<string>("MaterialId")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("MaterialId", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.ToTable("scms_wmsmaterialcontainer", (string)null);
-
-                    b.HasComment("鐗╂枡瀹瑰櫒鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<int>("MaxStockNumber")
-                        .HasColumnType("int")
-                        .HasComment("鏈�澶у簱瀛橀噺");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsTask.WmsTask", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("DodeviceId")
-                        .HasColumnType("int")
-                        .HasComment("鍫嗗灈鏈篒D");
-
-                    b.Property<int>("Dodevicetype")
-                        .HasColumnType("int")
-                        .HasComment("璁惧绫诲瀷");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int?>("IsNextTask")
-                        .HasColumnType("int")
-                        .HasComment("涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛");
-
-                    b.Property<bool>("IsRead")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("WCS鏄惁鍙互璇诲彇");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MutableParam1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺1");
-
-                    b.Property<string>("MutableParam2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺2");
-
-                    b.Property<string>("MutableParam3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺3");
-
-                    b.Property<int?>("SonTaskType")
-                        .HasColumnType("int")
-                        .HasComment("瀛愪换鍔$被鍨�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourceOrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏉ユ簮鍗曟嵁鍙�");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("TaskDodeviceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璁惧浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskLevel")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绛夌骇");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<int>("TaskStatus")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskType")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绫诲瀷");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("DodeviceId");
-
-                    b.HasIndex("IsRead");
-
-                    b.HasIndex("Sort");
-
-                    b.HasIndex("SourceOrderNo");
-
-                    b.HasIndex("SourcePlace");
-
-                    b.HasIndex("TaskNo")
-                        .IsUnique();
-
-                    b.HasIndex("TaskStatus");
-
-                    b.HasIndex("TaskType");
-
-                    b.HasIndex("ToPlace");
-
-                    b.ToTable("scms_wmstasks", (string)null);
-
-                    b.HasComment("浠诲姟琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511134948_InitialCreate14.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511134948_InitialCreate14.cs
deleted file mode 100644
index 34d26ec..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250511134948_InitialCreate14.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-锘縰sing Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate14 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AlterColumn<string>(
-                name: "OrderNo",
-                table: "scms_wmsinoutstockrecords",
-                type: "varchar(50)",
-                maxLength: 50,
-                nullable: true,
-                comment: "鍗曟嵁缂栧彿",
-                oldClrType: typeof(string),
-                oldType: "varchar(50)",
-                oldMaxLength: 50,
-                oldComment: "鍗曟嵁缂栧彿")
-                .Annotation("MySql:CharSet", "utf8mb4")
-                .OldAnnotation("MySql:CharSet", "utf8mb4");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.UpdateData(
-                table: "scms_wmsinoutstockrecords",
-                keyColumn: "OrderNo",
-                keyValue: null,
-                column: "OrderNo",
-                value: "");
-
-            migrationBuilder.AlterColumn<string>(
-                name: "OrderNo",
-                table: "scms_wmsinoutstockrecords",
-                type: "varchar(50)",
-                maxLength: 50,
-                nullable: false,
-                comment: "鍗曟嵁缂栧彿",
-                oldClrType: typeof(string),
-                oldType: "varchar(50)",
-                oldMaxLength: 50,
-                oldNullable: true,
-                oldComment: "鍗曟嵁缂栧彿")
-                .Annotation("MySql:CharSet", "utf8mb4")
-                .OldAnnotation("MySql:CharSet", "utf8mb4");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250512042203_InitialCreate15.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250512042203_InitialCreate15.Designer.cs
deleted file mode 100644
index a568ea6..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250512042203_InitialCreate15.Designer.cs
+++ /dev/null
@@ -1,1792 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250512042203_InitialCreate15")]
-    partial class InitialCreate15
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlace.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp")
-                        .HasComment("骞跺彂鎴�");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime")
-                        .HasComment("鍒涘缓鏃堕棿");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId")
-                        .HasComment("鍒涘缓浜篒D");
-
-                    b.Property<string>("CreatorName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍒涘缓浜�");
-
-                    b.Property<string>("DeleteRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍒犻櫎澶囨敞");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId")
-                        .HasComment("鍒犻櫎浜篒D");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime")
-                        .HasComment("鍒犻櫎鏃堕棿");
-
-                    b.Property<string>("ExtraField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁1");
-
-                    b.Property<string>("ExtraField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁2");
-
-                    b.Property<string>("ExtraField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁3");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties")
-                        .HasComment("鎵╁睍灞炴��");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted")
-                        .HasComment("鏄惁鍒犻櫎");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime")
-                        .HasComment("淇敼鏃堕棿");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId")
-                        .HasComment("淇敼浜篒D");
-
-                    b.Property<string>("LastModifierName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("淇敼浜�");
-
-                    b.Property<string>("OperationRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎿嶄綔澶囨敞");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrder.WmsInOutStockOrder", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("CompleteNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("瀹屾垚鏁伴噺");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("DistributeNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("涓嬪彂鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵规鍙�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<int>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鏁伴噺");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderStatus")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鐘舵��");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷");
-
-                    b.Property<string>("PlanNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍏宠仈璁″垝缂栧彿");
-
-                    b.Property<int>("Priority")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(1)
-                        .HasComment("浼樺厛绾�");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlanNo");
-
-                    b.ToTable("scms_wmsinoutstockorder", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrderDetail.WmsInOutStockOrderDetail", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("OrderNo", "OrderType");
-
-                    b.ToTable("scms_wmsinoutstockorderdetail", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹槑缁嗚〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialContainer.WmsMaterialContainer", b =>
-                {
-                    b.Property<string>("MaterialId")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("MaterialId", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.ToTable("scms_wmsmaterialcontainer", (string)null);
-
-                    b.HasComment("鐗╂枡瀹瑰櫒鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<int>("MaxStockNumber")
-                        .HasColumnType("int")
-                        .HasComment("鏈�澶у簱瀛橀噺");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsTask.WmsTask", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("DodeviceId")
-                        .HasColumnType("int")
-                        .HasComment("鍫嗗灈鏈篒D");
-
-                    b.Property<int>("Dodevicetype")
-                        .HasColumnType("int")
-                        .HasComment("璁惧绫诲瀷");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int?>("IsNextTask")
-                        .HasColumnType("int")
-                        .HasComment("涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛");
-
-                    b.Property<bool>("IsRead")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("WCS鏄惁鍙互璇诲彇");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MutableParam1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺1");
-
-                    b.Property<string>("MutableParam2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺2");
-
-                    b.Property<string>("MutableParam3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺3");
-
-                    b.Property<int>("PlcTaskId")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int?>("SonTaskType")
-                        .HasColumnType("int")
-                        .HasComment("瀛愪换鍔$被鍨�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourceOrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏉ユ簮鍗曟嵁鍙�");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("TaskDodeviceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璁惧浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskLevel")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绛夌骇");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<int>("TaskStatus")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskType")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绫诲瀷");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("DodeviceId");
-
-                    b.HasIndex("IsRead");
-
-                    b.HasIndex("Sort");
-
-                    b.HasIndex("SourceOrderNo");
-
-                    b.HasIndex("SourcePlace");
-
-                    b.HasIndex("TaskNo")
-                        .IsUnique();
-
-                    b.HasIndex("TaskStatus");
-
-                    b.HasIndex("TaskType");
-
-                    b.HasIndex("ToPlace");
-
-                    b.ToTable("scms_wmstasks", (string)null);
-
-                    b.HasComment("浠诲姟琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250512042203_InitialCreate15.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250512042203_InitialCreate15.cs
deleted file mode 100644
index 9314c1b..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250512042203_InitialCreate15.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-锘縰sing Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate15 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AddColumn<int>(
-                name: "PlcTaskId",
-                table: "scms_wmstasks",
-                type: "int",
-                nullable: false,
-                defaultValue: 0,
-                comment: "浠诲姟鐘舵��");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropColumn(
-                name: "PlcTaskId",
-                table: "scms_wmstasks");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250513090705_InitialCreate16.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250513090705_InitialCreate16.Designer.cs
deleted file mode 100644
index 779f9af..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250513090705_InitialCreate16.Designer.cs
+++ /dev/null
@@ -1,1794 +0,0 @@
-锘�// <auto-generated />
-using System;
-using CMS.Plugin.HIAWms.MySQL;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250513090705_InitialCreate16")]
-    partial class InitialCreate16
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.16")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaDesc")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鎻忚堪");
-
-                    b.Property<string>("AreaName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<string>("AreaNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撳尯缂栧彿");
-
-                    b.Property<int>("AreaStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯鐘舵��");
-
-                    b.Property<int>("AreaType")
-                        .HasColumnType("int")
-                        .HasComment("搴撳尯绫诲瀷");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaName");
-
-                    b.ToTable("scms_wmsareas", (string)null);
-
-                    b.HasComment("搴撳尯琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlace.WmsContainerPlace", b =>
-                {
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("搴撲綅缂栫爜");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp")
-                        .HasComment("骞跺彂鎴�");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime")
-                        .HasComment("鍒涘缓鏃堕棿");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId")
-                        .HasComment("鍒涘缓浜篒D");
-
-                    b.Property<string>("CreatorName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍒涘缓浜�");
-
-                    b.Property<string>("DeleteRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍒犻櫎澶囨敞");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId")
-                        .HasComment("鍒犻櫎浜篒D");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime")
-                        .HasComment("鍒犻櫎鏃堕棿");
-
-                    b.Property<string>("ExtraField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁1");
-
-                    b.Property<string>("ExtraField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁2");
-
-                    b.Property<string>("ExtraField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎵╁睍瀛楁3");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties")
-                        .HasComment("鎵╁睍灞炴��");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted")
-                        .HasComment("鏄惁鍒犻櫎");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime")
-                        .HasComment("淇敼鏃堕棿");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasMaxLength(36)
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId")
-                        .HasComment("淇敼浜篒D");
-
-                    b.Property<string>("LastModifierName")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("淇敼浜�");
-
-                    b.Property<string>("OperationRemark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鎿嶄綔澶囨敞");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("PlaceNo", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.ToTable("scms_wmscontainerplaces", (string)null);
-
-                    b.HasComment("瀹瑰櫒搴撲綅鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainers.WmsContainer", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("鎵樼洏绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("ExceptionNumber")
-                        .HasColumnType("int")
-                        .HasComment("寮傚父鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal?>("LimitHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰珮");
-
-                    b.Property<decimal?>("LimitLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愰暱");
-
-                    b.Property<decimal?>("LimitWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闄愬");
-
-                    b.Property<int?>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡鏁伴噺");
-
-                    b.Property<decimal?>("MaxWeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("杞介噸涓婇檺");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<decimal?>("SpecHeight")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("楂樺害");
-
-                    b.Property<decimal?>("SpecLength")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害");
-
-                    b.Property<decimal?>("SpecWidth")
-                        .HasPrecision(18, 2)
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("瀹藉害");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo")
-                        .IsUnique();
-
-                    b.HasIndex("ContainerStatus");
-
-                    b.HasIndex("ContainerType");
-
-                    b.ToTable("scms_wmscontainers", (string)null);
-
-                    b.HasComment("鎵樼洏淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrder.WmsInOutStockOrder", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("CompleteNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("瀹屾垚鏁伴噺");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("DistributeNumber")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("涓嬪彂鏁伴噺");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵规鍙�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<int>("MaterialNumber")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鏁伴噺");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderStatus")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁鐘舵��");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷");
-
-                    b.Property<string>("PlanNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍏宠仈璁″垝缂栧彿");
-
-                    b.Property<int>("Priority")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(1)
-                        .HasComment("浼樺厛绾�");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlanNo");
-
-                    b.ToTable("scms_wmsinoutstockorder", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockOrderDetail.WmsInOutStockOrderDetail", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<string>("OrderNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<int>("OrderType")
-                        .HasColumnType("int")
-                        .HasComment("鍗曟嵁绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("OrderNo", "OrderType");
-
-                    b.ToTable("scms_wmsinoutstockorderdetail", (string)null);
-
-                    b.HasComment("鍑哄叆搴撳崟鎹槑缁嗚〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord.WmsInOutStockRecord", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷");
-
-                    b.Property<string>("MaterialName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠跺彿");
-
-                    b.Property<DateTime?>("OperateTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鎿嶄綔鏃堕棿");
-
-                    b.Property<string>("OrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鍗曟嵁缂栧彿");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("StockType")
-                        .HasColumnType("int")
-                        .HasComment("鎿嶄綔绫诲瀷");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("OperateTime");
-
-                    b.HasIndex("OrderNo");
-
-                    b.HasIndex("StockType");
-
-                    b.HasIndex("TaskNo");
-
-                    b.ToTable("scms_wmsinoutstockrecords", (string)null);
-
-                    b.HasComment("鍑哄叆搴撹褰曡〃");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialContainer.WmsMaterialContainer", b =>
-                {
-                    b.Property<string>("MaterialId")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<Guid>("Id")
-                        .HasColumnType("char(36)");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("MaterialId", "ContainerNo");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialId");
-
-                    b.ToTable("scms_wmsmaterialcontainer", (string)null);
-
-                    b.HasComment("鐗╂枡瀹瑰櫒鍏崇郴琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialInfos.WmsMaterialInfo", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡鎵瑰彿");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鍞竴鐮�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐗╂枡浠e彿");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁1");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁2");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(255)
-                        .HasColumnType("varchar(255)")
-                        .HasComment("鍐椾綑瀛楁3");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int?>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("CheckStatus");
-
-                    b.HasIndex("MaterialBatch");
-
-                    b.HasIndex("MaterialId")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialinfos", (string)null);
-
-                    b.HasComment("WMS鐗╂枡淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterials.WmsMaterial", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("Certification")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("璇佷功缂栧彿");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<string>("Factory")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐢熶骇宸ュ巶");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsMainBranch")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鏄惁涓轰富鏀");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<decimal>("Length")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("闀垮害锛堝崟浣嶏細m锛�");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鍨嬪彿");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�");
-
-                    b.Property<string>("MaterialQuality")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鏉愯川锛堝锛�304涓嶉攬閽級");
-
-                    b.Property<int>("MaterialType")
-                        .HasColumnType("int")
-                        .HasComment("鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<decimal>("OuterDiameter")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澶栧緞锛堝崟浣嶏細mm锛�");
-
-                    b.Property<string>("PrimaryUnit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�");
-
-                    b.Property<int>("PurchaseType")
-                        .HasColumnType("int")
-                        .HasComment("閲囪喘绫诲瀷锛堟灇涓惧�硷級");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("Standard")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�");
-
-                    b.Property<decimal>("WallThickness")
-                        .HasColumnType("decimal(18,2)")
-                        .HasComment("澹佸帤锛堝崟浣嶏細mm锛�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialType");
-
-                    b.HasIndex("PurchaseType");
-
-                    b.ToTable("scms_wmsmaterials", (string)null);
-
-                    b.HasComment("鐗╂枡鍩虹淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialStocks.WmsMaterialStock", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("AreaCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鍖哄煙缂栧彿");
-
-                    b.Property<string>("AreaName")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("搴撳尯鍚嶇О");
-
-                    b.Property<int?>("CheckStatus")
-                        .HasColumnType("int")
-                        .HasComment("妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("瀹瑰櫒缂栧彿");
-
-                    b.Property<int>("ContainerStatus")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒鐘舵��");
-
-                    b.Property<int>("ContainerType")
-                        .HasColumnType("int")
-                        .HasComment("瀹瑰櫒绫诲瀷");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭(2:鍚�,1:鏄�)");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<DateTime?>("InStockTime")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("鍏ュ簱鏃堕棿");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("IsLock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MaterialBatch")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡鎵规");
-
-                    b.Property<string>("MaterialId")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡ID");
-
-                    b.Property<string>("MaterialModel")
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鏈哄瀷/瑙勬牸");
-
-                    b.Property<string>("MaterialName")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("鐗╂枡鍚嶇О");
-
-                    b.Property<string>("MaterialNo")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("鐗╂枡缂栧彿");
-
-                    b.Property<string>("PlaceNo")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("搴撲綅缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅鐘舵��;");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(500)
-                        .HasColumnType("varchar(500)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StockNumber")
-                        .HasColumnType("int")
-                        .HasComment("搴撳瓨鏁伴噺");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("搴撲綅绫诲瀷");
-
-                    b.Property<string>("SupplierCode")
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("渚涘簲鍟嗙紪鍙�");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("MaterialName");
-
-                    b.HasIndex("MaterialNo");
-
-                    b.HasIndex("PlaceNo");
-
-                    b.HasIndex("MaterialBatch", "SupplierCode");
-
-                    b.ToTable("scms_wmsmaterialstocks", (string)null);
-
-                    b.HasComment("WMS鐗╂枡搴撳瓨琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("AreaCode")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵�鍦ㄥ簱鍖�");
-
-                    b.Property<int>("ColumnNo")
-                        .HasColumnType("int")
-                        .HasComment("鍒�");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int>("EmptyContainer")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁绌烘墭");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool>("IsDisabled")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int>("Islock")
-                        .HasColumnType("int")
-                        .HasComment("鏄惁閿佸畾");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<int>("LayerNo")
-                        .HasColumnType("int")
-                        .HasComment("灞�");
-
-                    b.Property<int>("MaxStockNumber")
-                        .HasColumnType("int")
-                        .HasComment("鏈�澶у簱瀛橀噺");
-
-                    b.Property<string>("PlaceNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("缂栧彿");
-
-                    b.Property<int>("PlaceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅鐘舵��");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("RowNo")
-                        .HasColumnType("int")
-                        .HasComment("鎺�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<int>("StorageTypeNo")
-                        .HasColumnType("int")
-                        .HasComment("璐т綅绫诲瀷");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("AreaCode");
-
-                    b.HasIndex("PlaceNo")
-                        .IsUnique();
-
-                    b.HasIndex("PlaceStatus");
-
-                    b.HasIndex("StorageTypeNo");
-
-                    b.ToTable("scms_wmsplaces", (string)null);
-
-                    b.HasComment("搴撲綅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsStores.WmsStore", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("RedundantField1")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField2")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("RedundantField3")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(256)
-                        .HasColumnType("varchar(256)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("StoreCode")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠撳簱浠g爜");
-
-                    b.Property<string>("StoreName")
-                        .HasMaxLength(100)
-                        .HasColumnType("varchar(100)")
-                        .HasComment("浠撳簱鍚嶇О");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("StoreName");
-
-                    b.ToTable("scms_wmsstores", (string)null);
-
-                    b.HasComment("浠撳簱淇℃伅琛�");
-                });
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsTask.WmsTask", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<int?>("Aisle")
-                        .HasColumnType("int")
-                        .HasComment("宸烽亾");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<string>("ContainerNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鎵樼洏缂栧彿");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime");
-
-                    b.Property<int?>("DodeviceId")
-                        .HasColumnType("int")
-                        .HasComment("鍫嗗灈鏈篒D");
-
-                    b.Property<int>("Dodevicetype")
-                        .HasColumnType("int")
-                        .HasComment("璁惧绫诲瀷");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("鏄惁绂佺敤");
-
-                    b.Property<int?>("IsNextTask")
-                        .HasColumnType("int")
-                        .HasComment("涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛");
-
-                    b.Property<bool>("IsRead")
-                        .HasColumnType("tinyint(1)")
-                        .HasComment("WCS鏄惁鍙互璇诲彇");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId");
-
-                    b.Property<string>("MutableParam1")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺1");
-
-                    b.Property<string>("MutableParam2")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺2");
-
-                    b.Property<string>("MutableParam3")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("鍙彉鍙橀噺3");
-
-                    b.Property<int>("PlcTaskId")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("int")
-                        .HasDefaultValue(0)
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int?>("SonTaskType")
-                        .HasColumnType("int")
-                        .HasComment("瀛愪换鍔$被鍨�");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int")
-                        .HasComment("鎺掑簭");
-
-                    b.Property<string>("SourceOrderNo")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鏉ユ簮鍗曟嵁鍙�");
-
-                    b.Property<string>("SourcePlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("璧峰搴撲綅");
-
-                    b.Property<int>("TaskDodeviceStatus")
-                        .HasColumnType("int")
-                        .HasComment("璁惧浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskLevel")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绛夌骇");
-
-                    b.Property<string>("TaskNo")
-                        .IsRequired()
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("浠诲姟鍙�");
-
-                    b.Property<int>("TaskStatus")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟鐘舵��");
-
-                    b.Property<int>("TaskType")
-                        .HasColumnType("int")
-                        .HasComment("浠诲姟绫诲瀷");
-
-                    b.Property<string>("ToPlace")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("鐩爣搴撲綅");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("ContainerNo");
-
-                    b.HasIndex("DodeviceId");
-
-                    b.HasIndex("IsRead");
-
-                    b.HasIndex("Sort");
-
-                    b.HasIndex("SourceOrderNo");
-
-                    b.HasIndex("SourcePlace");
-
-                    b.HasIndex("TaskNo")
-                        .IsUnique();
-
-                    b.HasIndex("TaskStatus");
-
-                    b.HasIndex("TaskType");
-
-                    b.HasIndex("ToPlace");
-
-                    b.ToTable("scms_wmstasks", (string)null);
-
-                    b.HasComment("浠诲姟琛�");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250513090705_InitialCreate16.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250513090705_InitialCreate16.cs
deleted file mode 100644
index d5c2ec8..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250513090705_InitialCreate16.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-锘縰sing Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate16 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AlterColumn<bool>(
-                name: "IsDisabled",
-                table: "scms_wmsplaces",
-                type: "tinyint(1)",
-                nullable: false,
-                defaultValue: false,
-                comment: "鏄惁绂佺敤",
-                oldClrType: typeof(bool),
-                oldType: "tinyint(1)",
-                oldNullable: true,
-                oldComment: "鏄惁绂佺敤");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AlterColumn<bool>(
-                name: "IsDisabled",
-                table: "scms_wmsplaces",
-                type: "tinyint(1)",
-                nullable: true,
-                comment: "鏄惁绂佺敤",
-                oldClrType: typeof(bool),
-                oldType: "tinyint(1)",
-                oldDefaultValue: false,
-                oldComment: "鏄惁绂佺敤");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250515034921_InitialCreate17.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250515034921_InitialCreate17.cs
deleted file mode 100644
index 744c64e..0000000
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250515034921_InitialCreate17.cs
+++ /dev/null
@@ -1,132 +0,0 @@
-锘縰sing System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace CMS.Plugin.HIAWms.MySQL.Migrations
-{
-    public partial class InitialCreate17 : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropIndex(
-                name: "IX_scms_wmsmaterials_MaterialType",
-                table: "scms_wmsmaterials");
-
-            migrationBuilder.DropColumn(
-                name: "MaterialType",
-                table: "scms_wmsmaterials");
-
-            migrationBuilder.AddColumn<string>(
-                name: "MaterialTypeCode",
-                table: "scms_wmsmaterials",
-                type: "varchar(20)",
-                maxLength: 20,
-                nullable: true,
-                comment: "鐗╂枡绫诲瀷缂栫爜")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.AddColumn<string>(
-                name: "MaterialTypeDesc",
-                table: "scms_wmsmaterials",
-                type: "varchar(20)",
-                maxLength: 20,
-                nullable: true,
-                comment: "鐗╂枡绫诲瀷")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "scms_wmsmaterialtype",
-                columns: table => new
-                {
-                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
-                    MaterialTypeDesc = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "绫诲瀷鎻忚堪")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    MaterialTypeCode = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "绫诲瀷缂栫爜")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, comment: "鍒涘缓鏃堕棿"),
-                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "鍒涘缓浜篒D", collation: "ascii_general_ci"),
-                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鏈�鍚庝慨鏀规椂闂�"),
-                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "鏈�鍚庝慨鏀逛汉ID", collation: "ascii_general_ci"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "鏄惁宸插垹闄�"),
-                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "鍒犻櫎浜篒D", collation: "ascii_general_ci"),
-                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鍒犻櫎鏃堕棿"),
-                    CreatorName = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    LastModifierName = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    OperationRemark = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    DeleteRemark = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    Sort = table.Column<int>(type: "int", nullable: false),
-                    Remark = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "澶囨敞")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true),
-                    ExtraField1 = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ExtraField2 = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    ExtraField3 = table.Column<string>(type: "longtext", nullable: true)
-                        .Annotation("MySql:CharSet", "utf8mb4")
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_scms_wmsmaterialtype", x => x.Id);
-                },
-                comment: "鐗╂枡绫诲瀷琛�")
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterials_MaterialTypeCode",
-                table: "scms_wmsmaterials",
-                column: "MaterialTypeCode");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialtype_MaterialTypeCode",
-                table: "scms_wmsmaterialtype",
-                column: "MaterialTypeCode",
-                unique: true);
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterialtype_MaterialTypeDesc",
-                table: "scms_wmsmaterialtype",
-                column: "MaterialTypeDesc");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropTable(
-                name: "scms_wmsmaterialtype");
-
-            migrationBuilder.DropIndex(
-                name: "IX_scms_wmsmaterials_MaterialTypeCode",
-                table: "scms_wmsmaterials");
-
-            migrationBuilder.DropColumn(
-                name: "MaterialTypeCode",
-                table: "scms_wmsmaterials");
-
-            migrationBuilder.DropColumn(
-                name: "MaterialTypeDesc",
-                table: "scms_wmsmaterials");
-
-            migrationBuilder.AddColumn<int>(
-                name: "MaterialType",
-                table: "scms_wmsmaterials",
-                type: "int",
-                nullable: false,
-                defaultValue: 0,
-                comment: "鐗╂枡绫诲瀷锛堟灇涓惧�硷級");
-
-            migrationBuilder.CreateIndex(
-                name: "IX_scms_wmsmaterials_MaterialType",
-                table: "scms_wmsmaterials",
-                column: "MaterialType");
-        }
-    }
-}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250515034921_InitialCreate17.Designer.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250516020008_InitialCreate17.Designer.cs
similarity index 99%
rename from HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250515034921_InitialCreate17.Designer.cs
rename to HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250516020008_InitialCreate17.Designer.cs
index de5eb9f..5f49277 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250515034921_InitialCreate17.Designer.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250516020008_InitialCreate17.Designer.cs
@@ -12,7 +12,7 @@
 namespace CMS.Plugin.HIAWms.MySQL.Migrations
 {
     [DbContext(typeof(CMSPluginDbContext))]
-    [Migration("20250515034921_InitialCreate17")]
+    [Migration("20250516020008_InitialCreate17")]
     partial class InitialCreate17
     {
         protected override void BuildTargetModel(ModelBuilder modelBuilder)
@@ -22,115 +22,6 @@
                 .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
                 .HasAnnotation("ProductVersion", "6.0.16")
                 .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.MaterialType.WmsMaterialType", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime")
-                        .HasComment("鍒涘缓鏃堕棿");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId")
-                        .HasComment("鍒涘缓浜篒D");
-
-                    b.Property<string>("CreatorName")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("DeleteRemark")
-                        .HasColumnType("longtext");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId")
-                        .HasComment("鍒犻櫎浜篒D");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime")
-                        .HasComment("鍒犻櫎鏃堕棿");
-
-                    b.Property<string>("ExtraField1")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("ExtraField2")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("ExtraField3")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted")
-                        .HasComment("鏄惁宸插垹闄�");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime")
-                        .HasComment("鏈�鍚庝慨鏀规椂闂�");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId")
-                        .HasComment("鏈�鍚庝慨鏀逛汉ID");
-
-                    b.Property<string>("LastModifierName")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("MaterialTypeCode")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("绫诲瀷缂栫爜");
-
-                    b.Property<string>("MaterialTypeDesc")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("绫诲瀷鎻忚堪");
-
-                    b.Property<string>("OperationRemark")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialTypeCode")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialTypeDesc");
-
-                    b.ToTable("scms_wmsmaterialtype", (string)null);
-
-                    b.HasComment("鐗╂枡绫诲瀷琛�");
-                });
 
             modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
                 {
@@ -1502,6 +1393,115 @@
                     b.HasComment("WMS鐗╂枡搴撳瓨琛�");
                 });
 
+            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialTypes.WmsMaterialType", b =>
+                {
+                    b.Property<Guid>("Id")
+                        .ValueGeneratedOnAdd()
+                        .HasColumnType("char(36)");
+
+                    b.Property<string>("ConcurrencyStamp")
+                        .IsConcurrencyToken()
+                        .HasMaxLength(40)
+                        .HasColumnType("varchar(40)")
+                        .HasColumnName("ConcurrencyStamp");
+
+                    b.Property<DateTime>("CreationTime")
+                        .HasColumnType("datetime(6)")
+                        .HasColumnName("CreationTime")
+                        .HasComment("鍒涘缓鏃堕棿");
+
+                    b.Property<Guid?>("CreatorId")
+                        .HasColumnType("char(36)")
+                        .HasColumnName("CreatorId")
+                        .HasComment("鍒涘缓浜篒D");
+
+                    b.Property<string>("CreatorName")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("DeleteRemark")
+                        .HasColumnType("longtext");
+
+                    b.Property<Guid?>("DeleterId")
+                        .HasColumnType("char(36)")
+                        .HasColumnName("DeleterId")
+                        .HasComment("鍒犻櫎浜篒D");
+
+                    b.Property<DateTime?>("DeletionTime")
+                        .HasColumnType("datetime(6)")
+                        .HasColumnName("DeletionTime")
+                        .HasComment("鍒犻櫎鏃堕棿");
+
+                    b.Property<string>("ExtraField1")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("ExtraField2")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("ExtraField3")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("ExtraProperties")
+                        .HasColumnType("longtext")
+                        .HasColumnName("ExtraProperties");
+
+                    b.Property<bool>("IsDeleted")
+                        .ValueGeneratedOnAdd()
+                        .HasColumnType("tinyint(1)")
+                        .HasDefaultValue(false)
+                        .HasColumnName("IsDeleted")
+                        .HasComment("鏄惁宸插垹闄�");
+
+                    b.Property<bool?>("IsDisabled")
+                        .HasColumnType("tinyint(1)");
+
+                    b.Property<DateTime?>("LastModificationTime")
+                        .HasColumnType("datetime(6)")
+                        .HasColumnName("LastModificationTime")
+                        .HasComment("鏈�鍚庝慨鏀规椂闂�");
+
+                    b.Property<Guid?>("LastModifierId")
+                        .HasColumnType("char(36)")
+                        .HasColumnName("LastModifierId")
+                        .HasComment("鏈�鍚庝慨鏀逛汉ID");
+
+                    b.Property<string>("LastModifierName")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("MaterialTypeCode")
+                        .IsRequired()
+                        .HasMaxLength(64)
+                        .HasColumnType("varchar(64)")
+                        .HasComment("绫诲瀷缂栫爜");
+
+                    b.Property<string>("MaterialTypeDesc")
+                        .IsRequired()
+                        .HasMaxLength(128)
+                        .HasColumnType("varchar(128)")
+                        .HasComment("绫诲瀷鎻忚堪");
+
+                    b.Property<string>("OperationRemark")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("Remark")
+                        .HasMaxLength(50)
+                        .HasColumnType("varchar(50)")
+                        .HasComment("澶囨敞");
+
+                    b.Property<int>("Sort")
+                        .HasColumnType("int");
+
+                    b.HasKey("Id");
+
+                    b.HasIndex("MaterialTypeCode")
+                        .IsUnique();
+
+                    b.HasIndex("MaterialTypeDesc");
+
+                    b.ToTable("scms_wmsmaterialtype", (string)null);
+
+                    b.HasComment("鐗╂枡绫诲瀷琛�");
+                });
+
             modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
                 {
                     b.Property<Guid>("Id")
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250516020008_InitialCreate17.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250516020008_InitialCreate17.cs
new file mode 100644
index 0000000..633ef30
--- /dev/null
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/20250516020008_InitialCreate17.cs
@@ -0,0 +1,1023 @@
+锘縰sing System;
+using Microsoft.EntityFrameworkCore.Migrations;
+
+#nullable disable
+
+namespace CMS.Plugin.HIAWms.MySQL.Migrations
+{
+    public partial class InitialCreate17 : Migration
+    {
+        protected override void Up(MigrationBuilder migrationBuilder)
+        {
+            migrationBuilder.AlterDatabase()
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsareas",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    AreaNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "搴撳尯缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    AreaName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "搴撳尯鍚嶇О")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    AreaDesc = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鎻忚堪")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    AreaStatus = table.Column<int>(type: "int", nullable: false, comment: "搴撳尯鐘舵��"),
+                    AreaType = table.Column<int>(type: "int", nullable: false, comment: "搴撳尯绫诲瀷"),
+                    RedundantField1 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField2 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField3 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    StoreCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "浠撳簱浠g爜")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    StoreName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "浠撳簱鍚嶇О")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
+                    Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsareas", x => x.Id);
+                },
+                comment: "搴撳尯琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmscontainerplaces",
+                columns: table => new
+                {
+                    PlaceNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "搴撲綅缂栫爜")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鎵樼洏缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true, comment: "鎵╁睍灞炴��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true, comment: "骞跺彂鎴�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, comment: "鍒涘缓鏃堕棿"),
+                    CreatorId = table.Column<Guid>(type: "char(36)", maxLength: 36, nullable: true, comment: "鍒涘缓浜篒D", collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "淇敼鏃堕棿"),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", maxLength: 36, nullable: true, comment: "淇敼浜篒D", collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "鏄惁鍒犻櫎"),
+                    DeleterId = table.Column<Guid>(type: "char(36)", maxLength: 36, nullable: true, comment: "鍒犻櫎浜篒D", collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鍒犻櫎鏃堕棿"),
+                    CreatorName = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "鍒涘缓浜�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    LastModifierName = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "淇敼浜�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    OperationRemark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鎿嶄綔澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    DeleteRemark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍒犻櫎澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鎺掑簭"),
+                    Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, defaultValue: false, comment: "鏄惁绂佺敤"),
+                    ExtraField1 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鎵╁睍瀛楁1")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ExtraField2 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鎵╁睍瀛楁2")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ExtraField3 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鎵╁睍瀛楁3")
+                        .Annotation("MySql:CharSet", "utf8mb4")
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmscontainerplaces", x => new { x.PlaceNo, x.ContainerNo });
+                },
+                comment: "瀹瑰櫒搴撲綅鍏崇郴琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmscontainers",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鎵樼洏缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ContainerType = table.Column<int>(type: "int", nullable: false, comment: "鎵樼洏绫诲瀷"),
+                    ContainerStatus = table.Column<int>(type: "int", nullable: false, comment: "鎵樼洏鐘舵��"),
+                    SpecLength = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "闀垮害"),
+                    SpecWidth = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "瀹藉害"),
+                    SpecHeight = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "楂樺害"),
+                    LimitLength = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "闄愰暱"),
+                    LimitWidth = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "闄愬"),
+                    LimitHeight = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "闄愰珮"),
+                    MaxWeight = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true, comment: "杞介噸涓婇檺"),
+                    ExceptionNumber = table.Column<int>(type: "int", nullable: true, comment: "寮傚父鏁伴噺"),
+                    MaterialNumber = table.Column<int>(type: "int", nullable: true, comment: "鐗╂枡鏁伴噺"),
+                    RedundantField1 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField2 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField3 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
+                    Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmscontainers", x => x.Id);
+                },
+                comment: "鎵樼洏淇℃伅琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsinoutstockorder",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    OrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鍗曟嵁缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    OrderStatus = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鐘舵��"),
+                    MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鐗╂枡鍚嶇О")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡浠跺彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鍨嬪彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialBatch = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鎵规鍙�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    OrderType = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁绫诲瀷"),
+                    StockType = table.Column<int>(type: "int", nullable: false, comment: "鎿嶄綔绫诲瀷锛堟灇涓惧�硷級"),
+                    MaterialNumber = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鏁伴噺"),
+                    DistributeNumber = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "涓嬪彂鏁伴噺"),
+                    CompleteNumber = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "瀹屾垚鏁伴噺"),
+                    Priority = table.Column<int>(type: "int", nullable: false, defaultValue: 1, comment: "浼樺厛绾�"),
+                    PlanNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鍏宠仈璁″垝缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    OperateTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鎿嶄綔鏃堕棿"),
+                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鎺掑簭"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, defaultValue: false, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsinoutstockorder", x => x.Id);
+                },
+                comment: "鍑哄叆搴撳崟鎹〃")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsinoutstockorderdetail",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    OrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鍗曟嵁缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    OrderType = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁绫诲瀷锛堟灇涓惧�硷級"),
+                    MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡浠跺彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鐗╂枡鍚嶇О")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡鍞竴鐮�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "瀹瑰櫒缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鏈哄瀷")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialBatch = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡鎵规")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鎺掑簭"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, defaultValue: false, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsinoutstockorderdetail", x => x.Id);
+                },
+                comment: "鍑哄叆搴撳崟鎹槑缁嗚〃")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsinoutstockrecords",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    OrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鍗曟嵁缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鐗╂枡鍚嶇О")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡浠跺彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    StockType = table.Column<int>(type: "int", nullable: false, comment: "鎿嶄綔绫诲瀷"),
+                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "瀹瑰櫒缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鏈哄瀷")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialBatch = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "鐗╂枡鎵规")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    OperateTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鎿嶄綔鏃堕棿"),
+                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡ID")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    TaskNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "浠诲姟鍙�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    SourcePlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "璧峰搴撲綅")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ToPlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鐩爣搴撲綅")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsinoutstockrecords", x => x.Id);
+                },
+                comment: "鍑哄叆搴撹褰曡〃")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsmaterialcontainer",
+                columns: table => new
+                {
+                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鎵樼洏缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡ID")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true),
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsmaterialcontainer", x => new { x.MaterialId, x.ContainerNo });
+                },
+                comment: "鐗╂枡瀹瑰櫒鍏崇郴琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsmaterialinfos",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    MaterialNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡浠e彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "鐗╂枡鍚嶇О")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialModel = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鏈哄瀷/瑙勬牸")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡鍞竴鐮�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    StockNumber = table.Column<int>(type: "int", nullable: true, comment: "搴撳瓨鏁伴噺"),
+                    MaterialBatch = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡鎵瑰彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    SupplierCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "渚涘簲鍟嗙紪鍙�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CheckStatus = table.Column<int>(type: "int", nullable: true, comment: "妫�楠岀姸鎬�(0:鏈楠�,1:妫�楠岄�氳繃,2:妫�楠屼笉閫氳繃)"),
+                    RedundantField1 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "鍐椾綑瀛楁1")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField2 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "鍐椾綑瀛楁2")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField3 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "鍐椾綑瀛楁3")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鎺掑簭"),
+                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsmaterialinfos", x => x.Id);
+                },
+                comment: "WMS鐗╂枡淇℃伅琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsmaterials",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    MaterialNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "鐗╂枡鍚嶇О")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialModel = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "鍨嬪彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    PurchaseType = table.Column<int>(type: "int", nullable: false, comment: "閲囪喘绫诲瀷锛堟灇涓惧�硷級"),
+                    MaterialTypeCode = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "鐗╂枡绫诲瀷缂栫爜")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialTypeDesc = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "鐗╂枡绫诲瀷")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    PrimaryUnit = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "涓诲崟浣嶏紙濡傦細kg銆乵銆佷釜锛�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Standard = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "瑙勬牸/鏍囧噯锛堝锛欸B/T 8163-2018锛�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    OuterDiameter = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "澶栧緞锛堝崟浣嶏細mm锛�"),
+                    WallThickness = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "澹佸帤锛堝崟浣嶏細mm锛�"),
+                    MaterialQuality = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "鏉愯川锛堝锛�304涓嶉攬閽級")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Length = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "闀垮害锛堝崟浣嶏細m锛�"),
+                    IsMainBranch = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鏄惁涓轰富鏀"),
+                    Factory = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "鐢熶骇宸ュ巶")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Certification = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "璇佷功缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField1 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField2 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField3 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鎺掑簭"),
+                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, defaultValue: false, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsmaterials", x => x.Id);
+                },
+                comment: "鐗╂枡鍩虹淇℃伅琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsmaterialstocks",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    MaterialId = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡ID")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "鐗╂枡鍚嶇О")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ContainerNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "瀹瑰櫒缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ContainerStatus = table.Column<int>(type: "int", nullable: false, comment: "瀹瑰櫒鐘舵��"),
+                    ContainerType = table.Column<int>(type: "int", nullable: false, comment: "瀹瑰櫒绫诲瀷"),
+                    MaterialNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "鐗╂枡缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    StockNumber = table.Column<int>(type: "int", nullable: false, comment: "搴撳瓨鏁伴噺"),
+                    MaterialBatch = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "鐗╂枡鎵规")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    SupplierCode = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "渚涘簲鍟嗙紪鍙�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialModel = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "鏈哄瀷/瑙勬牸")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    PlaceNo = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "搴撲綅缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    PlaceStatus = table.Column<int>(type: "int", nullable: false, comment: "搴撲綅鐘舵��;"),
+                    StorageTypeNo = table.Column<int>(type: "int", nullable: false, comment: "搴撲綅绫诲瀷"),
+                    AreaCode = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true, comment: "鍖哄煙缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    AreaName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "搴撳尯鍚嶇О")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CheckStatus = table.Column<int>(type: "int", nullable: true, comment: "妫�楠岀姸鎬�(1:鏈楠�,2:妫�楠岄�氳繃,3:妫�楠屼笉閫氳繃)"),
+                    IsLock = table.Column<int>(type: "int", nullable: false, comment: "鏄惁閿佸畾(2:鏈攣瀹�,1:宸查攣瀹�)"),
+                    EmptyContainer = table.Column<int>(type: "int", nullable: false, comment: "鏄惁绌烘墭(2:鍚�,1:鏄�)"),
+                    InStockTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鍏ュ簱鏃堕棿"),
+                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "鎺掑簭"),
+                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField1 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField2 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField3 = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsmaterialstocks", x => x.Id);
+                },
+                comment: "WMS鐗╂枡搴撳瓨琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsmaterialtype",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    MaterialTypeDesc = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "绫诲瀷鎻忚堪")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MaterialTypeCode = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: false, comment: "绫诲瀷缂栫爜")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, comment: "鍒涘缓鏃堕棿"),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "鍒涘缓浜篒D", collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鏈�鍚庝慨鏀规椂闂�"),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "鏈�鍚庝慨鏀逛汉ID", collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "鏄惁宸插垹闄�"),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "鍒犻櫎浜篒D", collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "鍒犻櫎鏃堕棿"),
+                    CreatorName = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    LastModifierName = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    OperationRemark = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    DeleteRemark = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false),
+                    Remark = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true),
+                    ExtraField1 = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ExtraField2 = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ExtraField3 = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4")
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsmaterialtype", x => x.Id);
+                },
+                comment: "鐗╂枡绫诲瀷琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsplaces",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    PlaceNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    StorageTypeNo = table.Column<int>(type: "int", nullable: false, comment: "璐т綅绫诲瀷"),
+                    PlaceStatus = table.Column<int>(type: "int", nullable: false, comment: "璐т綅鐘舵��"),
+                    AreaCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "鎵�鍦ㄥ簱鍖�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Aisle = table.Column<int>(type: "int", nullable: false, comment: "宸烽亾"),
+                    RowNo = table.Column<int>(type: "int", nullable: false, comment: "鎺�"),
+                    ColumnNo = table.Column<int>(type: "int", nullable: false, comment: "鍒�"),
+                    LayerNo = table.Column<int>(type: "int", nullable: false, comment: "灞�"),
+                    Islock = table.Column<int>(type: "int", nullable: false, comment: "鏄惁閿佸畾"),
+                    EmptyContainer = table.Column<int>(type: "int", nullable: false, comment: "鏄惁绌烘墭"),
+                    MaxStockNumber = table.Column<int>(type: "int", nullable: false, comment: "鏈�澶у簱瀛橀噺"),
+                    RedundantField1 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField2 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField3 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
+                    Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsplaces", x => x.Id);
+                },
+                comment: "搴撲綅琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmsstores",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    StoreCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "浠撳簱浠g爜")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    StoreName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "浠撳簱鍚嶇О")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField1 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁1 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField2 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁2 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    RedundantField3 = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "鍐椾綑瀛楁3 - 棰勭暀鎵╁睍鐢ㄩ��")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Remark = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "澶囨敞")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmsstores", x => x.Id);
+                },
+                comment: "浠撳簱淇℃伅琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "scms_wmstasks",
+                columns: table => new
+                {
+                    Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+                    TaskNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "浠诲姟鍙�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    TaskType = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟绫诲瀷"),
+                    TaskLevel = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟绛夌骇"),
+                    TaskStatus = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟鐘舵��"),
+                    ContainerNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鎵樼洏缂栧彿")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    SourcePlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "璧峰搴撲綅")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ToPlace = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鐩爣搴撲綅")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Aisle = table.Column<int>(type: "int", nullable: true, comment: "宸烽亾"),
+                    DodeviceId = table.Column<int>(type: "int", nullable: true, comment: "鍫嗗灈鏈篒D"),
+                    Dodevicetype = table.Column<int>(type: "int", nullable: false, comment: "璁惧绫诲瀷"),
+                    TaskDodeviceStatus = table.Column<int>(type: "int", nullable: false, comment: "璁惧浠诲姟鐘舵��"),
+                    IsRead = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "WCS鏄惁鍙互璇诲彇"),
+                    SonTaskType = table.Column<int>(type: "int", nullable: true, comment: "瀛愪换鍔$被鍨�"),
+                    SourceOrderNo = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "鏉ユ簮鍗曟嵁鍙�")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    IsNextTask = table.Column<int>(type: "int", nullable: true, comment: "涓嬩釜浠诲姟鏄惁鐢熸垚鎴愬姛"),
+                    PlcTaskId = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "浠诲姟鐘舵��"),
+                    MutableParam1 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍙彉鍙橀噺1")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MutableParam2 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍙彉鍙橀噺2")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    MutableParam3 = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "鍙彉鍙橀噺3")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"),
+                    IsDisabled = table.Column<bool>(type: "tinyint(1)", nullable: true, comment: "鏄惁绂佺敤"),
+                    ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: true)
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
+                    CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
+                    LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
+                    DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
+                    DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_scms_wmstasks", x => x.Id);
+                },
+                comment: "浠诲姟琛�")
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsareas_AreaName",
+                table: "scms_wmsareas",
+                column: "AreaName");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmscontainerplaces_ContainerNo",
+                table: "scms_wmscontainerplaces",
+                column: "ContainerNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmscontainerplaces_PlaceNo",
+                table: "scms_wmscontainerplaces",
+                column: "PlaceNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmscontainers_ContainerNo",
+                table: "scms_wmscontainers",
+                column: "ContainerNo",
+                unique: true);
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmscontainers_ContainerStatus",
+                table: "scms_wmscontainers",
+                column: "ContainerStatus");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmscontainers_ContainerType",
+                table: "scms_wmscontainers",
+                column: "ContainerType");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockorder_MaterialBatch",
+                table: "scms_wmsinoutstockorder",
+                column: "MaterialBatch");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockorder_MaterialNo",
+                table: "scms_wmsinoutstockorder",
+                column: "MaterialNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockorder_OperateTime",
+                table: "scms_wmsinoutstockorder",
+                column: "OperateTime");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockorder_OrderNo",
+                table: "scms_wmsinoutstockorder",
+                column: "OrderNo",
+                unique: true);
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockorder_PlanNo",
+                table: "scms_wmsinoutstockorder",
+                column: "PlanNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockorderdetail_ContainerNo",
+                table: "scms_wmsinoutstockorderdetail",
+                column: "ContainerNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockorderdetail_MaterialId",
+                table: "scms_wmsinoutstockorderdetail",
+                column: "MaterialId");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockorderdetail_MaterialNo",
+                table: "scms_wmsinoutstockorderdetail",
+                column: "MaterialNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockorderdetail_OrderNo",
+                table: "scms_wmsinoutstockorderdetail",
+                column: "OrderNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockorderdetail_OrderNo_OrderType",
+                table: "scms_wmsinoutstockorderdetail",
+                columns: new[] { "OrderNo", "OrderType" });
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockrecords_ContainerNo",
+                table: "scms_wmsinoutstockrecords",
+                column: "ContainerNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockrecords_MaterialId",
+                table: "scms_wmsinoutstockrecords",
+                column: "MaterialId");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockrecords_MaterialNo",
+                table: "scms_wmsinoutstockrecords",
+                column: "MaterialNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockrecords_OperateTime",
+                table: "scms_wmsinoutstockrecords",
+                column: "OperateTime");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockrecords_OrderNo",
+                table: "scms_wmsinoutstockrecords",
+                column: "OrderNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockrecords_StockType",
+                table: "scms_wmsinoutstockrecords",
+                column: "StockType");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsinoutstockrecords_TaskNo",
+                table: "scms_wmsinoutstockrecords",
+                column: "TaskNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialcontainer_ContainerNo",
+                table: "scms_wmsmaterialcontainer",
+                column: "ContainerNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialcontainer_MaterialId",
+                table: "scms_wmsmaterialcontainer",
+                column: "MaterialId");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialinfos_CheckStatus",
+                table: "scms_wmsmaterialinfos",
+                column: "CheckStatus");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialinfos_MaterialBatch",
+                table: "scms_wmsmaterialinfos",
+                column: "MaterialBatch");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialinfos_MaterialId",
+                table: "scms_wmsmaterialinfos",
+                column: "MaterialId",
+                unique: true);
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialinfos_MaterialName",
+                table: "scms_wmsmaterialinfos",
+                column: "MaterialName");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialinfos_MaterialNo",
+                table: "scms_wmsmaterialinfos",
+                column: "MaterialNo",
+                unique: true);
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialinfos_SupplierCode",
+                table: "scms_wmsmaterialinfos",
+                column: "SupplierCode");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterials_MaterialName",
+                table: "scms_wmsmaterials",
+                column: "MaterialName");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterials_MaterialNo",
+                table: "scms_wmsmaterials",
+                column: "MaterialNo",
+                unique: true);
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterials_MaterialTypeCode",
+                table: "scms_wmsmaterials",
+                column: "MaterialTypeCode");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterials_PurchaseType",
+                table: "scms_wmsmaterials",
+                column: "PurchaseType");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialstocks_AreaCode",
+                table: "scms_wmsmaterialstocks",
+                column: "AreaCode");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialstocks_ContainerNo",
+                table: "scms_wmsmaterialstocks",
+                column: "ContainerNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialstocks_MaterialBatch_SupplierCode",
+                table: "scms_wmsmaterialstocks",
+                columns: new[] { "MaterialBatch", "SupplierCode" });
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialstocks_MaterialName",
+                table: "scms_wmsmaterialstocks",
+                column: "MaterialName");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialstocks_MaterialNo",
+                table: "scms_wmsmaterialstocks",
+                column: "MaterialNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialstocks_PlaceNo",
+                table: "scms_wmsmaterialstocks",
+                column: "PlaceNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialtype_MaterialTypeCode",
+                table: "scms_wmsmaterialtype",
+                column: "MaterialTypeCode",
+                unique: true);
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsmaterialtype_MaterialTypeDesc",
+                table: "scms_wmsmaterialtype",
+                column: "MaterialTypeDesc");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsplaces_AreaCode",
+                table: "scms_wmsplaces",
+                column: "AreaCode");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsplaces_PlaceNo",
+                table: "scms_wmsplaces",
+                column: "PlaceNo",
+                unique: true);
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsplaces_PlaceStatus",
+                table: "scms_wmsplaces",
+                column: "PlaceStatus");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsplaces_StorageTypeNo",
+                table: "scms_wmsplaces",
+                column: "StorageTypeNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmsstores_StoreName",
+                table: "scms_wmsstores",
+                column: "StoreName");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmstasks_ContainerNo",
+                table: "scms_wmstasks",
+                column: "ContainerNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmstasks_DodeviceId",
+                table: "scms_wmstasks",
+                column: "DodeviceId");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmstasks_IsRead",
+                table: "scms_wmstasks",
+                column: "IsRead");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmstasks_Sort",
+                table: "scms_wmstasks",
+                column: "Sort");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmstasks_SourceOrderNo",
+                table: "scms_wmstasks",
+                column: "SourceOrderNo");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmstasks_SourcePlace",
+                table: "scms_wmstasks",
+                column: "SourcePlace");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmstasks_TaskNo",
+                table: "scms_wmstasks",
+                column: "TaskNo",
+                unique: true);
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmstasks_TaskStatus",
+                table: "scms_wmstasks",
+                column: "TaskStatus");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmstasks_TaskType",
+                table: "scms_wmstasks",
+                column: "TaskType");
+
+            migrationBuilder.CreateIndex(
+                name: "IX_scms_wmstasks_ToPlace",
+                table: "scms_wmstasks",
+                column: "ToPlace");
+        }
+
+        protected override void Down(MigrationBuilder migrationBuilder)
+        {
+            migrationBuilder.DropTable(
+                name: "scms_wmsareas");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmscontainerplaces");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmscontainers");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmsinoutstockorder");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmsinoutstockorderdetail");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmsinoutstockrecords");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmsmaterialcontainer");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmsmaterialinfos");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmsmaterials");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmsmaterialstocks");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmsmaterialtype");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmsplaces");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmsstores");
+
+            migrationBuilder.DropTable(
+                name: "scms_wmstasks");
+        }
+    }
+}
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/CMSPluginDbContextModelSnapshot.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/CMSPluginDbContextModelSnapshot.cs
index 429a8bc..9f6d04a 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/CMSPluginDbContextModelSnapshot.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/CMSPluginDbContextModelSnapshot.cs
@@ -21,115 +21,6 @@
                 .HasAnnotation("ProductVersion", "6.0.16")
                 .HasAnnotation("Relational:MaxIdentifierLength", 64);
 
-            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.MaterialType.WmsMaterialType", b =>
-                {
-                    b.Property<Guid>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("char(36)");
-
-                    b.Property<string>("ConcurrencyStamp")
-                        .IsConcurrencyToken()
-                        .HasMaxLength(40)
-                        .HasColumnType("varchar(40)")
-                        .HasColumnName("ConcurrencyStamp");
-
-                    b.Property<DateTime>("CreationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("CreationTime")
-                        .HasComment("鍒涘缓鏃堕棿");
-
-                    b.Property<Guid?>("CreatorId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("CreatorId")
-                        .HasComment("鍒涘缓浜篒D");
-
-                    b.Property<string>("CreatorName")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("DeleteRemark")
-                        .HasColumnType("longtext");
-
-                    b.Property<Guid?>("DeleterId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("DeleterId")
-                        .HasComment("鍒犻櫎浜篒D");
-
-                    b.Property<DateTime?>("DeletionTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("DeletionTime")
-                        .HasComment("鍒犻櫎鏃堕棿");
-
-                    b.Property<string>("ExtraField1")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("ExtraField2")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("ExtraField3")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("ExtraProperties")
-                        .HasColumnType("longtext")
-                        .HasColumnName("ExtraProperties");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted")
-                        .HasComment("鏄惁宸插垹闄�");
-
-                    b.Property<bool?>("IsDisabled")
-                        .HasColumnType("tinyint(1)");
-
-                    b.Property<DateTime?>("LastModificationTime")
-                        .HasColumnType("datetime(6)")
-                        .HasColumnName("LastModificationTime")
-                        .HasComment("鏈�鍚庝慨鏀规椂闂�");
-
-                    b.Property<Guid?>("LastModifierId")
-                        .HasColumnType("char(36)")
-                        .HasColumnName("LastModifierId")
-                        .HasComment("鏈�鍚庝慨鏀逛汉ID");
-
-                    b.Property<string>("LastModifierName")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("MaterialTypeCode")
-                        .IsRequired()
-                        .HasMaxLength(64)
-                        .HasColumnType("varchar(64)")
-                        .HasComment("绫诲瀷缂栫爜");
-
-                    b.Property<string>("MaterialTypeDesc")
-                        .IsRequired()
-                        .HasMaxLength(128)
-                        .HasColumnType("varchar(128)")
-                        .HasComment("绫诲瀷鎻忚堪");
-
-                    b.Property<string>("OperationRemark")
-                        .HasColumnType("longtext");
-
-                    b.Property<string>("Remark")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("澶囨敞");
-
-                    b.Property<int>("Sort")
-                        .HasColumnType("int");
-
-                    b.HasKey("Id");
-
-                    b.HasIndex("MaterialTypeCode")
-                        .IsUnique();
-
-                    b.HasIndex("MaterialTypeDesc");
-
-                    b.ToTable("scms_wmsmaterialtype", (string)null);
-
-                    b.HasComment("鐗╂枡绫诲瀷琛�");
-                });
-
             modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsAreas.WmsArea", b =>
                 {
                     b.Property<Guid>("Id")
@@ -1500,6 +1391,115 @@
                     b.HasComment("WMS鐗╂枡搴撳瓨琛�");
                 });
 
+            modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsMaterialTypes.WmsMaterialType", b =>
+                {
+                    b.Property<Guid>("Id")
+                        .ValueGeneratedOnAdd()
+                        .HasColumnType("char(36)");
+
+                    b.Property<string>("ConcurrencyStamp")
+                        .IsConcurrencyToken()
+                        .HasMaxLength(40)
+                        .HasColumnType("varchar(40)")
+                        .HasColumnName("ConcurrencyStamp");
+
+                    b.Property<DateTime>("CreationTime")
+                        .HasColumnType("datetime(6)")
+                        .HasColumnName("CreationTime")
+                        .HasComment("鍒涘缓鏃堕棿");
+
+                    b.Property<Guid?>("CreatorId")
+                        .HasColumnType("char(36)")
+                        .HasColumnName("CreatorId")
+                        .HasComment("鍒涘缓浜篒D");
+
+                    b.Property<string>("CreatorName")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("DeleteRemark")
+                        .HasColumnType("longtext");
+
+                    b.Property<Guid?>("DeleterId")
+                        .HasColumnType("char(36)")
+                        .HasColumnName("DeleterId")
+                        .HasComment("鍒犻櫎浜篒D");
+
+                    b.Property<DateTime?>("DeletionTime")
+                        .HasColumnType("datetime(6)")
+                        .HasColumnName("DeletionTime")
+                        .HasComment("鍒犻櫎鏃堕棿");
+
+                    b.Property<string>("ExtraField1")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("ExtraField2")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("ExtraField3")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("ExtraProperties")
+                        .HasColumnType("longtext")
+                        .HasColumnName("ExtraProperties");
+
+                    b.Property<bool>("IsDeleted")
+                        .ValueGeneratedOnAdd()
+                        .HasColumnType("tinyint(1)")
+                        .HasDefaultValue(false)
+                        .HasColumnName("IsDeleted")
+                        .HasComment("鏄惁宸插垹闄�");
+
+                    b.Property<bool?>("IsDisabled")
+                        .HasColumnType("tinyint(1)");
+
+                    b.Property<DateTime?>("LastModificationTime")
+                        .HasColumnType("datetime(6)")
+                        .HasColumnName("LastModificationTime")
+                        .HasComment("鏈�鍚庝慨鏀规椂闂�");
+
+                    b.Property<Guid?>("LastModifierId")
+                        .HasColumnType("char(36)")
+                        .HasColumnName("LastModifierId")
+                        .HasComment("鏈�鍚庝慨鏀逛汉ID");
+
+                    b.Property<string>("LastModifierName")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("MaterialTypeCode")
+                        .IsRequired()
+                        .HasMaxLength(64)
+                        .HasColumnType("varchar(64)")
+                        .HasComment("绫诲瀷缂栫爜");
+
+                    b.Property<string>("MaterialTypeDesc")
+                        .IsRequired()
+                        .HasMaxLength(128)
+                        .HasColumnType("varchar(128)")
+                        .HasComment("绫诲瀷鎻忚堪");
+
+                    b.Property<string>("OperationRemark")
+                        .HasColumnType("longtext");
+
+                    b.Property<string>("Remark")
+                        .HasMaxLength(50)
+                        .HasColumnType("varchar(50)")
+                        .HasComment("澶囨敞");
+
+                    b.Property<int>("Sort")
+                        .HasColumnType("int");
+
+                    b.HasKey("Id");
+
+                    b.HasIndex("MaterialTypeCode")
+                        .IsUnique();
+
+                    b.HasIndex("MaterialTypeDesc");
+
+                    b.ToTable("scms_wmsmaterialtype", (string)null);
+
+                    b.HasComment("鐗╂枡绫诲瀷琛�");
+                });
+
             modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsPlaces.WmsPlace", b =>
                 {
                     b.Property<Guid>("Id")
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsContainerPlaceController.cs b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsContainerPlaceController.cs
index ae58998..5ba1a47 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsContainerPlaceController.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsContainerPlaceController.cs
@@ -63,7 +63,7 @@
         /// </summary> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         public virtual Task<WmsContainerPlaceDto> CreateAsync(WmsContainerPlaceCreateDto input) 
         { 
@@ -76,7 +76,7 @@
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPut] 
         [Route("{id}")] 
         public virtual Task<WmsContainerPlaceDto> UpdateAsync(Guid id, WmsContainerPlaceUpdateDto input) 
@@ -89,7 +89,7 @@
         /// </summary> 
         /// <param name="ids">Id闆嗗悎.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         [Route("Clone")] 
         public virtual Task<List<WmsContainerPlaceDto>> CloneAsync([FromBody] IEnumerable<Guid> ids) 
@@ -102,7 +102,7 @@
         /// </summary> 
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         [Route("{id}")] 
         public virtual Task DeleteAsync(Guid id) 
@@ -115,7 +115,7 @@
         /// </summary> 
         /// <param name="ids">The ids.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         public virtual Task DeleteAsync([FromBody] IEnumerable<Guid> ids) 
         { 
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockOrderController.cs b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockOrderController.cs
index 97d4d8b..e452a3b 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockOrderController.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockOrderController.cs
@@ -63,7 +63,7 @@
         /// </summary> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         public virtual Task<WmsInOutStockOrderDto> CreateAsync(WmsInOutStockOrderCreateDto input) 
         { 
@@ -76,7 +76,7 @@
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPut] 
         [Route("{id}")] 
         public virtual Task<WmsInOutStockOrderDto> UpdateAsync(Guid id, WmsInOutStockOrderUpdateDto input) 
@@ -89,7 +89,7 @@
         /// </summary> 
         /// <param name="ids">Id闆嗗悎.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         [Route("Clone")] 
         public virtual Task<List<WmsInOutStockOrderDto>> CloneAsync([FromBody] IEnumerable<Guid> ids) 
@@ -102,7 +102,7 @@
         /// </summary> 
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         [Route("{id}")] 
         public virtual Task DeleteAsync(Guid id) 
@@ -115,7 +115,7 @@
         /// </summary> 
         /// <param name="ids">The ids.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         public virtual Task DeleteAsync([FromBody] IEnumerable<Guid> ids) 
         { 
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockOrderDetailController.cs b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockOrderDetailController.cs
index b6ca845..833d52e 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockOrderDetailController.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockOrderDetailController.cs
@@ -63,7 +63,7 @@
         /// </summary> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         public virtual Task<WmsInOutStockOrderDetailDto> CreateAsync(WmsInOutStockOrderDetailCreateDto input) 
         { 
@@ -76,7 +76,7 @@
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPut] 
         [Route("{id}")] 
         public virtual Task<WmsInOutStockOrderDetailDto> UpdateAsync(Guid id, WmsInOutStockOrderDetailUpdateDto input) 
@@ -89,7 +89,7 @@
         /// </summary> 
         /// <param name="ids">Id闆嗗悎.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         [Route("Clone")] 
         public virtual Task<List<WmsInOutStockOrderDetailDto>> CloneAsync([FromBody] IEnumerable<Guid> ids) 
@@ -102,7 +102,7 @@
         /// </summary> 
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         [Route("{id}")] 
         public virtual Task DeleteAsync(Guid id) 
@@ -115,7 +115,7 @@
         /// </summary> 
         /// <param name="ids">The ids.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         public virtual Task DeleteAsync([FromBody] IEnumerable<Guid> ids) 
         { 
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockRecordController.cs b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockRecordController.cs
index 049552c..ef6f494 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockRecordController.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsInOutStockRecordController.cs
@@ -63,7 +63,7 @@
         /// </summary> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         public virtual Task<WmsInOutStockRecordDto> CreateAsync(WmsInOutStockRecordCreateDto input) 
         { 
@@ -76,7 +76,7 @@
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPut] 
         [Route("{id}")] 
         public virtual Task<WmsInOutStockRecordDto> UpdateAsync(Guid id, WmsInOutStockRecordUpdateDto input) 
@@ -89,7 +89,7 @@
         /// </summary> 
         /// <param name="ids">Id闆嗗悎.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         [Route("Clone")] 
         public virtual Task<List<WmsInOutStockRecordDto>> CloneAsync([FromBody] IEnumerable<Guid> ids) 
@@ -102,7 +102,7 @@
         /// </summary> 
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         [Route("{id}")] 
         public virtual Task DeleteAsync(Guid id) 
@@ -115,7 +115,7 @@
         /// </summary> 
         /// <param name="ids">The ids.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         public virtual Task DeleteAsync([FromBody] IEnumerable<Guid> ids) 
         { 
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsMaterialContainerController.cs b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsMaterialContainerController.cs
index 9a2af6e..54d5cde 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsMaterialContainerController.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsMaterialContainerController.cs
@@ -63,7 +63,7 @@
         /// </summary> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         public virtual Task<WmsMaterialContainerDto> CreateAsync(WmsMaterialContainerCreateDto input) 
         { 
@@ -76,7 +76,7 @@
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPut] 
         [Route("{id}")] 
         public virtual Task<WmsMaterialContainerDto> UpdateAsync(Guid id, WmsMaterialContainerUpdateDto input) 
@@ -89,7 +89,7 @@
         /// </summary> 
         /// <param name="ids">Id闆嗗悎.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         [Route("Clone")] 
         public virtual Task<List<WmsMaterialContainerDto>> CloneAsync([FromBody] IEnumerable<Guid> ids) 
@@ -102,7 +102,7 @@
         /// </summary> 
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         [Route("{id}")] 
         public virtual Task DeleteAsync(Guid id) 
@@ -115,7 +115,7 @@
         /// </summary> 
         /// <param name="ids">The ids.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         public virtual Task DeleteAsync([FromBody] IEnumerable<Guid> ids) 
         { 
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsMaterialTypeController.cs b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsMaterialTypeController.cs
index 485f893..ab7788a 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsMaterialTypeController.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsMaterialTypeController.cs
@@ -67,7 +67,7 @@
         /// </summary> 
         /// <param name="input">鍒涘缓鍙傛暟</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         public virtual Task<WmsMaterialTypeDto> CreateAsync(WmsMaterialTypeCreateDto input) 
         { 
@@ -81,7 +81,7 @@
         /// <param name="id">涓婚敭ID</param> 
         /// <param name="input">鏇存柊鍙傛暟</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPut] 
         [Route("{id}")] 
         public virtual Task<WmsMaterialTypeDto> UpdateAsync(Guid id, WmsMaterialTypeUpdateDto input) 
@@ -95,7 +95,7 @@
         /// </summary> 
         /// <param name="ids">Id闆嗗悎</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         [Route("Clone")] 
         public virtual Task<List<WmsMaterialTypeDto>> CloneAsync([FromBody] IEnumerable<Guid> ids) 
@@ -113,7 +113,7 @@
         /// </summary> 
         /// <param name="id">涓婚敭ID</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         [Route("{id}")] 
         public virtual Task DeleteAsync(Guid id) 
@@ -132,7 +132,7 @@
         /// </summary> 
         /// <param name="ids">涓婚敭ID闆嗗悎</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         public virtual Task DeleteAsync([FromBody] IEnumerable<Guid> ids) 
         { 
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsTaskController.cs b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsTaskController.cs
index 916168f..e67e967 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsTaskController.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsTaskController.cs
@@ -63,7 +63,7 @@
         /// </summary> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         public virtual Task<WmsTaskDto> CreateAsync(WmsTaskCreateDto input) 
         { 
@@ -76,7 +76,7 @@
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <param name="input">杈撳叆.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPut] 
         [Route("{id}")] 
         public virtual Task<WmsTaskDto> UpdateAsync(Guid id, WmsTaskUpdateDto input) 
@@ -89,7 +89,7 @@
         /// </summary> 
         /// <param name="ids">Id闆嗗悎.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpPost] 
         [Route("Clone")] 
         public virtual Task<List<WmsTaskDto>> CloneAsync([FromBody] IEnumerable<Guid> ids) 
@@ -102,7 +102,7 @@
         /// </summary> 
         /// <param name="id">鏍囪瘑绗�.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         [Route("{id}")] 
         public virtual Task DeleteAsync(Guid id) 
@@ -115,7 +115,7 @@
         /// </summary> 
         /// <param name="ids">The ids.</param> 
         /// <returns></returns> 
-        //[Authorize] 
+        [Authorize] 
         [HttpDelete] 
         public virtual Task DeleteAsync([FromBody] IEnumerable<Guid> ids) 
         { 

--
Gitblit v1.9.3