From 3322dfd299755416176cd946265577e176cae795 Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周日, 11 5月 2025 20:26:51 +0800 Subject: [PATCH] 出入库功能 --- HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/CMSPluginDbContextModelSnapshot.cs | 28 +++++++++++++++++----------- 1 files changed, 17 insertions(+), 11 deletions(-) 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 52830b8..f501771 100644 --- a/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/CMSPluginDbContextModelSnapshot.cs +++ b/HIAWms/server/src/CMS.Plugin.HIAWms.MySQL/Migrations/CMSPluginDbContextModelSnapshot.cs @@ -139,7 +139,7 @@ b.HasComment("搴撳尯琛�"); }); - modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlaces.WmsContainerPlace", b => + modelBuilder.Entity("CMS.Plugin.HIAWms.Domain.WmsContainerPlace.WmsContainerPlace", b => { b.Property<string>("PlaceNo") .HasMaxLength(50) @@ -623,8 +623,9 @@ .HasColumnType("char(36)") .HasColumnName("LastModifierId"); - b.Property<int?>("MaterialBatch") - .HasColumnType("int") + b.Property<string>("MaterialBatch") + .HasMaxLength(50) + .HasColumnType("varchar(50)") .HasComment("鐗╂枡鎵规"); b.Property<string>("MaterialId") @@ -741,6 +742,11 @@ b.Property<Guid?>("LastModifierId") .HasColumnType("char(36)") .HasColumnName("LastModifierId"); + + b.Property<string>("MaterialBatch") + .HasMaxLength(64) + .HasColumnType("varchar(64)") + .HasComment("鐗╂枡鎵规"); b.Property<string>("MaterialId") .IsRequired() @@ -1106,12 +1112,6 @@ .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)") @@ -1122,6 +1122,12 @@ .HasMaxLength(128) .HasColumnType("varchar(128)") .HasComment("鐗╂枡鍚嶇О"); + + b.Property<string>("MaterialNo") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("varchar(64)") + .HasComment("鐗╂枡缂栫爜锛堝敮涓�鏍囪瘑锛�"); b.Property<string>("MaterialQuality") .HasMaxLength(64) @@ -1182,10 +1188,10 @@ b.HasKey("Id"); + b.HasIndex("MaterialName"); + b.HasIndex("MaterialNo") .IsUnique(); - - b.HasIndex("MaterialName"); b.HasIndex("MaterialType"); -- Gitblit v1.9.3