|
@@ -247,6 +247,7 @@ namespace Hotline.Api.Controllers
|
|
circular.IsMustRead = dto.IsMustRead;
|
|
circular.IsMustRead = dto.IsMustRead;
|
|
circular.SourceOrgId = dto.SourceOrgId;
|
|
circular.SourceOrgId = dto.SourceOrgId;
|
|
circular.SourceOrgName = dto.SourceOrgName;
|
|
circular.SourceOrgName = dto.SourceOrgName;
|
|
|
|
+ circular.NeedReadNum = dto.CircularReadGroups.Count;
|
|
await _circularRepository.UpdateAsync(circular,HttpContext.RequestAborted);
|
|
await _circularRepository.UpdateAsync(circular,HttpContext.RequestAborted);
|
|
//移除子表重新添加
|
|
//移除子表重新添加
|
|
await _circularReadGroupRepository.RemoveAsync(x => x.CircularId == dto.Id,false,HttpContext.RequestAborted);
|
|
await _circularReadGroupRepository.RemoveAsync(x => x.CircularId == dto.Id,false,HttpContext.RequestAborted);
|