修改为启动触发
This commit is contained in:
parent
f109b633c9
commit
aef91a2825
@ -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(){
|
||||||
|
Loading…
Reference in New Issue
Block a user