Compare commits
2 Commits
6315f1dc55
...
a1dc17c582
| Author | SHA1 | Date |
|---|---|---|
|
|
a1dc17c582 | |
|
|
01f339cb41 |
|
|
@ -196,7 +196,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public class EditPatientInfoCommand
|
public class EditPatientInfoCommand
|
||||||
{
|
{
|
||||||
public Guid StudyId { get; set; }
|
public Guid Id { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 性别
|
/// 性别
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -236,7 +236,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
public class PatientInfoDto
|
public class PatientInfoDto
|
||||||
{
|
{
|
||||||
|
|
||||||
public Guid StudyId { get; set; }
|
public Guid Id { 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.StudyId, x => new DicomStudy
|
await _dicomStudyRepository.UpdatePartialFromQueryAsync(command.Id, x => new DicomStudy
|
||||||
{
|
{
|
||||||
PatientSex = command.PatientSex,
|
PatientSex = command.PatientSex,
|
||||||
PatientWeight = command.PatientWeight,
|
PatientWeight = command.PatientWeight,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue