海南大屏bug修改,添加电站信息
This commit is contained in:
@@ -27,6 +27,11 @@ public class EventVO implements Serializable {
|
|||||||
@ApiModelProperty("监测点名称")
|
@ApiModelProperty("监测点名称")
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
|
@ApiModelProperty("变电站名称")
|
||||||
|
private String subName;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 暂降原因
|
* 暂降原因
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -363,9 +363,10 @@
|
|||||||
|
|
||||||
<select id="eventLists" resultType="com.njcn.device.pq.pojo.vo.EventVO">
|
<select id="eventLists" resultType="com.njcn.device.pq.pojo.vo.EventVO">
|
||||||
SELECT
|
SELECT
|
||||||
ed.event_id as eventId, ed.start_time "time",pl.Name "name",ed.advance_reason reason,ed.advance_type "type",ed.feature_amplitude amplitude,ed.duration
|
ed.event_id as eventId, ed.start_time "time",pl.Name "name",sub.Name subName,ed.advance_reason reason,ed.advance_type "type",ed.feature_amplitude amplitude,ed.duration
|
||||||
from pq_line pl
|
from pq_line pl
|
||||||
left join r_mp_event_detail ed on pl.id = ed.measurement_point_id
|
left join r_mp_event_detail ed on pl.id = ed.measurement_point_id
|
||||||
|
left join pq_line sub on SUBSTRING_INDEX(SUBSTRING_INDEX(pl.Pids, ',', 4), ',', -1)=sub.id
|
||||||
<where>
|
<where>
|
||||||
ed.measurement_point_id in
|
ed.measurement_point_id in
|
||||||
<foreach collection="lineIds" item="item" open="(" close=")" separator=",">
|
<foreach collection="lineIds" item="item" open="(" close=")" separator=",">
|
||||||
|
|||||||
Reference in New Issue
Block a user