大屏接口

dev_0531
yechenhao 5 years ago
parent 4c515c293b
commit 4f16cdecc1

@ -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);

Loading…
Cancel
Save