BUGFIX:无法查看我喜欢的作品
This commit is contained in:
@@ -433,7 +433,7 @@ public class PortfolioServiceImpl extends ServiceImpl<PortfolioMapper, Portfolio
|
||||
// 查询用户的作品集
|
||||
if (query.getGetMyPortfolio() == 1) {
|
||||
qw.lambda().eq(Portfolio::getAccountId, query.getAccountId());
|
||||
} else if (!Objects.isNull(query.getAccountId()) && !query.getAccountId().equals(0L)) {
|
||||
} else if (!Objects.isNull(query.getAccountId()) && !query.getAccountId().equals(0L) && query.getGetLikePortfolio() != 1) {
|
||||
qw.lambda().eq(Portfolio::getAccountId, query.getAccountId());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user