|
|
@ -280,10 +280,9 @@ public class ScheduledCreateTask { |
|
|
|
* 水电站-机组实时加载 |
|
|
|
* 水电站-机组实时加载 |
|
|
|
* @return ReturnT<String> |
|
|
|
* @return ReturnT<String> |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
//@XxlJob(LOAD_HYDROPOWER_UNIT_REAL)
|
|
|
|
@XxlJob(LOAD_HYDROPOWER_UNIT_REAL) |
|
|
|
@Scheduled(cron = "0/40 * * * * ? ") |
|
|
|
//@Scheduled(cron = "0/40 * * * * ? ")
|
|
|
|
public ReturnT<String> loadHydropowerUnitReal() throws Exception { |
|
|
|
public ReturnT<String> loadHydropowerUnitReal(String param) throws Exception { |
|
|
|
String param = ""; |
|
|
|
|
|
|
|
if (Func.isBlank(param)) { |
|
|
|
if (Func.isBlank(param)) { |
|
|
|
param = DateUtil.format(new Date(), "yyyy-MM"); |
|
|
|
param = DateUtil.format(new Date(), "yyyy-MM"); |
|
|
|
} |
|
|
|
} |
|
|
|