Commit 8c1e1a28 authored by tangwei's avatar tangwei

修改排序

parent b94b6244
...@@ -1319,7 +1319,7 @@ ...@@ -1319,7 +1319,7 @@
and ( select COUNT(p_point_inputitem.id) fROM p_point_inputitem where p_point_inputitem.point_id =pp.id) >0 and ( select COUNT(p_point_inputitem.id) fROM p_point_inputitem where p_point_inputitem.point_id =pp.id) >0
AND pp.is_delete = 0 AND pp.is_delete = 0
</where> </where>
order by pp.create_date DESC order by pp.point_no
LIMIT #{offset}, #{size} LIMIT #{offset}, #{size}
</select> </select>
...@@ -1340,7 +1340,7 @@ ...@@ -1340,7 +1340,7 @@
LEFT JOIN p_route_point prp LEFT JOIN p_route_point prp
ON prp.point_id = pp.id ON prp.point_id = pp.id
WHERE prp.route_id = #{routeId} WHERE prp.route_id = #{routeId}
ORDER BY prp.order_no ORDER BY pp.point_no
</select> </select>
<select id="queryEquipListByPointId" parameterType="long" resultType="map"> <select id="queryEquipListByPointId" parameterType="long" resultType="map">
......
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