|
@@ -536,7 +536,7 @@ namespace GxPress.Repository.Implement
|
|
|
tede_user c ON b.UserId = c.Id
|
|
|
left JOIN
|
|
|
tede_addressee d ON d.Id = a.MiddleSonId
|
|
|
- WHERE a.IsRecall=0,
|
|
|
+ WHERE a.IsRecall=0 and
|
|
|
a.UserId = {request.UserId} and a.FolderType={noticeTypeValue}
|
|
|
{sb}
|
|
|
ORDER BY a.IsTop desc,a.LastModifiedDate desc,a.AttributeValue desc
|
|
@@ -551,7 +551,7 @@ namespace GxPress.Repository.Implement
|
|
|
tede_user c ON b.UserId = c.Id
|
|
|
left JOIN
|
|
|
tede_addressee d ON d.Id = a.MiddleSonId
|
|
|
- WHERE
|
|
|
+ WHERE a.IsRecall=0 and
|
|
|
a.UserId = {1} and a.FolderType={2}
|
|
|
{0}", sb, request.UserId, noticeTypeValue);
|
|
|
var databaseType = StringUtils.ToEnum<DatabaseType>(_databaseTypeStr, DatabaseType.MySql);
|