请问各位大哥 这个语句在数据库里就好使 写在xml里返回的就是null 这个咋解.
```xml
<select id="selectSigninUserId" parameterType="Long" resultMap="SigninResult">
SELECT p.post_name deptName
FROM sys_user u
LEFT JOIN sys_user_post up ON u.user_id = up.user_id
LEFT JOIN sys_post p ON up.post_id = p.post_id
WHERE up.user_id = #{userId}
</select>
```