Compare commits
No commits in common. "a1dc17c58254c76eb27c19245a1063d68ea42aed" and "6315f1dc55c39cbb60abda432dcd4cb6bfedab74" have entirely different histories.
a1dc17c582
...
6315f1dc55
|
|
@ -196,7 +196,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public class EditPatientInfoCommand
|
public class EditPatientInfoCommand
|
||||||
{
|
{
|
||||||
public Guid Id { get; set; }
|
public Guid StudyId { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 性别
|
/// 性别
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -236,7 +236,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
public class PatientInfoDto
|
public class PatientInfoDto
|
||||||
{
|
{
|
||||||
|
|
||||||
public Guid Id { get; set; }
|
public Guid StudyId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 性别
|
/// 性别
|
||||||
|
|
|
||||||
|
|
@ -198,7 +198,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<IResponseOutput> EditPatientInfo(EditPatientInfoCommand command)
|
public async Task<IResponseOutput> EditPatientInfo(EditPatientInfoCommand command)
|
||||||
{
|
{
|
||||||
await _dicomStudyRepository.UpdatePartialFromQueryAsync(command.Id, x => new DicomStudy
|
await _dicomStudyRepository.UpdatePartialFromQueryAsync(command.StudyId, x => new DicomStudy
|
||||||
{
|
{
|
||||||
PatientSex = command.PatientSex,
|
PatientSex = command.PatientSex,
|
||||||
PatientWeight = command.PatientWeight,
|
PatientWeight = command.PatientWeight,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue