|
@@ -701,7 +701,7 @@ namespace GxPress.Repository.Implement.Note
|
|
|
INNER JOIN
|
|
|
tede_user b ON a.UserId = b.Id inner join tede_middle c on c.MiddleId=a.Id
|
|
|
WHERE
|
|
|
- a.IsDelete = 0 AND a.UserId = {request.UserId} and c.FolderType={noteConstValue} {sqlValue}
|
|
|
+ a.IsDelete = 0 and a.IsTopic=0 AND a.UserId = {request.UserId} and c.FolderType={noteConstValue} {sqlValue}
|
|
|
ORDER BY a.IsTop desc ,a.LastModifiedDate DESC
|
|
|
limit {(request.Page - 1) * request.PerPage},{request.PerPage}";
|
|
|
var databaseType = StringUtils.ToEnum<DatabaseType>(_databaseTypestr, DatabaseType.MySql);
|