疯狂的狮子Li
2021-12-03 b00c6dd89b5f99576046aeb993ce7c0e0508ff5f
ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
@@ -29,7 +29,7 @@
        from sys_post
    </sql>
    <select id="selectPostListByUserId" parameterType="Long" resultType="Integer">
    <select id="selectPostListByUserId" parameterType="Long" resultType="Long">
        select p.post_id
        from sys_post p
                 left join sys_user_post up on up.post_id = p.post_id
@@ -45,4 +45,4 @@
        where u.user_name = #{userName}
    </select>
</mapper>
</mapper>