mahao
1 year ago
6 changed files with 6350 additions and 85 deletions
@ -0,0 +1,71 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ |
|||
{ |
|||
/// <summary>
|
|||
/// 发票同步Qad
|
|||
/// </summary>
|
|||
public class InvoiceSyncQad : AuditedAggregateRoot<Guid> |
|||
{ |
|||
/// <summary>
|
|||
/// 状态
|
|||
/// </summary>
|
|||
[Display(Name = "状态")] |
|||
public int TaskState { get; set; } |
|||
/// <summary>
|
|||
/// 任务ID
|
|||
/// </summary>
|
|||
[Display(Name = "任务ID")] |
|||
public Guid TaskID { get; set; } |
|||
/// <summary>
|
|||
/// 表名
|
|||
/// </summary>
|
|||
[Display(Name = "表名")] |
|||
[MaxLength(64)] |
|||
public string TaskName { get; set; } |
|||
/// <summary>
|
|||
/// 信息
|
|||
/// </summary>
|
|||
[Display(Name = "信息")] |
|||
[MaxLength(64)] |
|||
public string Failedinfo { get; set; } |
|||
/// <summary>
|
|||
/// 域
|
|||
/// </summary>
|
|||
[Display(Name = "域")] |
|||
[MaxLength(64)] |
|||
public string Domain { get; set; } |
|||
/// <summary>
|
|||
/// 地点
|
|||
/// </summary>
|
|||
[Display(Name = "地点")] |
|||
[MaxLength(64)] |
|||
public string Site { get; set; } |
|||
/// <summary>
|
|||
/// 金税发票号
|
|||
/// </summary>
|
|||
[Display(Name = "金税发票号")] |
|||
[MaxLength(64)] |
|||
public string InvoiceNumber { get; set; } |
|||
/// <summary>
|
|||
/// 结算发票号
|
|||
/// </summary>
|
|||
[Display(Name = "结算发票号")] |
|||
[MaxLength(64)] |
|||
public string SaslnvoiceNumber { get; set; } |
|||
/// <summary>
|
|||
/// 客户
|
|||
/// </summary>
|
|||
[Display(Name = "客户")] |
|||
[MaxLength(64)] |
|||
public string Customer { get; set; } |
|||
/// <summary>
|
|||
/// 凭证号
|
|||
/// </summary>
|
|||
[Display(Name = "凭证号")] |
|||
[MaxLength(64)] |
|||
public string Voucher { get; set; } |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,198 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Migrations |
|||
{ |
|||
public partial class _202310121 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.CreateTable( |
|||
name: "Set_InvoiceSyncQad", |
|||
columns: table => new |
|||
{ |
|||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
TaskState = table.Column<int>(type: "int", nullable: false), |
|||
TaskID = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
TaskName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|||
Failedinfo = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|||
Domain = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|||
Site = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|||
InvoiceNumber = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|||
SaslnvoiceNumber = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|||
Customer = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|||
Voucher = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), |
|||
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), |
|||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true), |
|||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_Set_InvoiceSyncQad", x => x.Id); |
|||
}); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|||
column: "ConcurrencyStamp", |
|||
value: "325bc4e2a3074f7ab1b41ed5cfd1e8ca"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|||
column: "ConcurrencyStamp", |
|||
value: "a11a0e1af79040a5901a0f290cbb7936"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|||
column: "ConcurrencyStamp", |
|||
value: "d6afa4a5cbd94ca08f6a7591c80d2531"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|||
column: "ConcurrencyStamp", |
|||
value: "c2d69fd69946428bb3aaceef7d68f5b9"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|||
column: "ConcurrencyStamp", |
|||
value: "af52a9e211b247b4accd0361198621e1"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|||
column: "ConcurrencyStamp", |
|||
value: "295cdcf125a64355afa3d5974c7d79be"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|||
column: "ConcurrencyStamp", |
|||
value: "cfa9502d5e314d70b0c1ddef91853d36"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|||
column: "ConcurrencyStamp", |
|||
value: "320f864ee06b472eb196e2ad3edc412f"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|||
column: "ConcurrencyStamp", |
|||
value: "f9bed92b9cd9469c93829cdb37784b82"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|||
column: "ConcurrencyStamp", |
|||
value: "1e5f1338551448eaa8ce065e77578fc4"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|||
column: "ConcurrencyStamp", |
|||
value: "6182defa2c0b477186fa6a4de7ea7f2e"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropTable( |
|||
name: "Set_InvoiceSyncQad"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|||
column: "ConcurrencyStamp", |
|||
value: "1a1e601cecf048be81c05fef8276da45"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|||
column: "ConcurrencyStamp", |
|||
value: "173befe56a454211b5e7a34055c05028"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|||
column: "ConcurrencyStamp", |
|||
value: "ece4fb3c94d84db49b29bb7ce5403e0f"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|||
column: "ConcurrencyStamp", |
|||
value: "55e773e2549a4b8eb37290f10b2217de"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|||
column: "ConcurrencyStamp", |
|||
value: "8df83c3b351c4501af06cb28800daf40"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|||
column: "ConcurrencyStamp", |
|||
value: "2f67425d15004f4fbca4ce530ba6fd78"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|||
column: "ConcurrencyStamp", |
|||
value: "39237411d84b425d82b192f2d34fa311"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|||
column: "ConcurrencyStamp", |
|||
value: "c6ff3a457eab4058aa63aee66825624e"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|||
column: "ConcurrencyStamp", |
|||
value: "e59e2f6af2c44e40b0f9b82817789e1d"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|||
column: "ConcurrencyStamp", |
|||
value: "4ce40eb18ef0488d81ba2906a4c80b0b"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|||
column: "ConcurrencyStamp", |
|||
value: "facdc1ba48df49138b67cf266a4936f2"); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue