Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
signal
traffic-signal-platform
Commits
6b57a7ff
Commit
6b57a7ff
authored
Sep 18, 2023
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 表结构-路口表停车率
parent
a75e5172
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
7 deletions
+24
-7
CrossDataRealtimePO.java
...c/main/java/net/wanji/databus/po/CrossDataRealtimePO.java
+8
-0
CrossDirDataRealtimePO.java
...ain/java/net/wanji/databus/po/CrossDirDataRealtimePO.java
+0
-3
CrossDataHistMapper.xml
wj-databus/src/main/resources/mapper/CrossDataHistMapper.xml
+8
-2
CrossDataRealtimeMapper.xml
...bus/src/main/resources/mapper/CrossDataRealtimeMapper.xml
+8
-2
No files found.
wj-databus/src/main/java/net/wanji/databus/po/CrossDataRealtimePO.java
View file @
6b57a7ff
...
@@ -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
;
}
}
wj-databus/src/main/java/net/wanji/databus/po/CrossDirDataRealtimePO.java
View file @
6b57a7ff
...
@@ -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
=
""
)
...
...
wj-databus/src/main/resources/mapper/CrossDataHistMapper.xml
View file @
6b57a7ff
...
@@ -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>
...
...
wj-databus/src/main/resources/mapper/CrossDataRealtimeMapper.xml
View file @
6b57a7ff
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment