This commit is contained in:
he
2024-10-21 11:49:37 +08:00
parent f97cfd58c0
commit fb3aa3d793
3 changed files with 35 additions and 1 deletions
@@ -301,6 +301,27 @@ namespace IRaCIS.Application.Contracts
}
public class BasicInfoAndEmploymentDto: DoctorBasicInfoCommand
{
//部门
public Guid? DepartmentId { get; set; } = Guid.Empty;
public string DepartmentOther { get; set; } = string.Empty;
public string DepartmentOtherCN { get; set; } = string.Empty;
//职称
public Guid? RankId { get; set; } = Guid.Empty;
public string RankOther { get; set; } = string.Empty;
public string RankOtherCN { get; set; } = string.Empty;
//职位 主席 副主席
public Guid? PositionId { get; set; } = Guid.Empty;
public string PositionOther { get; set; } = string.Empty;
public string PositionOtherCN { get; set; } = string.Empty;
public Guid? HospitalId { get; set; } = Guid.Empty;
public Guid? PhysicianId { get; set; }
public string Physician { get; set; } = string.Empty;
public string PhysicianCN { get; set; } = string.Empty;
}
public class DoctorBasicInfoCommand : DoctorBasicInfo
{
@@ -112,6 +112,19 @@ namespace IRaCIS.Core.Application.Service
}
/// <summary>
/// 新增修改 医生基本信息和工作
/// </summary>
/// <param name="indto"></param>
/// <returns></returns>
[HttpPost]
public async Task<IResponseOutput<DoctorBasicInfoCommand>> AddOrUpdateDoctorBasicInfoAndEmployment(BasicInfoAndEmploymentDto indto)
{
return await AddOrUpdateDoctorBasicInfo(indto);
}
/// <summary>
///详情、编辑-获取 医生基本信息 BasicInfo