<if test="instantmaxwindDto.type!='所有'">
and type=#{instantmaxwindDto.type}
</if>
abs(timestampdiff(SECOND,beijing_time,#{time})) asc
<if test="instantmaxwindDto.type!='所有'">
and type=#{instantmaxwindDto.type}
</if>
abs(timestampdiff(SECOND,beijing_time,#{time})) asc