修改
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
|
||||
using IRaCIS.Core.Application.Service.Inspection.DTO;
|
||||
using IRaCIS.Core.Application.Service.Reading.Dto;
|
||||
using IRaCIS.Core.Domain.Share.Reading;
|
||||
|
||||
@@ -13,5 +14,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
public interface IReadingClinicalDataService
|
||||
{
|
||||
Task<IResponseOutput> AddOrUpdateReadingClinicalData(AddOrUpdateReadingClinicalDataDto indto);
|
||||
|
||||
Task<IResponseOutput> ReadClinicalDataSign(ReadingClinicalDataSignIndto inDto);
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,8 @@ using System.ComponentModel.DataAnnotations;
|
||||
using System.Reflection;
|
||||
using IRaCIS.Core.Infra.EFCore.Common;
|
||||
using IRaCIS.Core.Application.Contracts;
|
||||
using IRaCIS.Core.Application.Service.Inspection.DTO;
|
||||
using Panda.DynamicWebApi.Attributes;
|
||||
|
||||
namespace IRaCIS.Application.Services
|
||||
{
|
||||
@@ -150,7 +152,24 @@ namespace IRaCIS.Application.Services
|
||||
return clinicalList;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 影像阅片临床数据签名
|
||||
/// </summary>
|
||||
// [HttpPost]
|
||||
[NonDynamicMethod]
|
||||
public async Task<IResponseOutput> ReadClinicalDataSign(ReadingClinicalDataSignIndto inDto)
|
||||
{
|
||||
await _readingClinicalDataRepository.UpdatePartialFromQueryAsync(x => x.Id == inDto.ReadingClinicalDataId, x => new ReadingClinicalData()
|
||||
{
|
||||
IsSign = true
|
||||
});
|
||||
|
||||
var result =await _readingClinicalDataRepository.SaveChangesAsync();
|
||||
|
||||
return ResponseOutput.Result(result);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取阅片临床数据列表
|
||||
|
||||
Reference in New Issue
Block a user