|
@@ -686,7 +686,7 @@ namespace GxPress.Repository.Implement.Note
|
|
|
AND SourceId = a.Id
|
|
|
AND AnalyzeType = 3) AS IsCollect,
|
|
|
b.Name,
|
|
|
- b.AvatarUrl,c.Id
|
|
|
+ b.AvatarUrl,c.Id,c.MiddleId
|
|
|
FROM
|
|
|
tede_note a
|
|
|
INNER JOIN
|
|
@@ -704,7 +704,7 @@ namespace GxPress.Repository.Implement.Note
|
|
|
.QueryAsync<NoteNotFolderPageResult, User, Entity.Middle.Middle, NoteNotFolderPageResult>(sql,
|
|
|
(result, user, middle) =>
|
|
|
{
|
|
|
- result.MiddleId = result.Id;
|
|
|
+ result.MiddleId = middle.MiddleId;
|
|
|
result.Id = middle.Id;
|
|
|
result.Name = user == null ? "" : user.Name;
|
|
|
result.AvatarUrl = user == null ? "" : StringUtils.AddDomainMin(user.AvatarUrl);
|