Browse Source

更新版本

master
学 赵 1 year ago
parent
commit
c0da840274
  1. 5771
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20230906031332_202309060001.Designer.cs
  2. 230
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20230906031332_202309060001.cs
  3. 137
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/SettleAccountDbContextModelSnapshot.cs

5771
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20230906031332_202309060001.Designer.cs

File diff suppressed because it is too large

230
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20230906031332_202309060001.cs

@ -0,0 +1,230 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202309060001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Set_TED_SA_INV");
migrationBuilder.AddColumn<string>(
name: "CustomerPartCodeNoSpace",
table: "Set_HBPO_SE_EDI",
type: "nvarchar(50)",
maxLength: 50,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "CustomerPartCodeNoSpace",
table: "Set_BBAC_SE_EDI",
type: "nvarchar(50)",
maxLength: 50,
nullable: true);
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"),
column: "ConcurrencyStamp",
value: "25540a425f78445b98a5590b3d708bcd");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"),
column: "ConcurrencyStamp",
value: "42328476bcab4eb38035d28596d5ecd9");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"),
column: "ConcurrencyStamp",
value: "7d49bd0d15124ee0b6de9f558fc9a429");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"),
column: "ConcurrencyStamp",
value: "4aea58b425a34947869fba8e92ade9f2");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"),
column: "ConcurrencyStamp",
value: "f65d6d2f92684535a920d7f3ed75699d");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"),
column: "ConcurrencyStamp",
value: "ec6c990fce2a4728a00c488c7757c172");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"),
column: "ConcurrencyStamp",
value: "dda70cc2fd7f4328be7860a550006ecb");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"),
column: "ConcurrencyStamp",
value: "5e50b42897c1455597888da08f8587de");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"),
column: "ConcurrencyStamp",
value: "afe6ab9a36024802ba83dd3e32de0ad4");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"),
column: "ConcurrencyStamp",
value: "f98cf5180c124d88a4853f8c9e1ebece");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"),
column: "ConcurrencyStamp",
value: "2f035dd2eca74570a85ae5276cc99e1c");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CustomerPartCodeNoSpace",
table: "Set_HBPO_SE_EDI");
migrationBuilder.DropColumn(
name: "CustomerPartCodeNoSpace",
table: "Set_BBAC_SE_EDI");
migrationBuilder.CreateTable(
name: "Set_TED_SA_INV",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
BillTo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
Customer = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
InvoiceDate = table.Column<DateTime>(type: "datetime2", nullable: false),
InvoiceNet = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
InvoiceNetAmount = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
InvoiceQuatity = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
InvoiceTax = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
InvoiceTaxAmount = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
Location = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
PartNumber = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Price = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
Remark = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Site = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Supplier = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
TYPE = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
TaxRate = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
begintime = table.Column<DateTime>(type: "datetime2", nullable: false),
endtime = table.Column<DateTime>(type: "datetime2", nullable: false),
invoiceNumber = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
sasInvoiceNumber = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_TED_SA_INV", x => x.Id);
});
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"),
column: "ConcurrencyStamp",
value: "b9e638afef8b4de097fc683516354089");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"),
column: "ConcurrencyStamp",
value: "50529732e41e474cb6d6908a8ec88099");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"),
column: "ConcurrencyStamp",
value: "f25b1fe5c17a40d18e18752ce0009d65");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"),
column: "ConcurrencyStamp",
value: "e91d573f386b42ae8eb6bf32a38bc483");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"),
column: "ConcurrencyStamp",
value: "c5726eb21c9445de91546c7f1c71efac");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"),
column: "ConcurrencyStamp",
value: "d247508e91324e40ac5754ede500b1ac");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"),
column: "ConcurrencyStamp",
value: "2f60da6b559d48a19c1817213f1528d6");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"),
column: "ConcurrencyStamp",
value: "18ec8f18b9434fa4baaa2fcb5e24c41b");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"),
column: "ConcurrencyStamp",
value: "10aadf01ae724c359846cf31aab2b31b");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"),
column: "ConcurrencyStamp",
value: "0ebe68a46be34b078560896901dd380d");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"),
column: "ConcurrencyStamp",
value: "28715471b0bd426292d154ae294bcaf4");
}
}
}

137
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/SettleAccountDbContextModelSnapshot.cs

