Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
6726fd40
Commit
6726fd40
authored
Feb 24, 2025
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改人员资质问题生成
parent
c2493ac2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
SafetyProblemTracingController.java
...ule/jg/biz/controller/SafetyProblemTracingController.java
+12
-0
SafetyProblemTracingGenServiceImpl.java
.../biz/service/impl/SafetyProblemTracingGenServiceImpl.java
+6
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/SafetyProblemTracingController.java
View file @
6726fd40
...
@@ -251,6 +251,18 @@ public class SafetyProblemTracingController extends BaseController {
...
@@ -251,6 +251,18 @@ public class SafetyProblemTracingController extends BaseController {
safetyProblemTracingGenService
.
executeMaintenanceCheck
();
safetyProblemTracingGenService
.
executeMaintenanceCheck
();
return
ResponseHelper
.
buildResponse
(
"success"
);
return
ResponseHelper
.
buildResponse
(
"success"
);
}
}
/**
* test3
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"生成维保超期数据"
,
notes
=
"生成维保超期数据"
)
@GetMapping
(
value
=
"/gen/test4"
)
public
ResponseModel
<
String
>
test4
()
{
safetyProblemTracingGenService
.
executePersonnalCertificationCheck
();
return
ResponseHelper
.
buildResponse
(
"success"
);
}
/**
/**
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/SafetyProblemTracingGenServiceImpl.java
View file @
6726fd40
...
@@ -65,11 +65,15 @@ public class SafetyProblemTracingGenServiceImpl{
...
@@ -65,11 +65,15 @@ public class SafetyProblemTracingGenServiceImpl{
public
void
executeSafetyProblemCheck
()
{
public
void
executeSafetyProblemCheck
()
{
executeMaintenanceCheck
();
executeMaintenanceCheck
();
executeInspectionCheck
();
executeInspectionCheck
();
executePersonnalCertificationCheck
();
executeEnterpriseQualificationCheck
();
executeEnterpriseQualificationCheck
();
}
}
@Scheduled
(
cron
=
"0 0 1 * * ?"
)
@SchedulerLock
(
name
=
"executeSafetyProblemCheck"
,
lockAtMostFor
=
"PT5H"
,
lockAtLeastFor
=
"PT10M"
)
public
void
executePersonnalCertification
()
{
executePersonnalCertificationCheck
();
}
p
rivate
void
executePersonnalCertificationCheck
()
{
p
ublic
void
executePersonnalCertificationCheck
()
{
logger
.
info
(
"开始人员资质超期检查"
);
logger
.
info
(
"开始人员资质超期检查"
);
List
<
Map
<
String
,
Object
>>
certificationRecords
=
commonMapper
.
queryOutOfCertificationRecord
();
List
<
Map
<
String
,
Object
>>
certificationRecords
=
commonMapper
.
queryOutOfCertificationRecord
();
updateUserInfoAndSendMessage
(
certificationRecords
);
updateUserInfoAndSendMessage
(
certificationRecords
);
...
...
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