@ -37,7 +37,7 @@ public class StorePromotionDataJob {
public void syncData(){
try {
int random = new Random().nextInt(100);
Thread.sleep(random*1000);
Thread.sleep(random*100);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:00:00");
QueryWrapper<SysTaskDO> qw = new QueryWrapper<>();
qw.eq("type",TASK_TYPE_USER_BEHAVIOR).eq("create_time",sdf.format(new Date())).last("limit 1");
@ -46,7 +46,7 @@ public class SyncCountJobService {
public void syncAllCount(){
qw.eq("type",TASK_TYPE_ALL_COUNT).eq("create_time",sdf.format(new Date())).last("limit 1");