Commit 67551e25 authored by hcing's avatar hcing

fix(jg): 使用登记列表查询bug

parent ea54fc9e
...@@ -471,7 +471,6 @@ ...@@ -471,7 +471,6 @@
create_date DESC, apply_no DESC create_date DESC, apply_no DESC
</otherwise> </otherwise>
</choose> </choose>
LIMIT #{size} OFFSET #{offset}
), ),
equipment_data AS ( equipment_data AS (
SELECT SELECT
...@@ -564,7 +563,7 @@ ...@@ -564,7 +563,7 @@
COALESCE(ed.equDefine, '') AS equDefine COALESCE(ed.equDefine, '') AS equDefine
FROM filtered_ur fu FROM filtered_ur fu
LEFT JOIN equipment_data ed ON fu.sequence_nbr = ed.equip_transfer_id INNER JOIN equipment_data ed ON fu.sequence_nbr = ed.equip_transfer_id
WHERE 1=1 WHERE 1=1
ORDER BY ORDER BY
<choose> <choose>
...@@ -575,6 +574,7 @@ ...@@ -575,6 +574,7 @@
fu.create_date DESC, fu.apply_no DESC fu.create_date DESC, fu.apply_no DESC
</otherwise> </otherwise>
</choose> </choose>
LIMIT #{size} OFFSET #{offset}
</select> </select>
<select id="getListPageCount" resultType="long"> <select id="getListPageCount" resultType="long">
......
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