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
b1f567d3
Commit
b1f567d3
authored
Oct 07, 2023
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[add] 干线评价-绿波实时数据和历史数据DAO层添加字段
parent
a4a16c05
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
GreenwaveHistPO.java
...in/java/net/wanji/databus/dao/entity/GreenwaveHistPO.java
+12
-0
GreenwaveRealtimePO.java
...ava/net/wanji/databus/dao/entity/GreenwaveRealtimePO.java
+7
-0
GreenwaveRealtimeMapper.xml
...bus/src/main/resources/mapper/GreenwaveRealtimeMapper.xml
+5
-2
No files found.
wj-databus/src/main/java/net/wanji/databus/dao/entity/GreenwaveHistPO.java
0 → 100644
View file @
b1f567d3
package
net
.
wanji
.
databus
.
dao
.
entity
;
import
lombok.Data
;
/**
* @author Kent HAN
* @date 2023/10/7 14:34
*/
@Data
public
class
GreenwaveHistPO
extends
GreenwaveRealtimePO
{
}
wj-databus/src/main/java/net/wanji/databus/dao/entity/GreenwaveRealtimePO.java
View file @
b1f567d3
...
...
@@ -40,6 +40,13 @@ public class GreenwaveRealtimePO {
/** 不停车通过率 */
@ApiModelProperty
(
name
=
"不停车通过率"
,
notes
=
""
)
private
Double
noparkPassRate
;
@ApiModelProperty
(
name
=
"协调方案可靠性"
,
notes
=
""
)
private
Double
cordReliability
;
@ApiModelProperty
(
name
=
"协调路段排队空间占比"
,
notes
=
""
)
private
Double
cordQueueRatio
;
/** 非协调相位二次排队 */
@ApiModelProperty
(
name
=
"非协调相位二次排队"
,
notes
=
""
)
private
Double
uncoordinatePhaseQueue
;
...
...
wj-databus/src/main/resources/mapper/GreenwaveRealtimeMapper.xml
View file @
b1f567d3
...
...
@@ -2,10 +2,13 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"net.wanji.databus.dao.mapper.GreenwaveRealtimeMapper"
>
<sql
id=
"baseColumnList"
>
id,status,type,traffic_index,speed,trval_time,stop_times,queue_length,cong_rate,delay_time,nopark_pass_rate,
cord_reliability, cord_queue_ratio, uncoordinate_phase_queue,gmt_create,gmt_modified
</sql>
<select
id=
"selectById"
resultType=
"net.wanji.databus.dao.entity.GreenwaveRealtimePO"
>
select
id,status,type,traffic_index,speed,trval_time,stop_times,queue_length,cong_rate,delay_time,nopark_pass_rate,uncoordinate_phase_queue,gmt_create,gmt_modified
select
<include
refid=
"baseColumnList"
/>
from t_greenwave_realtime
where id = #{id}
</select>
...
...
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