9 changed files with 16621 additions and 8 deletions
-
21src/Shentun.Peis.Application.Contracts/PatientRegisters/BatchUpdatePatientRegisterReportReceiveInputDto.cs
-
13src/Shentun.Peis.Application.Contracts/PeisReports/GetPatientRegisterReportDto.cs
-
11src/Shentun.Peis.Application/AsbitemMutualExclusions/AsbitemMutualExclusionAppService.cs
-
47src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs
-
10src/Shentun.Peis.Application/PeisReports/PeisReportAppService.cs
-
4src/Shentun.Peis.DbMigrator/appsettings.json
-
16456src/Shentun.Peis.EntityFrameworkCore/Migrations/20251210012240_update_patient_register_add_report_receive.Designer.cs
-
50src/Shentun.Peis.EntityFrameworkCore/Migrations/20251210012240_update_patient_register_add_report_receive.cs
-
17src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
@ -0,0 +1,21 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Text; |
||||
|
|
||||
|
namespace Shentun.Peis.PatientRegisters |
||||
|
{ |
||||
|
public class BatchUpdatePatientRegisterReportReceiveInputDto |
||||
|
{ |
||||
|
public List<Guid> PatientRegisterIds { get; set; } = new List<Guid>(); |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 是否领取
|
||||
|
/// </summary>
|
||||
|
public char IsReceiveReport { get; set; } = 'Y'; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 领取人
|
||||
|
/// </summary>
|
||||
|
public string ReportReceiveName { get; set; } |
||||
|
} |
||||
|
} |
||||
16456
src/Shentun.Peis.EntityFrameworkCore/Migrations/20251210012240_update_patient_register_add_report_receive.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,50 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.Peis.Migrations |
||||
|
{ |
||||
|
public partial class update_patient_register_add_report_receive : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<char>( |
||||
|
name: "is_receive_report", |
||||
|
table: "patient_register", |
||||
|
type: "character(1)", |
||||
|
nullable: false, |
||||
|
defaultValueSql: "'N'", |
||||
|
comment: "报告是否领取"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<DateTime>( |
||||
|
name: "report_receive_date", |
||||
|
table: "patient_register", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
comment: "报告领取时间"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "report_receive_name", |
||||
|
table: "patient_register", |
||||
|
type: "text", |
||||
|
nullable: true, |
||||
|
comment: "报告领取人"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "is_receive_report", |
||||
|
table: "patient_register"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "report_receive_date", |
||||
|
table: "patient_register"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "report_receive_name", |
||||
|
table: "patient_register"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue