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