Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bme-access-guangdong-upload
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
李洪明
bme-access-guangdong-upload
Commits
9458ae61
Commit
9458ae61
authored
Dec 18, 2025
by
曹军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定义接口
parent
1a585e59
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
99 additions
and
10 deletions
+99
-10
UploadDataTask.java
...ain/java/com/bme/access/guangdong/job/UploadDataTask.java
+61
-10
ControlMeasureService.java
...m/bme/access/guangdong/service/ControlMeasureService.java
+10
-0
ExceedEmissionVehicleService.java
...ccess/guangdong/service/ExceedEmissionVehicleService.java
+11
-0
InAndOutDateService.java
...com/bme/access/guangdong/service/InAndOutDateService.java
+3
-0
NoRoadVehicleInfoService.java
...me/access/guangdong/service/NoRoadVehicleInfoService.java
+4
-0
PassedThroughService.java
...om/bme/access/guangdong/service/PassedThroughService.java
+10
-0
No files found.
src/main/java/com/bme/access/guangdong/job/UploadDataTask.java
View file @
9458ae61
package
com
.
bme
.
access
.
guangdong
.
job
;
import
com.bme.access.guangdong.service.EnterpriseService
;
import
com.bme.access.guangdong.service.InFactoryVehicleInfoService
;
import
com.bme.access.guangdong.service.*
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.scheduling.annotation.EnableScheduling
;
...
...
@@ -18,6 +17,16 @@ public class UploadDataTask {
private
EnterpriseService
enterpriseService
;
@Resource
private
InFactoryVehicleInfoService
inFactoryVehicleInfoService
;
@Resource
private
InAndOutDateService
inAndOutDateService
;
@Resource
private
NoRoadVehicleInfoService
noRoadVehicleInfoService
;
@Resource
private
ExceedEmissionVehicleService
exceedEmissionVehicleService
;
@Resource
private
ControlMeasureService
controlMeasureService
;
@Resource
private
PassedThroughService
passedThroughService
;
/**
* 上传企业信息
...
...
@@ -34,41 +43,83 @@ public class UploadDataTask {
/**
* 进出厂车辆电子信息
* 进出厂车辆电子台账
* 一条进场,一条出场
*/
// @Scheduled(cron = "0 0/1 * * * *")
public
void
inAndOutInfo
()
{
log
.
info
(
"上传进出厂车辆电子台账"
);
try
{
inAndOutDateService
.
uploadInfo
();
}
catch
(
Exception
e
)
{
log
.
error
(
"上传进出厂车辆电子台账异常"
,
e
);
}
}
/**
* 厂内运输车辆电子台账
*/
// @Scheduled(cron = "0 0/1 * * * *")
public
void
inFactoryInfo
()
{
log
.
info
(
"上传厂内车辆信息"
);
try
{
inFactoryVehicleInfoService
.
uploadInfo
();
}
catch
(
Exception
e
)
{
log
.
error
(
"上传厂内车辆信息异常"
,
e
);
}
}
/**
* 非道路移动机械电子台账
*/
// @Scheduled(cron = "0 0/1 * * * *")
public
void
noNoRoadInfo
()
{
log
.
info
(
"上传厂内车辆信息"
);
try
{
noRoadVehicleInfoService
.
uploadInfo
();
}
catch
(
Exception
e
)
{
log
.
error
(
"上传厂内车辆信息异常"
,
e
);
}
}
/**
* 排放超标车辆名单表
*/
// @Scheduled(cron = "0 0/1 * * * *")
public
void
exceedEmissionVehicle
()
{
log
.
info
(
"上传厂内车辆信息"
);
try
{
exceedEmissionVehicleService
.
receiveInfo
();
}
catch
(
Exception
e
)
{
log
.
error
(
"上传厂内车辆信息异常"
,
e
);
}
}
/**
* 移动源管控措施表
*/
// @Scheduled(cron = "0 0/1 * * * *")
public
void
controlMeasure
()
{
log
.
info
(
"上传厂内车辆信息"
);
try
{
controlMeasureService
.
receiveInfo
();
}
catch
(
Exception
e
)
{
log
.
error
(
"上传厂内车辆信息异常"
,
e
);
}
}
/**
* 违规车辆通行车辆名单表
*/
/**
* 上传厂内车辆信息
*/
// @Scheduled(cron = "0 0/1 * * * *")
public
void
uploadInFactoryVehicleInfo
()
{
public
void
passedThrough
()
{
log
.
info
(
"上传厂内车辆信息"
);
try
{
inFactoryVehicleInfoService
.
upload
Info
();
passedThroughService
.
receive
Info
();
}
catch
(
Exception
e
)
{
log
.
error
(
"上传厂内车辆信息异常"
,
e
);
}
}
}
src/main/java/com/bme/access/guangdong/service/ControlMeasureService.java
0 → 100644
View file @
9458ae61
package
com
.
bme
.
access
.
guangdong
.
service
;
import
org.springframework.stereotype.Service
;
@Service
public
class
ControlMeasureService
{
public
void
receiveInfo
()
{
}
}
src/main/java/com/bme/access/guangdong/service/ExceedEmissionVehicleService.java
0 → 100644
View file @
9458ae61
package
com
.
bme
.
access
.
guangdong
.
service
;
import
org.springframework.stereotype.Service
;
@Service
public
class
ExceedEmissionVehicleService
{
public
void
receiveInfo
()
{
}
}
src/main/java/com/bme/access/guangdong/service/InAndOutDateService.java
View file @
9458ae61
...
...
@@ -5,4 +5,7 @@ import org.springframework.stereotype.Service;
@Service
public
class
InAndOutDateService
{
public
void
uploadInfo
()
{
}
}
src/main/java/com/bme/access/guangdong/service/NoRoadVehicleInfoService.java
View file @
9458ae61
...
...
@@ -4,4 +4,8 @@ import org.springframework.stereotype.Service;
@Service
public
class
NoRoadVehicleInfoService
{
public
void
uploadInfo
()
{
}
}
src/main/java/com/bme/access/guangdong/service/PassedThroughService.java
0 → 100644
View file @
9458ae61
package
com
.
bme
.
access
.
guangdong
.
service
;
import
org.springframework.stereotype.Service
;
@Service
public
class
PassedThroughService
{
public
void
receiveInfo
()
{
}
}
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