16 changed files with 16355 additions and 38 deletions
-
4src/Shentun.Peis.Application.Contracts/PhoneFollowUps/GetPatientRegisterCriticalListInputDto.cs
-
4src/Shentun.Peis.Application.Contracts/PhoneFollowUps/PhoneFollowUpWithCriticalItemDto.cs
-
4src/Shentun.Peis.Application.Contracts/RegisterCheckItems/RegisterCheckItemDto.cs
-
4src/Shentun.Peis.Application.Contracts/RegisterCheckItems/RegisterCheckItemOrItemOrItemResultTemplateDto.cs
-
4src/Shentun.Peis.Application.Contracts/RegisterCheckItems/UpdateRegisterCheckItemCriticalInputDto.cs
-
4src/Shentun.Peis.Application.Contracts/RegisterChecks/RegisterCheckDto.cs
-
5src/Shentun.Peis.Application.Contracts/RegisterChecks/UpdateRegisterCheckCriticalInputDto.cs
-
11src/Shentun.Peis.Application/PhoneFollowUps/PhoneFollowUpAppService.cs
-
6src/Shentun.Peis.Application/RegisterCheckItems/RegisterCheckItemAppService.cs
-
4src/Shentun.Peis.Application/RegisterChecks/RegisterCheckAppService.cs
-
34src/Shentun.Peis.Domain/CacheService.cs
-
6src/Shentun.Peis.Domain/RegisterCheckItems/RegisterCheckItem.cs
-
6src/Shentun.Peis.Domain/RegisterChecks/RegisterCheck.cs
-
16226src/Shentun.Peis.EntityFrameworkCore/Migrations/20241124063252_update_register_check_add_diagnosis_level_id.Designer.cs
-
55src/Shentun.Peis.EntityFrameworkCore/Migrations/20241124063252_update_register_check_add_diagnosis_level_id.cs
-
16src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
16226
src/Shentun.Peis.EntityFrameworkCore/Migrations/20241124063252_update_register_check_add_diagnosis_level_id.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,55 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.Peis.Migrations |
||||
|
{ |
||||
|
public partial class update_register_check_add_diagnosis_level_id : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "critical_category", |
||||
|
table: "register_check_item"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "critical_category", |
||||
|
table: "register_check"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<short>( |
||||
|
name: "diagnosis_level_id", |
||||
|
table: "register_check_item", |
||||
|
type: "smallint", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<short>( |
||||
|
name: "diagnosis_level_id", |
||||
|
table: "register_check", |
||||
|
type: "smallint", |
||||
|
nullable: true); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "diagnosis_level_id", |
||||
|
table: "register_check_item"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "diagnosis_level_id", |
||||
|
table: "register_check"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "critical_category", |
||||
|
table: "register_check_item", |
||||
|
type: "text", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "critical_category", |
||||
|
table: "register_check", |
||||
|
type: "text", |
||||
|
nullable: true); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue