Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
ZHHT-IRN-BD-ANALYSIS
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李凯旋
ZHHT-IRN-BD-ANALYSIS
Commits
9532a0d3
Commit
9532a0d3
authored
Jan 09, 2023
by
黄准
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车道指标相关计算逻辑
parent
f0226429
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
GreenRadioSink.java
...aming/src/main/java/com/zhht/irn/sink/GreenRadioSink.java
+1
-1
No files found.
realtime/hologram-streaming/src/main/java/com/zhht/irn/sink/GreenRadioSink.java
View file @
9532a0d3
...
@@ -51,7 +51,7 @@ public class GreenRadioSink extends RichSinkFunction<Cycle> {
...
@@ -51,7 +51,7 @@ public class GreenRadioSink extends RichSinkFunction<Cycle> {
/**
/**
* 添加连接判断 防止过长时间没写入数据导致的jdbc 失效
* 添加连接判断 防止过长时间没写入数据导致的jdbc 失效
*/
*/
if
(
DataSourceUtils
.
isDbConnected
(
connection
)){
if
(
!
DataSourceUtils
.
isDbConnected
(
connection
)){
connection
=
DorisUtils
.
getConnection
();
connection
=
DorisUtils
.
getConnection
();
}
}
insertCyclePstmt
.
setLong
(
1
,
cycle
.
getId
());
insertCyclePstmt
.
setLong
(
1
,
cycle
.
getId
());
...
...
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