28 changed files with 151781 additions and 45 deletions
-
3871src/Shentun.Peis.Application/CCTJExportDatas/CCTJExportDataAppService.cs
-
3src/Shentun.Peis.DbMigrator/appsettings.json
-
2src/Shentun.Peis.Domain/Asbitems/Asbitem.cs
-
6src/Shentun.Peis.Domain/CardRegisters/CardRegister.cs
-
2src/Shentun.Peis.Domain/CardTypes/CardType.cs
-
10src/Shentun.Peis.Domain/CustomerOrgs/CustomerOrg.cs
-
4src/Shentun.Peis.Domain/Diagnosises/Diagnosis.cs
-
4src/Shentun.Peis.Domain/ItemResultTemplates/ItemResultTemplate.cs
-
4src/Shentun.Peis.Domain/MedicalPackages/MedicalPackage.cs
-
16377src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918102742_update_asbitem_clinical_meaning_length.Designer.cs
-
41src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918102742_update_asbitem_clinical_meaning_length.cs
-
16377src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918103725_update_medical_package_display_name_length.Designer.cs
-
61src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918103725_update_medical_package_display_name_length.cs
-
16377src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918104847_update_diagnosis_display_name_length.Designer.cs
-
61src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918104847_update_diagnosis_display_name_length.cs
-
16377src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918121436_update_item_result_template_result_length.Designer.cs
-
63src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918121436_update_item_result_template_result_length.cs
-
16377src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918122736_update_customer_org_bank_length.Designer.cs
-
65src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918122736_update_customer_org_bank_length.cs
-
16377src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123256_update_customer_org_bank_length_2.Designer.cs
-
41src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123256_update_customer_org_bank_length_2.cs
-
16377src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123735_update_customer_org_bank_length_3.Designer.cs
-
67src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123735_update_customer_org_bank_length_3.cs
-
16376src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921092208_update_card_register_index.Designer.cs
-
34src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921092208_update_card_register_index.cs
-
16376src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921093213_update_card_register_remark_length.Designer.cs
-
41src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921093213_update_card_register_remark_length.cs
-
55src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
3871
src/Shentun.Peis.Application/CCTJExportDatas/CCTJExportDataAppService.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918102742_update_asbitem_clinical_meaning_length.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,41 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class update_asbitem_clinical_meaning_length : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "clinical_meaning", |
|||
table: "asbitem", |
|||
type: "character varying(500)", |
|||
maxLength: 500, |
|||
nullable: true, |
|||
comment: "临床意义", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true, |
|||
oldComment: "临床意义"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "clinical_meaning", |
|||
table: "asbitem", |
|||
type: "character varying(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
comment: "临床意义", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(500)", |
|||
oldMaxLength: 500, |
|||
oldNullable: true, |
|||
oldComment: "临床意义"); |
|||
} |
|||
} |
|||
} |
|||
16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918103725_update_medical_package_display_name_length.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,61 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class update_medical_package_display_name_length : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "simple_code", |
|||
table: "medical_package", |
|||
type: "character varying(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "display_name", |
|||
table: "medical_package", |
|||
type: "character varying(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
comment: "名称", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(20)", |
|||
oldMaxLength: 20, |
|||
oldComment: "名称"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "simple_code", |
|||
table: "medical_package", |
|||
type: "character varying(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "display_name", |
|||
table: "medical_package", |
|||
type: "character varying(20)", |
|||
maxLength: 20, |
|||
nullable: false, |
|||
comment: "名称", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(50)", |
|||
oldMaxLength: 50, |
|||
oldComment: "名称"); |
|||
} |
|||
} |
|||
} |
|||
16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918104847_update_diagnosis_display_name_length.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,61 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class update_diagnosis_display_name_length : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "simple_code", |
|||
table: "diagnosis", |
|||
type: "character varying(300)", |
|||
maxLength: 300, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "display_name", |
|||
table: "diagnosis", |
|||
type: "character varying(300)", |
|||
maxLength: 300, |
|||
nullable: false, |
|||
comment: "名称", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(100)", |
|||
oldMaxLength: 100, |
|||
oldComment: "名称"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "simple_code", |
|||
table: "diagnosis", |
|||
type: "character varying(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(300)", |
|||
oldMaxLength: 300, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "display_name", |
|||
table: "diagnosis", |
|||
type: "character varying(100)", |
|||
maxLength: 100, |
|||
nullable: false, |
|||
comment: "名称", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(300)", |
|||
oldMaxLength: 300, |
|||
oldComment: "名称"); |
|||
} |
|||
} |
|||
} |
|||
16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918121436_update_item_result_template_result_length.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,63 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class update_item_result_template_result_length : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "simple_code", |
|||
table: "item_result_template", |
|||
type: "character varying(500)", |
|||
maxLength: 500, |
|||
nullable: false, |
|||
comment: "拼音简码", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(200)", |
|||
oldMaxLength: 200, |
|||
oldComment: "拼音简码"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "result", |
|||
table: "item_result_template", |
|||
type: "character varying(500)", |
|||
maxLength: 500, |
|||
nullable: false, |
|||
comment: "结果", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(200)", |
|||
oldMaxLength: 200, |
|||
oldComment: "结果"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "simple_code", |
|||
table: "item_result_template", |
|||
type: "character varying(200)", |
|||
maxLength: 200, |
|||
nullable: false, |
|||
comment: "拼音简码", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(500)", |
|||
oldMaxLength: 500, |
|||
oldComment: "拼音简码"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "result", |
|||
table: "item_result_template", |
|||
type: "character varying(200)", |
|||
maxLength: 200, |
|||
nullable: false, |
|||
comment: "结果", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(500)", |
|||
oldMaxLength: 500, |
|||
oldComment: "结果"); |
|||
} |
|||
} |
|||
} |
|||
16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918122736_update_customer_org_bank_length.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,65 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class update_customer_org_bank_length : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "short_name", |
|||
table: "customer_org", |
|||
type: "character varying(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
comment: "简称", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(20)", |
|||
oldMaxLength: 20, |
|||
oldComment: "简称"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "bank", |
|||
table: "customer_org", |
|||
type: "character varying(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
comment: "业务银行", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true, |
|||
oldComment: "业务银行"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "short_name", |
|||
table: "customer_org", |
|||
type: "character varying(20)", |
|||
maxLength: 20, |
|||
nullable: false, |
|||
comment: "简称", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(50)", |
|||
oldMaxLength: 50, |
|||
oldComment: "简称"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "bank", |
|||
table: "customer_org", |
|||
type: "character varying(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
comment: "业务银行", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true, |
|||
oldComment: "业务银行"); |
|||
} |
|||
} |
|||
} |
|||
16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123256_update_customer_org_bank_length_2.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,41 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class update_customer_org_bank_length_2 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "accounts", |
|||
table: "customer_org", |
|||
type: "character varying(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
comment: "银行帐号", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true, |
|||
oldComment: "银行帐号"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "accounts", |
|||
table: "customer_org", |
|||
type: "character varying(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
comment: "银行帐号", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true, |
|||
oldComment: "银行帐号"); |
|||
} |
|||
} |
|||
} |
|||
16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123735_update_customer_org_bank_length_3.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,67 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class update_customer_org_bank_length_3 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "postal_code", |
|||
table: "customer_org", |
|||
type: "character varying(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
comment: "邮政编码", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true, |
|||
oldComment: "邮政编码"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "address", |
|||
table: "customer_org", |
|||
type: "character varying(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
comment: "联系地址", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true, |
|||
oldComment: "联系地址"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "postal_code", |
|||
table: "customer_org", |
|||
type: "character varying(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
comment: "邮政编码", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true, |
|||
oldComment: "邮政编码"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "address", |
|||
table: "customer_org", |
|||
type: "character varying(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
comment: "联系地址", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true, |
|||
oldComment: "联系地址"); |
|||
} |
|||
} |
|||
} |
|||
16376
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921092208_update_card_register_index.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,34 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class update_card_register_index : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "ix_card_register", |
|||
table: "card_register"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "ix_card_register", |
|||
table: "card_register", |
|||
columns: new[] { "card_no", "is_active" }); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "ix_card_register", |
|||
table: "card_register"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "ix_card_register", |
|||
table: "card_register", |
|||
columns: new[] { "card_no", "is_active" }, |
|||
unique: true); |
|||
} |
|||
} |
|||
} |
|||
16376
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921093213_update_card_register_remark_length.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,41 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class update_card_register_remark_length : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "remark", |
|||
table: "card_register", |
|||
type: "character varying(200)", |
|||
maxLength: 200, |
|||
nullable: true, |
|||
comment: "备注", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true, |
|||
oldComment: "备注"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "remark", |
|||
table: "card_register", |
|||
type: "character varying(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
comment: "备注", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(200)", |
|||
oldMaxLength: 200, |
|||
oldNullable: true, |
|||
oldComment: "备注"); |
|||
} |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue