lihao 4 jaren geleden
bovenliggende
commit
3f20200f46
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      gx_api/GxPress/Repository/GxPress.Repository.Implement/NoticeRepository.cs

+ 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