Commit 1b5c98d1 authored by 凡昌松's avatar 凡昌松

update:修改随车文件核查列表查询

parent 8fa9acee
......@@ -117,7 +117,12 @@
<if test="operator != null and operator != ''">
and ru.USERNAME like '%'|| #{operator}||'%' escape '|'
</if>
order by CCCCC.count_id
order by
CASE
WHEN CHECK_STATE = 1 THEN 1
WHEN CHECK_STATE = 0 THEN 2
WHEN CHECK_STATE = 2 THEN 3
END , CHECK_DATE DESC , to_number(ccmi.VEHICLE_GROUP) desc , ccmi.VEHICLE_MODEL , CCCCC.count_id desc,ccmi.ID
) tmp_tb where rownum &lt;= ${pager.endIndex})
where rn &gt;= ${pager.startIndex}
</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