|
|
@ -226,6 +226,7 @@ public class SysNoticeService : ISysNoticeService, IDynamicApiController, ITrans
|
|
|
|
.ToListAsync();
|
|
|
|
.ToListAsync();
|
|
|
|
var count = await _sysNoticeRep.AsQueryable().InnerJoin<SysNoticeUser>((n, u) => n.Id == u.NoticeId).Where((n, u) => u.UserId == UserManager.UserId && u.ReadStatus == NoticeUserStatus.UNREAD).CountAsync();
|
|
|
|
var count = await _sysNoticeRep.AsQueryable().InnerJoin<SysNoticeUser>((n, u) => n.Id == u.NoticeId).Where((n, u) => u.UserId == UserManager.UserId && u.ReadStatus == NoticeUserStatus.UNREAD).CountAsync();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<dynamic> noticeClays = new List<dynamic>();
|
|
|
|
List<dynamic> noticeClays = new List<dynamic>();
|
|
|
|
int index = 0;
|
|
|
|
int index = 0;
|
|
|
|
foreach (var item in dic)
|
|
|
|
foreach (var item in dic)
|
|
|
|