Commit 6b57a7ff authored by duanruiming's avatar duanruiming

[update] 表结构-路口表停车率

parent a75e5172
...@@ -165,4 +165,12 @@ public class CrossDataRealtimePO { ...@@ -165,4 +165,12 @@ public class CrossDataRealtimePO {
*/ */
@ApiModelProperty(value = "溢流率", notes = "") @ApiModelProperty(value = "溢流率", notes = "")
private Double effusionRate; private Double effusionRate;
@ApiModelProperty(name = "不停车率",notes = "")
public Double noStopRate;
@ApiModelProperty(name = "一次停车率",notes = "")
public Double oneStopRate;
@ApiModelProperty(name = "二次停车率",notes = "")
public Double twoStopRate;
@ApiModelProperty(name = "三次停车率",notes = "")
public Double threeStopRate;
} }
...@@ -47,7 +47,6 @@ public class CrossDirDataRealtimePO { ...@@ -47,7 +47,6 @@ public class CrossDirDataRealtimePO {
public Integer delayTime; public Integer delayTime;
@ApiModelProperty(name = "饱和度",notes = "") @ApiModelProperty(name = "饱和度",notes = "")
public Double sturation; public Double sturation;
@ApiModelProperty(name = "不停车率",notes = "") @ApiModelProperty(name = "不停车率",notes = "")
public Double noStopRate; public Double noStopRate;
@ApiModelProperty(name = "一次停车率",notes = "") @ApiModelProperty(name = "一次停车率",notes = "")
...@@ -56,7 +55,6 @@ public class CrossDirDataRealtimePO { ...@@ -56,7 +55,6 @@ public class CrossDirDataRealtimePO {
public Double twoStopRate; public Double twoStopRate;
@ApiModelProperty(name = "三次停车率",notes = "") @ApiModelProperty(name = "三次停车率",notes = "")
public Double threeStopRate; public Double threeStopRate;
@ApiModelProperty(name = "采集时间(10位时间戳)",notes = "") @ApiModelProperty(name = "采集时间(10位时间戳)",notes = "")
public Integer batchTime; public Integer batchTime;
@ApiModelProperty(name = "创建时间",notes = "") @ApiModelProperty(name = "创建时间",notes = "")
...@@ -65,7 +63,6 @@ public class CrossDirDataRealtimePO { ...@@ -65,7 +63,6 @@ public class CrossDirDataRealtimePO {
public Date gmtModified ; public Date gmtModified ;
@ApiModelProperty(name = "溢流率:交叉口间路段车辆排队长度超出可容纳空间的时长与观测总时长的百分比",notes = "") @ApiModelProperty(name = "溢流率:交叉口间路段车辆排队长度超出可容纳空间的时长与观测总时长的百分比",notes = "")
public Double effusionRate; public Double effusionRate;
@ApiModelProperty(value = "绿灯间隔清空率", notes = "") @ApiModelProperty(value = "绿灯间隔清空率", notes = "")
public Double clearRate; public Double clearRate;
@ApiModelProperty(value = "负载均衡度", notes = "") @ApiModelProperty(value = "负载均衡度", notes = "")
......
...@@ -33,13 +33,18 @@ ...@@ -33,13 +33,18 @@
<result column="not_clear_car_nums" property="notClearCarNums"></result> <result column="not_clear_car_nums" property="notClearCarNums"></result>
<result column="green_light_efficiency" property="greenLightEfficiency"></result> <result column="green_light_efficiency" property="greenLightEfficiency"></result>
<result column="effusion_rate" property="effusionRate"></result> <result column="effusion_rate" property="effusionRate"></result>
<result column="no_stop_rate" property="noStopRate"></result>
<result column="one_stop_rate" property="oneStopRate"></result>
<result column="two_stop_rate" property="twoStopRate"></result>
<result column="three_stop_rate" property="threeStopRate"></result>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
cross_id, status, type, traffic_index, start_time, duration, is_unbalance, is_spillover, is_congestion, cross_id, status, type, traffic_index, start_time, duration, is_unbalance, is_spillover, is_congestion,
unbalance_index, spillover_index, congestion_index, unbalance_dirs, spillover_dirs, congestion_dirs, unbalance_index, spillover_index, congestion_index, unbalance_dirs, spillover_dirs, congestion_dirs,
flow, flow_rate, speed, queue_length, stop_times, delay_time, sturation, batch_time, gmt_create, gmt_modified, flow, flow_rate, speed, queue_length, stop_times, delay_time, sturation, batch_time, gmt_create, gmt_modified,
clear_rate,load_balance,not_clear_car_nums,green_light_efficiency,effusion_rate clear_rate,load_balance,not_clear_car_nums,green_light_efficiency,effusion_rate,
no_stop_rate,one_stop_rate,two_stop_rate,three_stop_rate
</sql> </sql>
<insert id="insertBatch" parameterType="net.wanji.databus.po.CrossDataHistPO"> <insert id="insertBatch" parameterType="net.wanji.databus.po.CrossDataHistPO">
...@@ -50,7 +55,8 @@ ...@@ -50,7 +55,8 @@
(#{entity.crossId},#{entity.status},#{entity.type},#{entity.trafficIndex},#{entity.startTime},#{entity.duration},#{entity.isUnbalance},#{entity.isSpillover},#{entity.isCongestion}, (#{entity.crossId},#{entity.status},#{entity.type},#{entity.trafficIndex},#{entity.startTime},#{entity.duration},#{entity.isUnbalance},#{entity.isSpillover},#{entity.isCongestion},
#{entity.unbalanceIndex},#{entity.spilloverIndex},#{entity.congestionIndex},#{entity.unbalanceDirs},#{entity.spilloverDirs},#{entity.congestionDirs}, #{entity.unbalanceIndex},#{entity.spilloverIndex},#{entity.congestionIndex},#{entity.unbalanceDirs},#{entity.spilloverDirs},#{entity.congestionDirs},
#{entity.flow},#{entity.flowRate},#{entity.speed},#{entity.queueLength},#{entity.stopTimes},#{entity.delayTime},#{entity.sturation},#{entity.batchTime},#{entity.gmtCreate},#{entity.gmtModified}, #{entity.flow},#{entity.flowRate},#{entity.speed},#{entity.queueLength},#{entity.stopTimes},#{entity.delayTime},#{entity.sturation},#{entity.batchTime},#{entity.gmtCreate},#{entity.gmtModified},
#{entity.clearRate},#{entity.loadBalance},#{entity.notClearCarNums},#{entity.greenLightEfficiency},#{entity.effusionRate}) #{entity.clearRate},#{entity.loadBalance},#{entity.notClearCarNums},#{entity.greenLightEfficiency},#{entity.effusionRate},
#{entity.noStopRate},#{entity.oneStopRate},#{entity.twoStopRate},#{entity.threeStopRate})
</foreach> </foreach>
</insert> </insert>
......
...@@ -34,13 +34,18 @@ ...@@ -34,13 +34,18 @@
<result column="not_clear_car_nums" property="notClearCarNums"></result> <result column="not_clear_car_nums" property="notClearCarNums"></result>
<result column="green_light_efficiency" property="greenLightEfficiency"></result> <result column="green_light_efficiency" property="greenLightEfficiency"></result>
<result column="effusion_rate" property="effusionRate"></result> <result column="effusion_rate" property="effusionRate"></result>
<result column="no_stop_rate" property="noStopRate"></result>
<result column="one_stop_rate" property="oneStopRate"></result>
<result column="two_stop_rate" property="twoStopRate"></result>
<result column="three_stop_rate" property="threeStopRate"></result>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
cross_id,status,type,traffic_index,start_time,duration,is_unbalance,is_spillover,is_congestion,unbalance_index, cross_id,status,type,traffic_index,start_time,duration,is_unbalance,is_spillover,is_congestion,unbalance_index,
spillover_index,congestion_index,unbalance_dirs,spillover_dirs,congestion_dirs,flow,flow_rate,speed, spillover_index,congestion_index,unbalance_dirs,spillover_dirs,congestion_dirs,flow,flow_rate,speed,
queue_length,stop_times,delay_time,sturation,batch_time,gmt_create,gmt_modified,clear_rate,end_time, queue_length,stop_times,delay_time,sturation,batch_time,gmt_create,gmt_modified,clear_rate,end_time,
load_balance,not_clear_car_nums,green_light_efficiency,effusion_rate load_balance,not_clear_car_nums,green_light_efficiency,effusion_rate,
no_stop_rate,one_stop_rate,two_stop_rate,three_stop_rate
</sql> </sql>
<insert id="insertBatch" parameterType="net.wanji.databus.po.CrossDataRealtimePO"> <insert id="insertBatch" parameterType="net.wanji.databus.po.CrossDataRealtimePO">
...@@ -51,7 +56,8 @@ ...@@ -51,7 +56,8 @@
(#{entity.crossId},#{entity.status},#{entity.type},#{entity.trafficIndex},#{entity.startTime},#{entity.duration},#{entity.isSpillover},#{entity.isSpillover},#{entity.isCongestion}, (#{entity.crossId},#{entity.status},#{entity.type},#{entity.trafficIndex},#{entity.startTime},#{entity.duration},#{entity.isSpillover},#{entity.isSpillover},#{entity.isCongestion},
#{entity.unbalanceIndex},#{entity.spilloverIndex},#{entity.congestionIndex},#{entity.unbalanceDirs},#{entity.spilloverDirs},#{entity.congestionDirs}, #{entity.unbalanceIndex},#{entity.spilloverIndex},#{entity.congestionIndex},#{entity.unbalanceDirs},#{entity.spilloverDirs},#{entity.congestionDirs},
#{entity.flow},#{entity.flowRate},#{entity.speed},#{entity.queueLength},#{entity.stopTimes},#{entity.delayTime},#{entity.sturation},#{entity.batchTime},#{entity.gmtCreate},#{entity.gmtModified}, #{entity.flow},#{entity.flowRate},#{entity.speed},#{entity.queueLength},#{entity.stopTimes},#{entity.delayTime},#{entity.sturation},#{entity.batchTime},#{entity.gmtCreate},#{entity.gmtModified},
#{entity.clearRate},#{entity.endTime},#{entity.loadBalance},#{entity.notClearCarNums},#{entity.greenLightEfficiency},#{entity.effusionRate}) #{entity.clearRate},#{entity.endTime},#{entity.loadBalance},#{entity.notClearCarNums},#{entity.greenLightEfficiency},#{entity.effusionRate},
#{entity.noStopRate},#{entity.oneStopRate},#{entity.twoStopRate},#{entity.threeStopRate})
</foreach> </foreach>
</insert> </insert>
......
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