@@ -112,5 +112,6 @@
left join bus_patient as p on c.id=p.clinic_id
left join (select clinic_id,count(1) as infusion_count from bus_infusion_history GROUP BY clinic_id) as i on i.clinic_id=c.id
left join (select clinic_id,count(1) as eval_count from bus_evaluation GROUP BY clinic_id) as eval on eval.clinic_id=c.id
+ order by c.monitor_start_time desc
</select>
</mapper>
@@ -48,6 +48,7 @@
</foreach>
</if>
</where>
@@ -74,5 +74,6 @@
) as r
on r.device_id=d.device_id
+ order by d.create_time desc
@@ -286,6 +286,7 @@
</if>)