疯狂的狮子li
2021-09-09 61edd5588e27a9335f0003649d7d69526badeee7
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));
    }