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
b1a54667
Commit
b1a54667
authored
Feb 11, 2023
by
duanruiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
1978d8b6
3e0ba3df
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
LaneInfoPO.java
...ice/src/main/java/net/wanji/web/po/scheme/LaneInfoPO.java
+2
-0
LaneInfoMapper.xml
...rvice/src/main/resources/mapper/scheme/LaneInfoMapper.xml
+7
-6
pom.xml
signal-optimize-service/pom.xml
+3
-3
No files found.
signal-control-service/src/main/java/net/wanji/web/po/scheme/LaneInfoPO.java
View file @
b1a54667
...
...
@@ -66,6 +66,8 @@ public class LaneInfoPO {
*/
@ApiModelProperty
(
value
=
"车道宽度"
,
notes
=
""
)
private
Double
width
=
0.0
;
@ApiModelProperty
(
value
=
"wkt"
,
notes
=
""
)
private
String
wkt
=
""
;
/**
* 创建时间
*/
...
...
signal-control-service/src/main/resources/mapper/scheme/LaneInfoMapper.xml
View file @
b1a54667
...
...
@@ -15,15 +15,16 @@
<result
property=
"rid"
column=
"rid"
/>
<result
property=
"length"
column=
"length"
/>
<result
property=
"width"
column=
"width"
/>
<result
property=
"wkt"
column=
"wkt"
/>
<result
property=
"gmtCreate"
column=
"gmt_create"
/>
<result
property=
"gmtModified"
column=
"gmt_modified"
/>
</resultMap>
<insert
id=
"insertBatch"
>
insert into t_base_lane_info(id,code,sort,type,dir,turn,category,cross_id,rid,length,width)
insert into t_base_lane_info(id,code,sort,type,dir,turn,category,cross_id,rid,length,width
,wkt
)
values
<foreach
collection=
"entities"
item=
"entity"
separator=
","
>
(#{entity.id},#{entity.code},#{entity.sort},#{entity.type},#{entity.dir},#{entity.turn},#{entity.category},#{entity.crossId},#{entity.rid},#{entity.length},#{entity.width})
(#{entity.id},#{entity.code},#{entity.sort},#{entity.type},#{entity.dir},#{entity.turn},#{entity.category},#{entity.crossId},#{entity.rid},#{entity.length},#{entity.width}
,#{entity.wkt}
)
</foreach>
</insert>
...
...
@@ -34,21 +35,21 @@
<select
id=
"selectByCrossIdAndDir"
resultMap=
"BaseResultMap"
>
select
id,code,sort,type,dir,turn,category,cross_id,rid,length,width,gmt_create,gmt_modified
id,code,sort,type,dir,turn,category,cross_id,rid,length,width,
wkt,
gmt_create,gmt_modified
from t_base_lane_info
where cross_id = #{crossId} and dir = #{dir} and type = 2
</select>
<select
id=
"selectBycrossId"
resultMap=
"BaseResultMap"
>
select
id,code,sort,type,dir,turn,category,cross_id,rid,length,width,gmt_create,gmt_modified
id,code,sort,type,dir,turn,category,cross_id,rid,length,width,
wkt,
gmt_create,gmt_modified
from t_base_lane_info
where cross_id = #{crossId} and type = 2
</select>
<select
id=
"selectByCrossIdDirCode"
resultMap=
"BaseResultMap"
>
select
id,code,sort,type,dir,turn,category,cross_id,rid,length,width,gmt_create,gmt_modified
id,code,sort,type,dir,turn,category,cross_id,rid,length,width,
wkt,
gmt_create,gmt_modified
from t_base_lane_info
where cross_id = #{crossId} and dir = #{dir} and code = #{code} and type = 2
</select>
...
...
@@ -61,7 +62,7 @@
</select>
<select
id=
"selectByLaneIds"
resultMap=
"BaseResultMap"
>
select id,code,sort,type,dir,turn,category,cross_id,rid,length,width,gmt_create,gmt_modified
select id,code,sort,type,dir,turn,category,cross_id,rid,length,width,
wkt,
gmt_create,gmt_modified
from t_base_lane_info
where id in
<foreach
collection=
"laneIds"
item=
"laneId"
separator=
","
open=
"("
close=
")"
>
...
...
signal-optimize-service/pom.xml
View file @
b1a54667
...
...
@@ -250,7 +250,7 @@
<!--配置jvm虚拟机参数-->
<jvmFlags>
<jvmFlag>
-Xms512m
</jvmFlag>
<jvmFlag>
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1511
6
</jvmFlag>
<jvmFlag>
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1511
7
</jvmFlag>
</jvmFlags>
<!--配置使用的时区-->
<environment>
...
...
@@ -259,8 +259,8 @@
</environment>
<!--要暴露的端口-->
<ports>
<port>
3
2
001
</port>
<port>
1511
6
</port>
<port>
3
9
001
</port>
<port>
1511
7
</port>
</ports>
<!-- <creationTime>2022-10-14T10:08:59.304+08:00</creationTime>-->
<creationTime>
${maven.build.timestamp}
</creationTime>
...
...
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