@ -879,6 +879,10 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property<string>("CustomerPartCodeNoSpace")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<Guid?>("DeleterId")
.HasColumnType("uniqueidentifier")
.HasColumnName("DeleterId");
@ -2107,6 +2111,10 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property<string>("CustomerPartCodeNoSpace")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<Guid?>("DeleterId")
.HasColumnType("uniqueidentifier")
.HasColumnName("DeleterId");
@ -4407,113 +4415,6 @@ namespace Win.Sfs.SettleAccount.Migrations
b.ToTable("Set_SyncPositionFlag");
});
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.BQ.TED_SA_INV", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property<string>("BillTo")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(50)
.HasColumnType("nvarchar(50)")
.HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property<string>("Customer")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
b.Property<DateTime>("InvoiceDate")
.HasColumnType("datetime2");
b.Property<decimal>("InvoiceNet")
.HasColumnType("decimal(18,2)");
b.Property<decimal>("InvoiceNetAmount")
.HasColumnType("decimal(18,2)");
b.Property<decimal>("InvoiceQuatity")
.HasColumnType("decimal(18,2)");
b.Property<decimal>("InvoiceTax")
.HasColumnType("decimal(18,2)");
b.Property<decimal>("InvoiceTaxAmount")
.HasColumnType("decimal(18,2)");
b.Property<DateTime?>("LastModificationTime")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property<string>("Location")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("PartNumber")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<decimal>("Price")
.HasColumnType("decimal(18,2)");
b.Property<string>("Remark")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("Site")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("Supplier")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("TYPE")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<decimal>("TaxRate")
.HasColumnType("decimal(18,2)");
b.Property<DateTime>("begintime")
.HasColumnType("datetime2");
b.Property<DateTime>("endtime")
.HasColumnType("datetime2");
b.Property<string>("invoiceNumber")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("sasInvoiceNumber")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.HasKey("Id");
b.ToTable("Set_TED_SA_INV");
});
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.BQ.Vmi.JobItem", b =>
{
b.Property<Guid>("Id")
@ -4560,7 +4461,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"),
ConcurrencyStamp = "0ebe68a46be34b078560896901dd380d",
ConcurrencyStamp = "f98cf5180c124d88a4853f8c9e1ebece",
Cron = "0 0 8 26 *",
IsDisabled = false,
IsRunning = false,
@ -4570,7 +4471,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("185c5968-e02b-267e-db2f-225fccfc9716"),
ConcurrencyStamp = "b9e638afef8b4de097fc683516354089",
ConcurrencyStamp = "25540a425f78445b98a5590b3d708bcd",
Cron = "0 0/1 * * * ?",
IsDisabled = false,
IsRunning = false,
@ -4580,7 +4481,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"),
ConcurrencyStamp = "50529732e41e474cb6d6908a8ec88099",
ConcurrencyStamp = "42328476bcab4eb38035d28596d5ecd9",
Cron = "0 0/1 * * * ?",
IsDisabled = false,
IsRunning = false,
@ -4590,7 +4491,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"),
ConcurrencyStamp = "2f60da6b559d48a19c1817213f1528d6",
ConcurrencyStamp = "dda70cc2fd7f4328be7860a550006ecb",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4600,7 +4501,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"),
ConcurrencyStamp = "f25b1fe5c17a40d18e18752ce0009d65",
ConcurrencyStamp = "7d49bd0d15124ee0b6de9f558fc9a429",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4610,7 +4511,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"),
ConcurrencyStamp = "c5726eb21c9445de91546c7f1c71efac",
ConcurrencyStamp = "f65d6d2f92684535a920d7f3ed75699d",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4620,7 +4521,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"),
ConcurrencyStamp = "e91d573f386b42ae8eb6bf32a38bc483",
ConcurrencyStamp = "4aea58b425a34947869fba8e92ade9f2",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4630,7 +4531,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"),
ConcurrencyStamp = "28715471b0bd426292d154ae294bcaf4",
ConcurrencyStamp = "2f035dd2eca74570a85ae5276cc99e1c",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4640,7 +4541,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"),
ConcurrencyStamp = "d247508e91324e40ac5754ede500b1ac",
ConcurrencyStamp = "ec6c990fce2a4728a00c488c7757c172",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4650,7 +4551,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"),
ConcurrencyStamp = "10aadf01ae724c359846cf31aab2b31b",
ConcurrencyStamp = "afe6ab9a36024802ba83dd3e32de0ad4",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4660,7 +4561,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"),
ConcurrencyStamp = "18ec8f18b9434fa4baaa2fcb5e24c41b",
ConcurrencyStamp = "5e50b42897c1455597888da08f8587de",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,

Loading…
Cancel
Save