|
@@ -294,6 +294,13 @@ public class SpringCronTask implements SchedulingConfigurer{
|
|
|
tRmCalpointValueService.statData(new Date());
|
|
|
logger.info("定时任务"+taskId+"执行时长:" + (new Date().getTime() - start)/1000 + "秒");
|
|
|
}
|
|
|
+ else if (taskId.equalsIgnoreCase("123")) {
|
|
|
+ // 大宗物料收发数据(每天1点);炼钢mes生成日报每天(0点57分,4点57分)
|
|
|
+ long start = new Date().getTime();
|
|
|
+ dzMaterialSfService.dataGeneration();
|
|
|
+ emsScqkLgService.dateGenerate();
|
|
|
+ logger.info("定时任务"+taskId+"执行时长:" + (new Date().getTime() - start)/1000 + "秒");
|
|
|
+ }
|
|
|
// else if (taskId.equalsIgnoreCase("124")) {
|
|
|
// Date now = new Date();
|
|
|
// SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd");
|