fix 修复根据用户ID查询菜单信息SQL报错。`status`字段为char类型,应该传字符类型,此处存在隐式转换问题。(MySQL能自动转换,PostgreSQL转换报错)。

feature/model
hewenqiang 3 years ago
parent 181ec4633b
commit 4770b0d3e3

@ -60,8 +60,8 @@
left join sys_user u on ur.user_id = u.user_id
where u.user_id = #{userId}
and m.menu_type in ('M', 'C')
and m.status = 0
AND ro.status = 0
and m.status = '0'
and ro.status = '0'
order by m.parent_id, m.order_num
</select>

Loading…
Cancel
Save