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
ab80a42a
Commit
ab80a42a
authored
Apr 25, 2025
by
zhouleilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 方案配置列表 接口
parent
0ac399b2
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
427 additions
and
99 deletions
+427
-99
SchemeConfigServiceImpl.java
...anji/web/service/scheme/impl/SchemeConfigServiceImpl.java
+409
-99
BaseCrossLaneLightsMapper.java
...t/wanji/databus/dao/mapper/BaseCrossLaneLightsMapper.java
+2
-0
LaneInfoMapper.java
...ain/java/net/wanji/databus/dao/mapper/LaneInfoMapper.java
+2
-0
BaseCrossLaneLightsMapper.xml
...s/src/main/resources/mapper/BaseCrossLaneLightsMapper.xml
+7
-0
LaneInfoMapper.xml
wj-databus/src/main/resources/mapper/LaneInfoMapper.xml
+7
-0
No files found.
signal-control-service/src/main/java/net/wanji/web/service/scheme/impl/SchemeConfigServiceImpl.java
View file @
ab80a42a
This diff is collapsed.
Click to expand it.
wj-databus/src/main/java/net/wanji/databus/dao/mapper/BaseCrossLaneLightsMapper.java
View file @
ab80a42a
...
...
@@ -30,6 +30,8 @@ public interface BaseCrossLaneLightsMapper {
Integer
selectLightsIdByLaneId
(
@Param
(
"crossId"
)
String
crossId
,
@Param
(
"laneId"
)
String
laneId
);
List
<
CrossLaneLightsPO
>
selectByCrossId
(
@Param
(
"crossId"
)
String
crossId
);
List
<
CrossLaneLightsPO
>
selectLanesByLightId
(
@Param
(
"crossId"
)
String
crossId
,
@Param
(
"lightId"
)
Integer
lightId
);
...
...
wj-databus/src/main/java/net/wanji/databus/dao/mapper/LaneInfoMapper.java
View file @
ab80a42a
...
...
@@ -21,6 +21,8 @@ public interface LaneInfoMapper {
List
<
LaneInfoPO
>
selectBycrossId
(
@Param
(
"crossId"
)
String
crossId
);
List
<
LaneInfoPO
>
selectBycrossIdAll
(
@Param
(
"crossId"
)
String
crossId
);
LaneInfoPO
selectByCrossIdDirCode
(
@Param
(
"crossId"
)
String
crossId
,
@Param
(
"dir"
)
Integer
dir
,
@Param
(
"code"
)
String
code
);
...
...
wj-databus/src/main/resources/mapper/BaseCrossLaneLightsMapper.xml
View file @
ab80a42a
...
...
@@ -74,6 +74,13 @@
where cross_id = #{crossId} and lights_id = #{lightId}
</select>
<select
id=
"selectByCrossId"
resultMap=
"BaseResultMap"
>
select
id,lights_id,lane_id,cross_id,gmt_create,gmt_modified
from t_base_cross_lane_lights
where cross_id = #{crossId}
</select>
<select
id=
"selectByLightsId"
resultMap=
"BaseResultMap"
>
select
id,lights_id,lane_id,cross_id,gmt_create,gmt_modified
...
...
wj-databus/src/main/resources/mapper/LaneInfoMapper.xml
View file @
ab80a42a
...
...
@@ -51,6 +51,13 @@
where cross_id = #{crossId} and type = 2
</select>
<select
id=
"selectBycrossIdAll"
resultMap=
"BaseResultMap"
>
select
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}
</select>
<select
id=
"selectByCrossIdDirCode"
resultMap=
"BaseResultMap"
>
select
id,code,sort,type,dir,turn,category,cross_id,rid,length,width,wkt,gmt_create,gmt_modified
...
...
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