Jelajahi Sumber

Merge branch 'master' of http://110.188.24.182:10023/Fengwo/hotline

田爽 1 tahun lalu
induk
melakukan
a132f0de51
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      src/Hotline.Api/Controllers/ArticleController.cs

+ 1 - 0
src/Hotline.Api/Controllers/ArticleController.cs

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