学 赵
1 year ago
3 changed files with 6020 additions and 118 deletions
File diff suppressed because it is too large
@ -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"); |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue