|
|
@ -23,7 +23,7 @@ public class SyncCountJobService {
|
|
|
|
@Autowired
|
|
|
|
@Autowired
|
|
|
|
private SysTaskDOMapper sysTaskDOMapper;
|
|
|
|
private SysTaskDOMapper sysTaskDOMapper;
|
|
|
|
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 0/15 9/1 * * ??")
|
|
|
|
// @Scheduled(cron = "0 0/15 9/1 * * ??")
|
|
|
|
public void syncStoreCount(){
|
|
|
|
public void syncStoreCount(){
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
int random = new Random().nextInt(100);
|
|
|
|
int random = new Random().nextInt(100);
|
|
|
@ -42,7 +42,7 @@ public class SyncCountJobService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 0 2 * * ?")
|
|
|
|
// @Scheduled(cron = "0 0 2 * * ?")
|
|
|
|
public void syncAllCount(){
|
|
|
|
public void syncAllCount(){
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
int random = new Random().nextInt(100);
|
|
|
|
int random = new Random().nextInt(100);
|
|
|
|