修复菜单中状态查询转换失败的错误
This commit is contained in:
parent
6f6c220ccf
commit
6aee2d2e69
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user