TASK:AiDA模块化
This commit is contained in:
@@ -1205,6 +1205,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
||||
QueryWrapper<UserLikeGroup> userLikeGroupQueryWrapper1 = new QueryWrapper<>();
|
||||
userLikeGroupQueryWrapper1.lambda().eq(UserLikeGroup::getProjectId, projectVO.getId());
|
||||
UserLikeGroup userLikeGroup = userLikeGroupMapper.selectOne(userLikeGroupQueryWrapper1);
|
||||
if (Objects.nonNull(userLikeGroup)) {
|
||||
UserLikeGroupVO userLikeGroupVO = CopyUtil.copyObject(userLikeGroup, UserLikeGroupVO.class);
|
||||
userLikeGroupVO.setAuthor(account.getUserName());
|
||||
//count 和detail
|
||||
@@ -1228,6 +1229,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
||||
}
|
||||
}
|
||||
projectVO.setUserLikeGroupVO(userLikeGroupVO);
|
||||
}
|
||||
return projectVO;
|
||||
}
|
||||
return null;
|
||||
|
||||
@@ -30,8 +30,7 @@
|
||||
JOIN t_user_like_group ulg ON ul.user_like_group_id = ulg.id
|
||||
WHERE ulg.account_id != -1
|
||||
GROUP BY d.account_id
|
||||
having count(*) >= 200
|
||||
ORDER BY COUNT(*) DESC
|
||||
limit 10;
|
||||
;
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user