|
|
|
@ -75,10 +75,9 @@ public class GenerationScheduledTask {
|
|
|
|
|
* @param param |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
//@XxlJob(LOAD_THREE_YEAR_POWER_GENERATION)
|
|
|
|
|
@Scheduled(cron = "0/40 * * * * ? ") |
|
|
|
|
public ReturnT<String> loadThreeYearPowerGeneration() { |
|
|
|
|
String param = ""; |
|
|
|
|
@XxlJob(LOAD_THREE_YEAR_POWER_GENERATION) |
|
|
|
|
//@Scheduled(cron = "0/40 * * * * ? ")
|
|
|
|
|
public ReturnT<String> loadThreeYearPowerGeneration(String param) { |
|
|
|
|
if (Func.isBlank(param)) { |
|
|
|
|
param = DateUtil.format(new Date(), "yyyy-MM"); |
|
|
|
|
} |
|
|
|
|