修改为启动触发

This commit is contained in:
Ledo 2025-02-10 07:55:37 +08:00
parent f109b633c9
commit aef91a2825

View File

@ -159,6 +159,7 @@ public class bdgzsomthingController {
@PostConstruct @PostConstruct
public void init() { public void init() {
selectHasPrice(); selectHasPrice();
selectSafeStorageAndDeliverOneYear();
} }
@Scheduled(cron = "0 0 2 * * ?") @Scheduled(cron = "0 0 2 * * ?")
public void selectHasPrice(){ public void selectHasPrice(){