|
@@ -62,7 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where u.user_id = #{userId}
|
|
|
</select>
|
|
|
|
|
|
- <select id="selectPostsByUserName" parameterType="String" resultMap="SysPostResult">
|
|
|
+ <select id="selectPostsByUserName" parameterType="Map" resultMap="SysPostResult">
|
|
|
select p.post_id, p.post_name, p.post_code
|
|
|
from sys_post p
|
|
|
left join sys_user_post up on up.post_id = p.post_id
|