Commit 0c95cf26 authored by panhong18943's avatar panhong18943

工作流审批记录排序优化

parent b38e8f80
...@@ -201,7 +201,16 @@ ...@@ -201,7 +201,16 @@
) t1 #WHERE_CLAUSE# ) t1 #WHERE_CLAUSE#
ORDER BY ORDER BY
create_date_fmt DESC create_date_fmt DESC,to_number(node_sequence_num) DESC,
(case
when record_type = 'TRANSFER' then
record_id
end) asc,
(case
when record_type != 'TRANSFER' then
record_id
end) desc
]]></bm:query-sql> ]]></bm:query-sql>
</bm:operation> </bm:operation>
</bm:operations> </bm:operations>
......
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