Commit e121e043 authored by 郝彦辉's avatar 郝彦辉

Ocr识别的身份证有效期校验2

parent 42704b65
...@@ -52,8 +52,7 @@ public class SynUserOcrJob { ...@@ -52,8 +52,7 @@ public class SynUserOcrJob {
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
*/ */
@Async @Async
//@Scheduled(cron = "0 30 04 * * ?") @Scheduled(cron = "0 30 04 * * ?")
@Scheduled(cron = "0 31 14 * * ?")
public void startSynUserOcr() { public void startSynUserOcr() {
if (increment()) { if (increment()) {
redisTemplate.expire(Constant.QG_RENHANG_REPORT_SYN_USEROCR_LOCK_KEY, 10, TimeUnit.SECONDS); redisTemplate.expire(Constant.QG_RENHANG_REPORT_SYN_USEROCR_LOCK_KEY, 10, TimeUnit.SECONDS);
......
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