|
@@ -236,11 +236,12 @@ public class SpringCronTask implements SchedulingConfigurer{
|
|
|
tRmActValueService.statDataforDay();// 每日数据统计(实绩定时任务)
|
|
|
logger.info("定时任务"+taskId+"执行时长:" + (System.currentTimeMillis() - start)/1000 + "秒");
|
|
|
}
|
|
|
-// else if (taskId.equalsIgnoreCase("104")) {
|
|
|
-// long start = System.currentTimeMillis();
|
|
|
-// tRmPlanValueService.state();// 每日数据统计(计划定时任务)
|
|
|
-// logger.info("定时任务"+taskId+"执行时长:" + (System.currentTimeMillis() - start)/1000 + "秒");
|
|
|
-// }
|
|
|
+ else if (taskId.equalsIgnoreCase("104")) {
|
|
|
+ // 能介计划数据生成
|
|
|
+ long start = System.currentTimeMillis();
|
|
|
+ tRmPlanValueService.state();// 每日数据统计(计划定时任务)
|
|
|
+ logger.info("定时任务"+taskId+"执行时长:" + (System.currentTimeMillis() - start)/1000 + "秒");
|
|
|
+ }
|
|
|
else if (taskId.equalsIgnoreCase("105")) {
|
|
|
// 先计算产品,因为原材料计算单耗需要产品实绩数据参与计算
|
|
|
long start = System.currentTimeMillis();
|