lihao hace 4 años
padre
commit
3f20200f46

+ 1 - 1
gx_api/GxPress/Repository/GxPress.Repository.Implement/NoticeRepository.cs

@@ -526,7 +526,7 @@ namespace GxPress.Repository.Implement
                 FROM
                     tede_addressee
                 WHERE
-               SourceId = a.MiddleId AND IsRead = 1 and UserId={request.UserId} limit 0,1) as IsRead, b.*, c.AvatarUrl, d.Id as NoticeAddresseeId,d.SourceId as NoticeId,(SELECT 
+               SourceId = a.MiddleId AND IsRead = 1 and UserId={request.UserId} limit 0,1) as IsRead, b.*,a.Id, c.AvatarUrl, d.Id as NoticeAddresseeId,d.SourceId as NoticeId,(SELECT 
                             Name
                         FROM
                             tede_user