Commit 9a038ea3 authored by hanbing's avatar hanbing

适配绿波基础信息

parent 3e0ba3df
...@@ -32,8 +32,6 @@ public class GreenwaveListVO { ...@@ -32,8 +32,6 @@ public class GreenwaveListVO {
@ApiModelProperty(value = "持续时长 分钟") @ApiModelProperty(value = "持续时长 分钟")
private Long duration; private Long duration;
@ApiModelProperty(value = "区域边界") @ApiModelProperty(value = "区域边界")
private String polylines;
@ApiModelProperty(value = "wkt坐标")
private String wkt; private String wkt;
@ApiModelProperty(value = "路口列表") @ApiModelProperty(value = "路口列表")
private List<CrossListElement> crossList; private List<CrossListElement> crossList;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<select id="listGreenwave" resultType="net.wanji.opt.vo.GreenwaveListVO"> <select id="listGreenwave" resultType="net.wanji.opt.vo.GreenwaveListVO">
select select
t1.id, t1.name, t1.status as infoStatus, t2.status as realtimeStatus, t1.id, t1.name, t1.status as infoStatus, t2.status as realtimeStatus,
t2.traffic_index, t1.start_time, t1.end_time, t1.polylines, t2.wkt t2.traffic_index, t1.start_time, t1.end_time, t1.wkt
from t_greenwave_info t1 join t_greenwave_realtime t2 on t1.id = t2.id from t_greenwave_info t1 join t_greenwave_realtime t2 on t1.id = t2.id
<where> <where>
<if test="status != null"> <if test="status != null">
......
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