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
270b7f1e
Commit
270b7f1e
authored
Mar 13, 2023
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] databus配置classpath
parent
50a3a642
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
10 deletions
+11
-10
SignalApplication.java
...ervice/src/main/java/net/wanji/web/SignalApplication.java
+1
-1
CrossConfigServiceImpl.java
...wanji/web/service/scheme/impl/CrossConfigServiceImpl.java
+3
-1
application.yml
signal-control-service/src/main/resources/application.yml
+2
-2
application.yml
signal-datacenter-service/src/main/resources/application.yml
+1
-1
UtcApplication.java
...c-service/src/main/java/net/wanji/utc/UtcApplication.java
+1
-1
application.yml
signal-utc-service/src/main/resources/application.yml
+1
-1
CrossDataRealtimeMapper.xml
...bus/src/main/resources/mapper/CrossDataRealtimeMapper.xml
+2
-3
No files found.
signal-control-service/src/main/java/net/wanji/web/SignalApplication.java
View file @
270b7f1e
...
@@ -10,7 +10,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
...
@@ -10,7 +10,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
/**
* @author
* @author
*/
*/
@SpringBootApplication
(
scanBasePackages
=
{
"net.wanji.web"
,
"net.wanji.common"
})
@SpringBootApplication
(
scanBasePackages
=
{
"net.wanji.web"
,
"net.wanji.
databus"
,
"net.wanji.
common"
})
@MapperScan
(
basePackages
=
{
"net.wanji.web.mapper"
,
"net.wanji.databus.dao.mapper"
})
@MapperScan
(
basePackages
=
{
"net.wanji.web.mapper"
,
"net.wanji.databus.dao.mapper"
})
@EnableTransactionManagement
@EnableTransactionManagement
@EnableScheduling
@EnableScheduling
...
...
signal-control-service/src/main/java/net/wanji/web/service/scheme/impl/CrossConfigServiceImpl.java
View file @
270b7f1e
...
@@ -77,7 +77,9 @@ public class CrossConfigServiceImpl implements CrossConfigService {
...
@@ -77,7 +77,9 @@ public class CrossConfigServiceImpl implements CrossConfigService {
public
CrossConfigServiceImpl
(
CrossDirInfoMapper
crossDirInfoMapper
,
LaneInfoMapper
laneInfoMapper
,
public
CrossConfigServiceImpl
(
CrossDirInfoMapper
crossDirInfoMapper
,
LaneInfoMapper
laneInfoMapper
,
CrossLaneLightsMapper
crossLaneLightsMapper
,
LaneSegmentMapper
laneSegmentMapper
,
CrossLaneLightsMapper
crossLaneLightsMapper
,
LaneSegmentMapper
laneSegmentMapper
,
CrossLightsMapper
crossLightsMapper
,
CrossDataRealtimeMapper
crossDataRealtimeMapper
,
CrossPhaseLightsMapper
crossPhaseLightsMapper
,
CrossLightsMapper
crossLightsMapper
,
CrossDataRealtimeMapper
crossDataRealtimeMapper
,
CrossPhaseLightsMapper
crossPhaseLightsMapper
,
CrossTurnDataHistMapper
crossTurnDataHistMapper
,
CrossTurnDataHistMapper
crossTurnDataHistMapper
,
CrossDirDataRealtimeMapper
crossDirDataRealtimeMapper
)
{
CrossDirDataRealtimeMapper
crossDirDataRealtimeMapper
)
{
this
.
crossDirInfoMapper
=
crossDirInfoMapper
;
this
.
crossDirInfoMapper
=
crossDirInfoMapper
;
...
...
signal-control-service/src/main/resources/application.yml
View file @
270b7f1e
...
@@ -18,7 +18,7 @@ service:
...
@@ -18,7 +18,7 @@ service:
mybatis
:
mybatis
:
type-aliases-package
:
net.wanji.*.model
type-aliases-package
:
net.wanji.*.model
mapper-locations
:
classpath:mapper/*.xml,classpath:mapper/*/*.xml
mapper-locations
:
classpath
*
:mapper/*.xml,classpath:mapper/*/*.xml
configuration
:
configuration
:
log-impl
:
org.apache.ibatis.logging.stdout.StdOutImpl
log-impl
:
org.apache.ibatis.logging.stdout.StdOutImpl
...
@@ -43,7 +43,7 @@ jasypt:
...
@@ -43,7 +43,7 @@ jasypt:
iv-generator-classname
:
org.jasypt.iv.NoIvGenerator
iv-generator-classname
:
org.jasypt.iv.NoIvGenerator
mybatis-plus
:
mybatis-plus
:
mapper-locations
:
classpath:mapper/*.xml,classpath:mapper/*/*.xml
mapper-locations
:
classpath
*
:mapper/*.xml,classpath:mapper/*/*.xml
typeAliasesPackage
:
net.wanji.web.entity
typeAliasesPackage
:
net.wanji.web.entity
check-config-location
:
true
check-config-location
:
true
configuration
:
configuration
:
...
...
signal-datacenter-service/src/main/resources/application.yml
View file @
270b7f1e
...
@@ -36,7 +36,7 @@ server:
...
@@ -36,7 +36,7 @@ server:
dir
:
logs
dir
:
logs
mybatis-plus
:
mybatis-plus
:
mapper-locations
:
classpath:mapper/*.xml,classpath:mapper/*/*.xml
mapper-locations
:
classpath
*
:mapper/*.xml,classpath:mapper/*/*.xml
typeAliasesPackage
:
net.wanji.datacenter.pojo.po
typeAliasesPackage
:
net.wanji.datacenter.pojo.po
check-config-location
:
true
check-config-location
:
true
configuration
:
configuration
:
...
...
signal-utc-service/src/main/java/net/wanji/utc/UtcApplication.java
View file @
270b7f1e
...
@@ -10,7 +10,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
...
@@ -10,7 +10,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
/**
* @date 2022/11/15 8:31
* @date 2022/11/15 8:31
*/
*/
@SpringBootApplication
(
scanBasePackages
=
{
"net.wanji.utc"
,
"net.wanji.common"
})
@SpringBootApplication
(
scanBasePackages
=
{
"net.wanji.utc"
,
"net.wanji.
databus"
,
"net.wanji.
common"
})
@EnableTransactionManagement
@EnableTransactionManagement
@MapperScan
(
basePackages
=
{
"net.wanji.utc.mapper"
,
"net.wanji.databus.dao.mapper"
})
@MapperScan
(
basePackages
=
{
"net.wanji.utc.mapper"
,
"net.wanji.databus.dao.mapper"
})
@EnableScheduling
@EnableScheduling
...
...
signal-utc-service/src/main/resources/application.yml
View file @
270b7f1e
...
@@ -36,7 +36,7 @@ server:
...
@@ -36,7 +36,7 @@ server:
dir
:
logs
dir
:
logs
mybatis-plus
:
mybatis-plus
:
mapper-locations
:
classpath:mapper/*.xml,classpath:mapper/*/*.xml
mapper-locations
:
classpath
*
:mapper/*.xml,classpath:mapper/*/*.xml
typeAliasesPackage
:
net.wanji.utc.entity
typeAliasesPackage
:
net.wanji.utc.entity
check-config-location
:
true
check-config-location
:
true
configuration
:
configuration
:
...
...
wj-databus/src/main/resources/mapper/CrossDataRealtimeMapper.xml
View file @
270b7f1e
...
@@ -31,9 +31,7 @@
...
@@ -31,9 +31,7 @@
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
cross_id, status, type, traffic_index, start_time, duration, is_unbalance, is_spillover, is_congestion,
cross_id,status,type,traffic_index,start_time,duration,is_unbalance,is_spillover,is_congestion,unbalance_index,spillover_index,congestion_index,unbalance_dirs,spillover_dirs,congestion_dirs,flow,flow_rate,speed,queue_length,stop_times,delay_time,sturation,batch_time,gmt_create,gmt_modified
unbalance_index, spillover_index, congestion_index, unbalance_dirs, spillover_dirs, congestion_dirs,
flow, flow_rate, speed, queue_length, stop_times, delay_time, sturation, batch_time, gmt_create, gmt_modified
</sql>
</sql>
<insert
id=
"insertBatch"
parameterType=
"net.wanji.databus.po.CrossDataRealtimePO"
>
<insert
id=
"insertBatch"
parameterType=
"net.wanji.databus.po.CrossDataRealtimePO"
>
...
@@ -87,4 +85,5 @@
...
@@ -87,4 +85,5 @@
from t_cross_data_realtime
from t_cross_data_realtime
where cross_id = #{crossId}
where cross_id = #{crossId}
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
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