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
a63fd6da
Commit
a63fd6da
authored
Dec 30, 2024
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[add] 路口状态更新优化
parent
44b1bd2b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
SignalStatusTask.java
...ce/src/main/java/net/wanji/utc/task/SignalStatusTask.java
+1
-1
SignalCommandLogPOMapper.xml
...us/src/main/resources/mapper/SignalCommandLogPOMapper.xml
+1
-1
SignalCommandPOMapper.xml
...tabus/src/main/resources/mapper/SignalCommandPOMapper.xml
+1
-1
No files found.
signal-utc-service/src/main/java/net/wanji/utc/task/SignalStatusTask.java
View file @
a63fd6da
...
...
@@ -132,7 +132,7 @@ public class SignalStatusTask {
SignalCommandLogPO
signalCommandLogPO
=
new
SignalCommandLogPO
();
int
status
=
0
;
String
runMode
=
"11"
;
String
machineTimestamp
=
""
;
String
machineTimestamp
=
null
;
if
(!
CollectionUtils
.
isEmpty
(
lightsStatusVOS
))
{
for
(
LightsStatusVO
lightsStatusVO
:
lightsStatusVOS
)
{
if
(
Objects
.
nonNull
(
lightsStatusVO
))
{
...
...
wj-databus/src/main/resources/mapper/SignalCommandLogPOMapper.xml
View file @
a63fd6da
...
...
@@ -20,7 +20,7 @@
<if
test=
"item.commandResult != null"
>
command_result = #{item.commandResult},
</if>
<if
test=
"item.runMode != null"
>
run_mode = #{item.runMode},
</if>
<if
test=
"item.updateTime != null"
>
update_time = #{item.updateTime},
</if>
<if
test=
"item.status != null"
>
status = #{item.status}
</if>
<if
test=
"item.status != null"
>
status = #{item.status}
,
</if>
<if
test=
"item.lampTime != null"
>
lamp_time = #{item.lampTime}
</if>
</set>
WHERE cross_id = #{item.crossId}
...
...
wj-databus/src/main/resources/mapper/SignalCommandPOMapper.xml
View file @
a63fd6da
...
...
@@ -20,7 +20,7 @@
<if
test=
"item.commandResult != null"
>
command_result = #{item.commandResult},
</if>
<if
test=
"item.runMode != null"
>
run_mode = #{item.runMode},
</if>
<if
test=
"item.updateTime != null"
>
update_time = #{item.updateTime},
</if>
<if
test=
"item.status != null"
>
status = #{item.status}
</if>
<if
test=
"item.status != null"
>
status = #{item.status}
,
</if>
<if
test=
"item.lampTime != null"
>
lamp_time = #{item.lampTime}
</if>
</set>
WHERE cross_id = #{item.crossId}
...
...
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