Commit 6393d661 authored by chenzhao's avatar chenzhao

bug2407 筛选参数解析异常 修改筛选条件方法 XML中添加了selectAllPage 方法 data代表排序条件 lift 升降序

parent 6afdeaa8
......@@ -114,6 +114,7 @@
FROM
jc_alert_called a
<where>
1=1
<if test="alertStatus!= null ">
and alert_status = #{alertStatus}
</if>
......@@ -126,7 +127,6 @@
<if test="alertSourceCode!= null ">
and alert_source_code = #{alertSourceCode}
</if>
</where>
<if test="data != null and lift == 'ascend'">
order by #{data} ASC limit #{current},#{size}
</if>
......@@ -136,6 +136,7 @@
<if test="data == null ">
order by call_time DESC limit #{current},#{size}
</if>
</where>
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment