|
@@ -278,38 +278,38 @@ public class SaticSchedulePgTask {
|
|
* 日、月、年功率曲线拟合
|
|
* 日、月、年功率曲线拟合
|
|
* 每天执行一次
|
|
* 每天执行一次
|
|
*/
|
|
*/
|
|
- // @XxlJob("powerCurveFittingnew_PG")
|
|
|
|
- // public void powerCurveFittingnew_PG() {
|
|
|
|
- //
|
|
|
|
- // XxlJobHelper.log("日、月、年功率曲线拟合调度程序执行开始!........");
|
|
|
|
- //
|
|
|
|
- // Date date=new Date();
|
|
|
|
- // try {
|
|
|
|
- // XxlJobHelper.log("日序执行开始!........");
|
|
|
|
- // powerCurveFittingByTimeService.cureFittingDay(date);
|
|
|
|
- // XxlJobHelper.log("日处理完成!........");
|
|
|
|
- //
|
|
|
|
- // XxlJobHelper.log("月序执行开始!........");
|
|
|
|
- // powerCurveFittingByTimeService.cureFittingMonth(date,"0");
|
|
|
|
- // XxlJobHelper.log("月处理完成!........");
|
|
|
|
- //
|
|
|
|
- // XxlJobHelper.log("年序执行开始!........");
|
|
|
|
- // powerCurveFittingByTimeService.cureFittingYear(date);
|
|
|
|
- // XxlJobHelper.log("年处理完成!........");
|
|
|
|
- //
|
|
|
|
- //// powerCurveFittingByTimeGfService.cureFittingDay(date);
|
|
|
|
- //// powerCurveFittingByTimeGfService.cureFittingMonth(date,"0");
|
|
|
|
- //// powerCurveFittingByTimeGfService.cureFittingYear(date);
|
|
|
|
- //
|
|
|
|
- //
|
|
|
|
- //
|
|
|
|
- // } catch (Exception e) {
|
|
|
|
- // e.printStackTrace();
|
|
|
|
- // XxlJobHelper.log(e.getMessage());
|
|
|
|
- // }
|
|
|
|
- //
|
|
|
|
- // XxlJobHelper.log("日、月、年功率曲线拟合调度任务处理完成!........");
|
|
|
|
- // }
|
|
|
|
|
|
+ @XxlJob("powerCurveFittingnew_PG")
|
|
|
|
+ public void powerCurveFittingnew_PG() {
|
|
|
|
+
|
|
|
|
+ XxlJobHelper.log("日、月、年功率曲线拟合调度程序执行开始!........");
|
|
|
|
+
|
|
|
|
+ Date date=new Date();
|
|
|
|
+ try {
|
|
|
|
+// XxlJobHelper.log("日序执行开始!........");
|
|
|
|
+// powerCurveFittingByTimeService.cureFittingDay(date);
|
|
|
|
+// XxlJobHelper.log("日处理完成!........");
|
|
|
|
+
|
|
|
|
+ XxlJobHelper.log("月序执行开始!........");
|
|
|
|
+ powerCurveFittingByTimeService.cureFittingMonth(date,"0",null);
|
|
|
|
+ XxlJobHelper.log("月处理完成!........");
|
|
|
|
+
|
|
|
|
+// XxlJobHelper.log("年序执行开始!........");
|
|
|
|
+// powerCurveFittingByTimeService.cureFittingYear(date);
|
|
|
|
+// XxlJobHelper.log("年处理完成!........");
|
|
|
|
+
|
|
|
|
+ // powerCurveFittingByTimeGfService.cureFittingDay(date);
|
|
|
|
+// powerCurveFittingByTimeGfService.cureFittingMonth(date,"0");
|
|
|
|
+ // powerCurveFittingByTimeGfService.cureFittingYear(date);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ e.printStackTrace();
|
|
|
|
+ XxlJobHelper.log(e.getMessage());
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ XxlJobHelper.log("日、月、年功率曲线拟合调度任务处理完成!........");
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|