|
@@ -41,10 +41,12 @@ public class Timer {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//@Scheduled(fixedRate = 5000)
|
|
//@Scheduled(fixedRate = 5000)
|
|
|
|
|
+ @PostConstruct
|
|
|
public void countPark() {
|
|
public void countPark() {
|
|
|
parkPreCountService.updateAllRoom();
|
|
parkPreCountService.updateAllRoom();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @PostConstruct
|
|
|
public void countInvestment() {
|
|
public void countInvestment() {
|
|
|
investmentPreCountService.updateAllTarget();
|
|
investmentPreCountService.updateAllTarget();
|
|
|
}
|
|
}
|