修复菜单中状态查询转换失败的错误

This commit is contained in:
“zyj” 2022-03-16 10:14:02 +08:00
parent 6f6c220ccf
commit 6aee2d2e69

View File

@ -42,7 +42,7 @@
AND visible = #{visible}
</if>
<if test="status != null and status != ''">
AND status = #{status}
AND status = #{status}::integer
</if>
</where>
order by parent_id, order_num
@ -68,7 +68,7 @@
AND m.visible = #{visible}
</if>
<if test="status != null and status != ''">
AND m.status = #{status}
AND m.status = #{status}::integer
</if>
order by m.parent_id, m.order_num
</select>