Browse Source

体检信息是否为职业病

bjmzak
wxd 1 year ago
parent
commit
5993fb1346
  1. 1
      src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs
  2. 14945
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20240604153430_init20240604001.Designer.cs
  3. 40
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20240604153430_init20240604001.cs
  4. 5
      src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs

1
src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs

@ -3191,6 +3191,7 @@ namespace Shentun.Peis.PatientRegisters
CustomerOrgName = _cacheService.GetCustomerOrgNameAsync(ent.CustomerOrgId).Result,
CustomerOrgParentName = _cacheService.GetTopCustomerOrgNameAsync(ent.CustomerOrgId).Result,
CustomerOrgParentId = _cacheService.GetTopCustomerOrgAsync(ent.CustomerOrgId).Result.Id,
IsPatientOccupationalDisease = _patientOccupationalDiseaseManager.GetPatientRegisterIsOccupationalDisease(ent.Id).Result
};
var registerCheckAsbitems = (await _registerCheckAsbitemRepository.GetQueryableAsync())
.Include(x => x.Asbitem)

14945
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240604153430_init20240604001.Designer.cs
File diff suppressed because it is too large
View File

40
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240604153430_init20240604001.cs

@ -0,0 +1,40 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class init20240604001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "appoint_patient_register_id",
table: "patient_register",
type: "character varying(40)",
maxLength: 40,
nullable: true,
comment: "预约人员登记ID",
oldClrType: typeof(Guid),
oldType: "uuid",
oldNullable: true,
oldComment: "预约人员登记ID");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<Guid>(
name: "appoint_patient_register_id",
table: "patient_register",
type: "uuid",
nullable: true,
comment: "预约人员登记ID",
oldClrType: typeof(string),
oldType: "character varying(40)",
oldMaxLength: 40,
oldNullable: true,
oldComment: "预约人员登记ID");
}
}
}

5
src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs

@ -6993,8 +6993,9 @@ namespace Shentun.Peis.Migrations
.HasColumnName("age")
.HasComment("年龄");
b.Property<Guid?>("AppointPatientRegisterId")
.HasColumnType("uuid")
b.Property<string>("AppointPatientRegisterId")
.HasMaxLength(40)
.HasColumnType("character varying(40)")
.HasColumnName("appoint_patient_register_id")
.HasComment("预约人员登记ID");

Loading…
Cancel
Save