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