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
aac5a1e4
Commit
aac5a1e4
authored
Feb 24, 2025
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改人员资质问题生成
parent
4dd21d34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
3 deletions
+20
-3
SafetyProblemTracingController.java
...ule/jg/biz/controller/SafetyProblemTracingController.java
+12
-1
SafetyProblemTracingGenServiceImpl.java
.../biz/service/impl/SafetyProblemTracingGenServiceImpl.java
+8
-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 @
aac5a1e4
...
...
@@ -252,7 +252,18 @@ public class SafetyProblemTracingController extends BaseController {
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"
);
}
/**
* update3 -- 修复
*
...
...
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 @
aac5a1e4
...
...
@@ -65,11 +65,17 @@ public class SafetyProblemTracingGenServiceImpl{
public
void
executeSafetyProblemCheck
()
{
executeMaintenanceCheck
();
executeInspectionCheck
();
executePersonnalCertificationCheck
();
executeEnterpriseQualificationCheck
();
}
private
void
executePersonnalCertificationCheck
()
{
@Scheduled
(
cron
=
"0 0 1 * * ?"
)
@SchedulerLock
(
name
=
"executePersonnalCertification"
,
lockAtMostFor
=
"PT5H"
,
lockAtLeastFor
=
"PT10M"
)
public
void
executePersonnalCertification
()
{
executePersonnalCertificationCheck
();
}
public
void
executePersonnalCertificationCheck
()
{
logger
.
info
(
"开始人员资质超期检查"
);
List
<
Map
<
String
,
Object
>>
certificationRecords
=
commonMapper
.
queryOutOfCertificationRecord
();
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