Commit 4660e2d1 authored by data爬虫-冯 军凯's avatar data爬虫-冯 军凯

每日定时任务改为异步

parent 9b5d9f8d
......@@ -17,6 +17,7 @@ import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
......@@ -43,6 +44,7 @@ public class BlackListManagerServiceImpl implements IBlackListManagerService {
@Autowired
private JdbcTemplate xyqbUserJdbcTemplate;
@Async
@Override
public void blackListRealTimeManagerByDay() {
......
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