Commit 444ef558 authored by zhangsen's avatar zhangsen

赋码等业务开发

parent b82fd2bc
...@@ -67,7 +67,8 @@ public class PersonYardTimeTask { ...@@ -67,7 +67,8 @@ public class PersonYardTimeTask {
@Scheduled(cron = "0 0 0 1/1 * ? ") // @Scheduled(cron = "0 0 0 1/1 * ? ")
@Scheduled(cron = "0 0/3 * * * ?")
public void timeYardTimeTask() { public void timeYardTimeTask() {
if (!redisUtils.hasKey(Constants.JXIOP_DICT_POST) || !redisUtils.hasKey(Constants.JXIOP_DICT_CERTIFICATES)) { if (!redisUtils.hasKey(Constants.JXIOP_DICT_POST) || !redisUtils.hasKey(Constants.JXIOP_DICT_CERTIFICATES)) {
personBasicService.addRedisPostAndCerInfo(); personBasicService.addRedisPostAndCerInfo();
...@@ -135,7 +136,7 @@ public class PersonYardTimeTask { ...@@ -135,7 +136,7 @@ public class PersonYardTimeTask {
personBasic.setQrcodeDesc("证书临期"); personBasic.setQrcodeDesc("证书临期");
} }
if (!qrcodeDescOld.equals(personBasic.getQrcodeDesc())) { if (StringUtils.isEmpty(qrcodeDescOld) || !qrcodeDescOld.equals(personBasic.getQrcodeDesc())) {
personBasic.setRecDate(new Date()); personBasic.setRecDate(new Date());
personBasicService.updateById(personBasic); personBasicService.updateById(personBasic);
if (("证书不全".equals(personBasic.getQrcodeDesc()) || if (("证书不全".equals(personBasic.getQrcodeDesc()) ||
......
spring.application.name=AMOS-JXIOP-BIGSCREEN spring.application.name=AMOS-JXIOP-BIGSCREEN-ZS
server.servlet.context-path=/jxiop-bigscreen server.servlet.context-path=/jxiop-bigscreen
server.port=33300 server.port=33300
server.uri-encoding=UTF-8 server.uri-encoding=UTF-8
......
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