|
|
|
@ -13,6 +13,7 @@ import com.ssf.mysqloracletest.mapper.ModelSuspectedUserInfoMapper;
|
|
|
|
|
import com.ssf.mysqloracletest.mapper.PoliceBacklogMapper;
|
|
|
|
|
import com.ssf.mysqloracletest.service.BasePlaceInfoService;
|
|
|
|
|
import com.ssf.mysqloracletest.service.BaseUserInfoService;
|
|
|
|
|
import com.ssf.mysqloracletest.utils.ConfigParam;
|
|
|
|
|
import com.ssf.mysqloracletest.utils.DateTool;
|
|
|
|
|
import com.ssf.mysqloracletest.utils.safe.AESTools;
|
|
|
|
|
import com.ssf.mysqloracletest.utils.safe.AesConstant;
|
|
|
|
@ -43,10 +44,14 @@ public class PersonSuspectedTask {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Scheduled(initialDelay = 100, fixedDelay = 3000)
|
|
|
|
|
public void goalPersonSuspected(String nearlyDays, String appearDays, String appearTimes) {
|
|
|
|
|
nearlyDays = "30";
|
|
|
|
|
appearDays = "20";
|
|
|
|
|
appearTimes = "30";
|
|
|
|
|
// @Scheduled(cron = "0 0 0 * * ?") // 每天凌晨执行
|
|
|
|
|
public void goalPersonSuspected() {
|
|
|
|
|
if (!"true".equals(ConfigParam.PersonSuspectedTaskSwitch)) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
String nearlyDays = "30";
|
|
|
|
|
String appearDays = "20";
|
|
|
|
|
String appearTimes = "30";
|
|
|
|
|
logger.info("goalPersonSuspected 人员分析 疑似小区住户 nearlyDays:" + nearlyDays + ", appearDays:" + appearDays + ", appearTimes" + appearTimes + ", threadName:" + Thread.currentThread().getName());
|
|
|
|
|
modelSuspectedUserInfoMapper.cleanModelSuspectedUserInfo();
|
|
|
|
|
// 1.查询近30天人脸抓拍数据
|
|
|
|
|