liyang
2021-10-14 1eaea5c81c46bee8b0f29f06fcb19836dea2cd93
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysPostServiceImpl.java
@@ -125,7 +125,7 @@
     * @return 结果
     */
    @Override
    public int countUserPostById(Long postId) {
    public long countUserPostById(Long postId) {
        return userPostMapper.selectCount(new LambdaQueryWrapper<SysUserPost>().eq(SysUserPost::getPostId,postId));
    }