|
@@ -527,7 +527,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.Name, c.AvatarUrl, d.*
|
|
|
+ SourceId = a.MiddleId AND IsRead = 1 and UserId={request.UserId} limit 0,1) as IsRead, b.*, c.Name, c.AvatarUrl, d.Id,d.SourceId
|
|
|
FROM
|
|
|
tede_middle a
|
|
|
left JOIN
|
|
@@ -548,7 +548,7 @@ namespace GxPress.Repository.Implement
|
|
|
left JOIN
|
|
|
tede_notice b ON a.MiddleId = b.Id
|
|
|
left JOIN
|
|
|
- tede_user c ON b.UserId = c.Id
|
|
|
+ tede_user c ON a.UserId = c.Id
|
|
|
left JOIN
|
|
|
tede_addressee d ON d.Id = a.MiddleSonId
|
|
|
WHERE a.IsRecall=0 and
|
|
@@ -571,7 +571,7 @@ namespace GxPress.Repository.Implement
|
|
|
noticeListPageResult.NoticeId = noticeAddressee?.SourceId ?? 0;
|
|
|
return noticeListPageResult;
|
|
|
},
|
|
|
- splitOn: "Id,Name,Id");
|
|
|
+ splitOn: "Id,Id,Name,Id");
|
|
|
foreach (var item in items)
|
|
|
{
|
|
|
if (item.AttributeValue == 3)
|