feat:优化空域详情增加按照修改时间倒序
This commit is contained in:
parent
e4f04856c3
commit
c440af9bed
|
|
@ -83,12 +83,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<!-- 根据ID列表查询空域 -->
|
<!-- 根据ID列表查询空域 -->
|
||||||
<select id="selectAreaListByIds" parameterType="java.util.List" resultMap="AirlineAreaResult">
|
<select id="selectAreaListByIds" parameterType="java.util.List" resultMap="AirlineAreaResult">
|
||||||
select id, name, area_type, status, points, shape, area_area, area_perimeter, radius, min_height, max_height, create_by, create_time, update_by, update_time, remark
|
select distinct aa.id, aa.name, aa.area_type, aa.status, aa.points, aa.shape, aa.area_area, aa.area_perimeter, aa.radius, aa.min_height, aa.max_height, aa.create_by, aa.create_time, aa.update_by, aa.update_time, aa.remark
|
||||||
from airline_area
|
from airline_area aa
|
||||||
where id in
|
inner join airline_area_group_info aagi on aa.id = aagi.area_id
|
||||||
|
where aagi.del_flag = 0
|
||||||
|
and aa.id in
|
||||||
<foreach item="id" collection="list" open="(" separator="," close=")">
|
<foreach item="id" collection="list" open="(" separator="," close=")">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
order by aa.update_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 根据用户ID查询空域列表 -->
|
<!-- 根据用户ID查询空域列表 -->
|
||||||
|
|
|
||||||
|
|
@ -106,13 +106,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<!-- 根据ID列表查询标注 -->
|
<!-- 根据ID列表查询标注 -->
|
||||||
<select id="selectMarkerListByIds" parameterType="java.util.List" resultMap="AirlineMarkerResult">
|
<select id="selectMarkerListByIds" parameterType="java.util.List" resultMap="AirlineMarkerResult">
|
||||||
select id, marker_name, marker_type, status, color, icon, font_size, coordinates, description, create_by, create_time, update_by, update_time, remark
|
select distinct am.id, am.marker_name, am.marker_type, am.status, am.color, am.icon, am.font_size, am.coordinates, am.description, am.create_by, am.create_time, am.update_by, am.update_time, am.remark
|
||||||
from airline_marker
|
from airline_marker am
|
||||||
where id in
|
inner join airline_marker_group_info amgi on am.id = amgi.marker_id
|
||||||
|
where amgi.del_flag = 0
|
||||||
|
and am.id in
|
||||||
<foreach item="id" collection="list" open="(" separator="," close=")">
|
<foreach item="id" collection="list" open="(" separator="," close=")">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
and status = 1
|
and am.status = 1
|
||||||
|
order by am.update_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 根据用户ID查询标注列表 -->
|
<!-- 根据用户ID查询标注列表 -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue