diff --git a/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs b/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs
index ae4fbbf53..15d1d0442 100644
--- a/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs
+++ b/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs
@@ -361,6 +361,10 @@ namespace IRaCIS.Application.Contracts
}
+ public class DeleteSummarizeInfoInDto
+ {
+ public Guid Id { get; set; }
+ }
public class GetSummarizeInfoInDto
{
public Guid DoctorId { get; set; }
diff --git a/IRaCIS.Core.Application/Service/Doctor/DoctorService.cs b/IRaCIS.Core.Application/Service/Doctor/DoctorService.cs
index 9476006ea..fb0a77071 100644
--- a/IRaCIS.Core.Application/Service/Doctor/DoctorService.cs
+++ b/IRaCIS.Core.Application/Service/Doctor/DoctorService.cs
@@ -222,7 +222,7 @@ namespace IRaCIS.Core.Application.Service
///
///
[HttpPost]
- public async Task AddOrUpdateGneralSituation(SummarizeInfoDto inDto)
+ public async Task AddOrUpdateGneralSituation(SummarizeInfoDto inDto)
{
if (inDto.TrialId != null&&inDto.Id==null)
{
@@ -250,9 +250,20 @@ namespace IRaCIS.Core.Application.Service
var entity = await _doctorSummarizeRepository.InsertOrUpdateAsync(inDto, true);
- return entity;
+ return true;
}
+ ///
+ /// 删除概述
+ ///
+ ///
+ ///
+ [HttpPost]
+ public async Task DeleteSummarizeInfo(DeleteSummarizeInfoInDto inDto)
+ {
+ var result = await _doctorSummarizeRepository.DeleteFromQueryAsync(x=>x.Id==inDto.Id);
+ return await _doctorSummarizeRepository.SaveChangesAsync();
+ }
///
/// 获取概述