编辑病灶问题修改
This commit is contained in:
@@ -1876,6 +1876,14 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
|
||||
public Guid? RowId { get; set; }
|
||||
|
||||
public Guid? Id
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.RowId;
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsCanEditPosition { get; set; } = false;
|
||||
|
||||
public decimal FristAddTaskNum { get; set; } = 0;
|
||||
|
||||
@@ -1997,7 +1997,7 @@ namespace IRaCIS.Application.Services
|
||||
|
||||
_mapper.Map(inDto, rowInfo);
|
||||
rowInfo.Id = inDto.RowId == null ? NewId.NextGuid() : inDto.RowId.Value;
|
||||
|
||||
result.RowId = rowInfo.Id;
|
||||
|
||||
|
||||
if (inDto.RowId == null)
|
||||
@@ -2025,7 +2025,7 @@ namespace IRaCIS.Application.Services
|
||||
|
||||
else
|
||||
{
|
||||
await _readingTableAnswerRowInfoRepository.UpdateFromDTOAsync(rowInfo) ;
|
||||
await _readingTableAnswerRowInfoRepository.UpdateFromDTOAsync(inDto) ;
|
||||
|
||||
|
||||
foreach (var item in inDto.AnswerList)
|
||||
|
||||
Reference in New Issue
Block a user