Commit 67551e25 authored by hcing's avatar hcing

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

parent ea54fc9e
......@@ -471,7 +471,6 @@
create_date DESC, apply_no DESC
</otherwise>
</choose>
LIMIT #{size} OFFSET #{offset}
),
equipment_data AS (
SELECT
......@@ -564,7 +563,7 @@
COALESCE(ed.equDefine, '') AS equDefine
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
ORDER BY
<choose>
......@@ -575,6 +574,7 @@
fu.create_date DESC, fu.apply_no DESC
</otherwise>
</choose>
LIMIT #{size} OFFSET #{offset}
</select>
<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