|
|
@ -10,277 +10,235 @@ namespace Win.Sfs.SettleAccount.Migrations |
|
|
|
migrationBuilder.DeleteData( |
|
|
|
table: "Set_VmiBalance", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("73ceebb1-5b80-48b1-ac38-80334d1f345f")); |
|
|
|
|
|
|
|
migrationBuilder.AddColumn<int>( |
|
|
|
name: "BusinessType", |
|
|
|
table: "Set_HBPO_PD_DETAIL", |
|
|
|
type: "int", |
|
|
|
nullable: false, |
|
|
|
defaultValue: 0); |
|
|
|
|
|
|
|
migrationBuilder.AddColumn<int>( |
|
|
|
name: "BusinessType", |
|
|
|
table: "Set_BBAC_PD_DETAIL", |
|
|
|
type: "int", |
|
|
|
nullable: false, |
|
|
|
defaultValue: 0); |
|
|
|
keyValue: new Guid("62c9abbe-3e75-4a36-97c2-a1c79b12cb71")); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "2b23cc91f7b644438c0b08c4f9d98631"); |
|
|
|
value: "81072f462eba41b9914f4d4aea716611"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "d5f388e6b037457a9a349ef7ea7fe874"); |
|
|
|
value: "ed944c8844f24f12b7dde63809c8efb4"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "4cd0917761d94e3bb8b205f2fb301d24"); |
|
|
|
value: "6ff457ddc814405c9c517c0554d8fa7d"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "ded2be7458fd4676a1da41e939dc9a56"); |
|
|
|
value: "7622bd2d62f54b079835ce7a62bf95fe"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "2b7aa628be2f42d4b4557f3c08f72c55"); |
|
|
|
value: "b1285c03732a43fd87da115020b75c23"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("8e1cb5a9-8bcf-17fd-97e3-4c10532a5794"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "48432a8073a240edabb4c22381d8210b"); |
|
|
|
value: "7e294c644f7946db8b942f19392c4776"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "1551b0d4dbc24650940c58b623a8fedf"); |
|
|
|
value: "8c945bdfee354e9c88563c30b9396674"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "0e63d5f40d4b42efb3267a255de0a1e3"); |
|
|
|
value: "6c6d5badb49649a2a18d3decb6284fce"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "70e357aceffa4b27978c032592f9fbea"); |
|
|
|
value: "24f4ab4ebe854c7184e77ae0150e9659"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "8b77ab73bdcb4cd99fd17b2c6ca1f4e4"); |
|
|
|
value: "f25821caa51d4bbf95187d3fdd95ce74"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("c3fe2b66-28cc-c612-eca6-a362769ae90c"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "5316e6a5c7c14b8faed431425365d50f"); |
|
|
|
value: "da5ea88f24154621ab2f8d9359cfa895"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "a43e7f480d8246359911073011b1d887"); |
|
|
|
value: "3ed217e9603d4496bdef3a001ab0ebec"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "fa15c26a401940448b73baabc415a648"); |
|
|
|
value: "4b3d04cc418647a99b64f9f52a100a87"); |
|
|
|
|
|
|
|
migrationBuilder.InsertData( |
|
|
|
table: "Set_VmiBalance", |
|
|
|
columns: new[] { "Id", "AssembleData", "BillTime", "CodeType", "ConcurrencyStamp", "Configcode", "CustPartCode", "DeliverBillType", "DeliverSubBillType", "ErpToLoc", "IsReplenished", "MatchNumber", "OrderNum", "PjsNum", "Qty", "ReMark", "RealCode", "RealPartCode", "Seq", "SettlementPartCode", "SettlementVinCode", "UniqueCode", "VinCode", "factory" }, |
|
|
|
values: new object[] { new Guid("62c9abbe-3e75-4a36-97c2-a1c79b12cb71"), null, null, null, "b83b1353556f4cc9a22c6450f588f4e2", null, null, 1, null, "ErpToLoc", null, null, "OrderNum", null, 0m, null, null, "PartCode", null, null, null, null, "VinCode", null }); |
|
|
|
values: new object[] { new Guid("ba5e008b-7d8e-4b5f-b404-9a57092fab41"), null, null, null, "ebb6e4f20f8c42e1862802982fd5331f", null, null, 1, null, "ErpToLoc", null, null, "OrderNum", null, 0m, null, null, "PartCode", null, null, null, null, "VinCode", null }); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_VmiSyncTask", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("08de7a37-5ede-f524-cb3d-3c80888fd7d8"), |
|
|
|
columns: new[] { "ConcurrencyStamp", "LastUpdate" }, |
|
|
|
values: new object[] { "0a22a0a47b6c4be481074a951c8c426c", new DateTime(2023, 8, 21, 0, 0, 0, 0, DateTimeKind.Local) }); |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "a3393ee4620443ac9a692157914f162e"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_VmiSyncTask", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("b8ba69e3-f5a3-c95e-8f82-c9c2fec960b4"), |
|
|
|
columns: new[] { "ConcurrencyStamp", "LastUpdate" }, |
|
|
|
values: new object[] { "bad5183ed55c41e0b74d00013067855d", new DateTime(2023, 8, 21, 0, 0, 0, 0, DateTimeKind.Local) }); |
|
|
|
|
|
|
|
migrationBuilder.CreateIndex( |
|
|
|
name: "IX_Set_VmiLog_BillTime", |
|
|
|
table: "Set_VmiLog", |
|
|
|
column: "BillTime") |
|
|
|
.Annotation("SqlServer:Clustered", true); |
|
|
|
|
|
|
|
migrationBuilder.CreateIndex( |
|
|
|
name: "IX_Set_VmiBalance_BillTime", |
|
|
|
table: "Set_VmiBalance", |
|
|
|
column: "BillTime") |
|
|
|
.Annotation("SqlServer:Clustered", true); |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "b4ffe8f9e39f466a948d4f642593d0e9"); |
|
|
|
} |
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) |
|
|
|
{ |
|
|
|
migrationBuilder.DropIndex( |
|
|
|
name: "IX_Set_VmiLog_BillTime", |
|
|
|
table: "Set_VmiLog"); |
|
|
|
|
|
|
|
migrationBuilder.DropIndex( |
|
|
|
name: "IX_Set_VmiBalance_BillTime", |
|
|
|
table: "Set_VmiBalance"); |
|
|
|
|
|
|
|
migrationBuilder.DeleteData( |
|
|
|
table: "Set_VmiBalance", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("62c9abbe-3e75-4a36-97c2-a1c79b12cb71")); |
|
|
|
|
|
|
|
migrationBuilder.DropColumn( |
|
|
|
name: "BusinessType", |
|
|
|
table: "Set_HBPO_PD_DETAIL"); |
|
|
|
|
|
|
|
migrationBuilder.DropColumn( |
|
|
|
name: "BusinessType", |
|
|
|
table: "Set_BBAC_PD_DETAIL"); |
|
|
|
keyValue: new Guid("ba5e008b-7d8e-4b5f-b404-9a57092fab41")); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "d6ba8aa579b04d55a23bd4bf24e6ed9f"); |
|
|
|
value: "2b23cc91f7b644438c0b08c4f9d98631"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "72a5ae8256104547b6d5a41323c3ad84"); |
|
|
|
value: "d5f388e6b037457a9a349ef7ea7fe874"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "03f4d0ab46de4dfa88a918fe2b3c48fa"); |
|
|
|
value: "4cd0917761d94e3bb8b205f2fb301d24"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "143f0e0bf5b6446aafe7964aab5fcb1a"); |
|
|
|
value: "ded2be7458fd4676a1da41e939dc9a56"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "76e8e365e9ff48e1953f3b14e7e01fe7"); |
|
|
|
value: "2b7aa628be2f42d4b4557f3c08f72c55"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("8e1cb5a9-8bcf-17fd-97e3-4c10532a5794"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "5bdbe6b8c451462983e460c4adcab0f1"); |
|
|
|
value: "48432a8073a240edabb4c22381d8210b"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "955009a9778e4cd1b2dfde2aabebabfd"); |
|
|
|
value: "1551b0d4dbc24650940c58b623a8fedf"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "8f8d688a37e54d84aeca023750200e2f"); |
|
|
|
value: "0e63d5f40d4b42efb3267a255de0a1e3"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "041fcaa8b49347edb5b46fde3ab1032d"); |
|
|
|
value: "70e357aceffa4b27978c032592f9fbea"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "9ed27ee117aa41a681a8cdbfb30b2f25"); |
|
|
|
value: "8b77ab73bdcb4cd99fd17b2c6ca1f4e4"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("c3fe2b66-28cc-c612-eca6-a362769ae90c"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "b612ac27de904ec5b5fb5371cf427566"); |
|
|
|
value: "5316e6a5c7c14b8faed431425365d50f"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "f8789477c42b476485bd7499b5facce4"); |
|
|
|
value: "a43e7f480d8246359911073011b1d887"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_JobItem", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "1b569f48046046b2b908b1a3b327f104"); |
|
|
|
value: "fa15c26a401940448b73baabc415a648"); |
|
|
|
|
|
|
|
migrationBuilder.InsertData( |
|
|
|
table: "Set_VmiBalance", |
|
|
|
columns: new[] { "Id", "AssembleData", "BillTime", "CodeType", "ConcurrencyStamp", "Configcode", "CustPartCode", "DeliverBillType", "DeliverSubBillType", "ErpToLoc", "IsReplenished", "MatchNumber", "OrderNum", "PjsNum", "Qty", "ReMark", "RealCode", "RealPartCode", "Seq", "SettlementPartCode", "SettlementVinCode", "UniqueCode", "VinCode", "factory" }, |
|
|
|
values: new object[] { new Guid("73ceebb1-5b80-48b1-ac38-80334d1f345f"), null, null, null, "bfe48a54e65e4856bd2e768456026105", null, null, 1, null, "ErpToLoc", null, null, "OrderNum", null, 0m, null, null, "PartCode", null, null, null, null, "VinCode", null }); |
|
|
|
values: new object[] { new Guid("62c9abbe-3e75-4a36-97c2-a1c79b12cb71"), null, null, null, "b83b1353556f4cc9a22c6450f588f4e2", null, null, 1, null, "ErpToLoc", null, null, "OrderNum", null, 0m, null, null, "PartCode", null, null, null, null, "VinCode", null }); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_VmiSyncTask", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("08de7a37-5ede-f524-cb3d-3c80888fd7d8"), |
|
|
|
columns: new[] { "ConcurrencyStamp", "LastUpdate" }, |
|
|
|
values: new object[] { "25685f349c47487f874b9ac5dc039190", new DateTime(2023, 8, 20, 0, 0, 0, 0, DateTimeKind.Local) }); |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "0a22a0a47b6c4be481074a951c8c426c"); |
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
|
table: "Set_VmiSyncTask", |
|
|
|
keyColumn: "Id", |
|
|
|
keyValue: new Guid("b8ba69e3-f5a3-c95e-8f82-c9c2fec960b4"), |
|
|
|
columns: new[] { "ConcurrencyStamp", "LastUpdate" }, |
|
|
|
values: new object[] { "2debe020ac9d4f37b62a52ff564577c2", new DateTime(2023, 8, 20, 0, 0, 0, 0, DateTimeKind.Local) }); |
|
|
|
column: "ConcurrencyStamp", |
|
|
|
value: "bad5183ed55c41e0b74d00013067855d"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |