Commit 86bc1e60 authored by suhuiguang's avatar suhuiguang

1.修改未5点执行一次

parent af18ffd4
...@@ -39,7 +39,7 @@ public class CompanyQuestionJob { ...@@ -39,7 +39,7 @@ public class CompanyQuestionJob {
* 资质超期 * 资质超期
*/ */
@SchedulerLock(name = "genCompanyQuestionOfPermissionExpireJob", lockAtMostFor = "PT4M") @SchedulerLock(name = "genCompanyQuestionOfPermissionExpireJob", lockAtMostFor = "PT4M")
@Scheduled(cron = "${inspection.cert.expire.job.cron:0 0/2 * * * ?}") @Scheduled(cron = "${inspection.cert.expire.job.cron:0 0 5 * * ?}")
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public void genCompanyQuestionOfPermissionExpire() { public void genCompanyQuestionOfPermissionExpire() {
List<CylinderUnitDto> cylinderUnitDtoList = cylinderUnitMapper.queryCylinderUnitOfPermissionExpire(QuestionTypeEnum.XKCQ.getCode()); List<CylinderUnitDto> cylinderUnitDtoList = cylinderUnitMapper.queryCylinderUnitOfPermissionExpire(QuestionTypeEnum.XKCQ.getCode());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment