Browse Source

EF更新 Qad发票同步状态错误信息字段长度

master
mahao 1 year ago
parent
commit
f54e46dec6
  1. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/InvoiceSyncQad.cs
  2. 6170
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231016062207_20231016-2.Designer.cs
  3. 190
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231016062207_20231016-2.cs
  4. 26
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/SettleAccountDbContextModelSnapshot.cs

2
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/InvoiceSyncQad.cs

@ -29,7 +29,7 @@ namespace SettleAccount.Domain.BQ
/// 信息
/// </summary>
[Display(Name = "信息")]
[MaxLength(64)]
[MaxLength(500)]
public string FailedInfo { get; set; }
/// <summary>
/// 域

6170
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231016062207_20231016-2.Designer.cs

File diff suppressed because it is too large

190
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231016062207_20231016-2.cs

@ -0,0 +1,190 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202310162 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "FailedInfo",
table: "Set_InvoiceSyncQad",
type: "nvarchar(500)",
maxLength: 500,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(64)",
oldMaxLength: 64,
oldNullable: true);
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"),
column: "ConcurrencyStamp",
value: "c13d9a6642a14881a2c1a8b7ea5fcb8d");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"),
column: "ConcurrencyStamp",
value: "8b680dddea2948f1b9c5478b2d96f7d0");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"),
column: "ConcurrencyStamp",
value: "9c1702dde8db40c6aa685f4b9ffe71c6");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"),
column: "ConcurrencyStamp",
value: "b171fd7cee07472c8274c027ede28f9a");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"),
column: "ConcurrencyStamp",
value: "3cf03f88ec444bf1a74a85ebd2bcd7d9");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"),
column: "ConcurrencyStamp",
value: "66dff84a79ce4282b8f4d3a540bd12fa");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"),
column: "ConcurrencyStamp",
value: "4f740c857c2a4bc3a0add51cfd3f11df");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"),
column: "ConcurrencyStamp",
value: "804104765ca94802a7395123fe7e291c");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"),
column: "ConcurrencyStamp",
value: "f55c2e2108ff4b00b5dd87d5ebfd38e4");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"),
column: "ConcurrencyStamp",
value: "f07d2231f5bb491f8af3998b940bead3");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"),
column: "ConcurrencyStamp",
value: "3f463dcd61a444f090c2e7351a7b28cc");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "FailedInfo",
table: "Set_InvoiceSyncQad",
type: "nvarchar(64)",
maxLength: 64,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(500)",
oldMaxLength: 500,
oldNullable: true);
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"),
column: "ConcurrencyStamp",
value: "4ea75fc9726a401f9a0f56dbbb39e023");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"),
column: "ConcurrencyStamp",
value: "2d81af0f1dc147648bb26c425ad46fac");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"),
column: "ConcurrencyStamp",
value: "63eabf4b40c246088eafb9dace7ff8cd");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"),
column: "ConcurrencyStamp",
value: "e541a21d877746f39f33705b9b65c610");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"),
column: "ConcurrencyStamp",
value: "3bb7d703bfc5494a96a813f8d0cc4372");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"),
column: "ConcurrencyStamp",
value: "22525cd539bb4643b9fc29fdad20b553");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"),
column: "ConcurrencyStamp",
value: "a4f52d8fd24d4c278266799c591c9c01");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"),
column: "ConcurrencyStamp",
value: "6d2f6b84833f4056be750234138b128e");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"),
column: "ConcurrencyStamp",
value: "bbef0e9d31184d5d87943e69ed366118");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"),
column: "ConcurrencyStamp",
value: "a618b89180be498b83c0293e64ed74ac");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"),
column: "ConcurrencyStamp",
value: "d7c49aaf06804a0fb70f3e1ce4fb87fe");
}
}
}

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

@ -2931,8 +2931,8 @@ namespace Win.Sfs.SettleAccount.Migrations
.HasColumnName("ExtraProperties");
b.Property<string>("FailedInfo")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
.HasMaxLength(500)
.HasColumnType("nvarchar(500)");
b.Property<string>("InvoiceNumber")
.HasMaxLength(64)
@ -4709,7 +4709,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"),
ConcurrencyStamp = "a618b89180be498b83c0293e64ed74ac",
ConcurrencyStamp = "f07d2231f5bb491f8af3998b940bead3",
Cron = "0 0 8 26 *",
IsDisabled = false,
IsRunning = false,
@ -4719,7 +4719,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("185c5968-e02b-267e-db2f-225fccfc9716"),
ConcurrencyStamp = "4ea75fc9726a401f9a0f56dbbb39e023",
ConcurrencyStamp = "c13d9a6642a14881a2c1a8b7ea5fcb8d",
Cron = "0 0/1 * * * ?",
IsDisabled = false,
IsRunning = false,
@ -4729,7 +4729,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"),
ConcurrencyStamp = "2d81af0f1dc147648bb26c425ad46fac",
ConcurrencyStamp = "8b680dddea2948f1b9c5478b2d96f7d0",
Cron = "0 0/1 * * * ?",
IsDisabled = false,
IsRunning = false,
@ -4739,7 +4739,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"),
ConcurrencyStamp = "a4f52d8fd24d4c278266799c591c9c01",
ConcurrencyStamp = "4f740c857c2a4bc3a0add51cfd3f11df",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4749,7 +4749,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"),
ConcurrencyStamp = "63eabf4b40c246088eafb9dace7ff8cd",
ConcurrencyStamp = "9c1702dde8db40c6aa685f4b9ffe71c6",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4759,7 +4759,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"),
ConcurrencyStamp = "3bb7d703bfc5494a96a813f8d0cc4372",
ConcurrencyStamp = "3cf03f88ec444bf1a74a85ebd2bcd7d9",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4769,7 +4769,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"),
ConcurrencyStamp = "e541a21d877746f39f33705b9b65c610",
ConcurrencyStamp = "b171fd7cee07472c8274c027ede28f9a",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4779,7 +4779,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"),
ConcurrencyStamp = "d7c49aaf06804a0fb70f3e1ce4fb87fe",
ConcurrencyStamp = "3f463dcd61a444f090c2e7351a7b28cc",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4789,7 +4789,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"),
ConcurrencyStamp = "22525cd539bb4643b9fc29fdad20b553",
ConcurrencyStamp = "66dff84a79ce4282b8f4d3a540bd12fa",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4799,7 +4799,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"),
ConcurrencyStamp = "bbef0e9d31184d5d87943e69ed366118",
ConcurrencyStamp = "f55c2e2108ff4b00b5dd87d5ebfd38e4",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4809,7 +4809,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"),
ConcurrencyStamp = "6d2f6b84833f4056be750234138b128e",
ConcurrencyStamp = "804104765ca94802a7395123fe7e291c",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,

Loading…
Cancel
Save