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
9d601de4
Commit
9d601de4
authored
Sep 21, 2023
by
duanruiming
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 方向实时表添加流率
parent
348b097c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
CrossDirDataRealtimePO.java
...ain/java/net/wanji/databus/po/CrossDirDataRealtimePO.java
+2
-0
CrossDirDataHistMapper.xml
...abus/src/main/resources/mapper/CrossDirDataHistMapper.xml
+3
-2
CrossDirDataRealtimeMapper.xml
.../src/main/resources/mapper/CrossDirDataRealtimeMapper.xml
+4
-2
No files found.
wj-databus/src/main/java/net/wanji/databus/po/CrossDirDataRealtimePO.java
View file @
9d601de4
...
...
@@ -37,6 +37,8 @@ public class CrossDirDataRealtimePO {
public
Integer
duration
;
@ApiModelProperty
(
name
=
"交通流量(辆)"
,
notes
=
""
)
public
Integer
flow
;
@ApiModelProperty
(
value
=
"交通流率/h"
,
notes
=
""
)
private
Double
flowRate
;
@ApiModelProperty
(
name
=
"平均速度(km/h)"
,
notes
=
""
)
public
Double
speed
;
@ApiModelProperty
(
name
=
"排队长(米)"
,
notes
=
""
)
...
...
wj-databus/src/main/resources/mapper/CrossDirDataHistMapper.xml
View file @
9d601de4
...
...
@@ -14,6 +14,7 @@
<result
column=
"capacity"
property=
"capacity"
></result>
<result
column=
"duration"
property=
"duration"
></result>
<result
column=
"flow"
property=
"flow"
></result>
<result
column=
"flow_rate"
property=
"flowRate"
></result>
<result
column=
"speed"
property=
"speed"
></result>
<result
column=
"queue_length"
property=
"queueLength"
></result>
<result
column=
"stop_times"
property=
"stopTimes"
></result>
...
...
@@ -27,7 +28,7 @@
</resultMap>
<sql
id=
"Base_Column_List"
>
id,dir_type,in_out_type,cross_id,length,status,traffic_index,start_time,capacity,duration,flow,speed,queue_length,stop_times,
id,dir_type,in_out_type,cross_id,length,status,traffic_index,start_time,capacity,duration,flow,
flow_rate,
speed,queue_length,stop_times,
delay_time,sturation,no_stop_rate,one_stop_rate,two_stop_rate,three_stop_rate,batch_time,gmt_create,gmt_modified,effusion_rate,
green_light_efficiency
</sql>
...
...
@@ -38,7 +39,7 @@
values
<foreach
collection=
"list"
item=
"entity"
separator=
","
>
( #{entity.id}, #{entity.dirType}, #{entity.inOutType}, #{entity.crossId}, #{entity.length}, #{entity.status},
#{entity.trafficIndex}, #{entity.startTime}, #{entity.capacity}, #{entity.duration}, #{entity.flow},
#{entity.trafficIndex}, #{entity.startTime}, #{entity.capacity}, #{entity.duration}, #{entity.flow},
#{entity.flowRate},
#{entity.speed}, #{entity.queueLength}, #{entity.stopTimes}, #{entity.delayTime}, #{entity.sturation},
#{entity.noStopRate},#{entity.oneStopRate},#{entity.twoStopRate},#{entity.threeStopRate},#{entity.batchTime},
#{entity.gmtCreate}, #{entity.gmtModified},#{entity.effusionRate},#{entity.greenLightEfficiency})
...
...
wj-databus/src/main/resources/mapper/CrossDirDataRealtimeMapper.xml
View file @
9d601de4
...
...
@@ -14,6 +14,7 @@
<result
column=
"capacity"
property=
"capacity"
></result>
<result
column=
"duration"
property=
"duration"
></result>
<result
column=
"flow"
property=
"flow"
></result>
<result
column=
"flow_rate"
property=
"flowRate"
></result>
<result
column=
"speed"
property=
"speed"
></result>
<result
column=
"queue_length"
property=
"queueLength"
></result>
<result
column=
"stop_times"
property=
"stopTimes"
></result>
...
...
@@ -31,7 +32,7 @@
</resultMap>
<sql
id=
"Base_Column_List"
>
id,dir_type,in_out_type,cross_id,length,status,traffic_index,start_time,capacity,duration, flow,speed,queue_length,stop_times,
id,dir_type,in_out_type,cross_id,length,status,traffic_index,start_time,capacity,duration, flow,
flow_rate,
speed,queue_length,stop_times,
delay_time,sturation,no_stop_rate,one_stop_rate,two_stop_rate,three_stop_rate,batch_time,gmt_create,gmt_modified,effusion_rate,
green_light_efficiency
</sql>
...
...
@@ -41,7 +42,8 @@
(
<include
refid=
"Base_Column_List"
></include>
)
values
<foreach
collection=
"list"
item=
"entity"
separator=
","
>
( #{entity.id}, #{entity.dirType}, #{entity.inOutType}, #{entity.crossId}, #{entity.length}, #{entity.status}, #{entity.trafficIndex}, #{entity.startTime}, #{entity.capacity}, #{entity.duration}, #{entity.flow},
( #{entity.id}, #{entity.dirType}, #{entity.inOutType}, #{entity.crossId}, #{entity.length}, #{entity.status},
#{entity.trafficIndex}, #{entity.startTime}, #{entity.capacity}, #{entity.duration}, #{entity.flow},#{entity.flowRate},
#{entity.speed}, #{entity.queueLength}, #{entity.stopTimes}, #{entity.delayTime}, #{entity.sturation},
#{entity.noStopRate},#{entity.oneStopRate},#{entity.twoStopRate},#{entity.threeStopRate},#{entity.batchTime},
#{entity.gmtCreate}, #{entity.gmtModified},#{entity.effusionRate}, #{entity.greenLightEfficiency} )
...
...
duanruiming
@duanruiming
mentioned in commit
97d6a8db
·
Sep 21, 2023
mentioned in commit
97d6a8db
mentioned in commit 97d6a8db1e8daa105a020a15c7c50b9a2dc78884
Toggle commit list
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