数据同步问题修复
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
... | @@ -47,11 +47,11 @@ public class DayDataSyncJob implements Job { | ... | @@ -47,11 +47,11 @@ public class DayDataSyncJob implements Job { |
47 | 47 | ||
48 | @Override | 48 | @Override |
49 | public void execute(JobExecutionContext jobExecutionContext) { | 49 | public void execute(JobExecutionContext jobExecutionContext) { |
50 | log.info("开始同步昨天的数据入报表"); | ||
51 | String yesterday = DateUtils.getYesterday(); | 50 | String yesterday = DateUtils.getYesterday(); |
52 | if(StringUtils.isNotEmpty(this.parameter)){ | 51 | if(StringUtils.isNotEmpty(this.parameter)){ |
53 | yesterday = this.parameter; | 52 | yesterday = this.parameter; |
54 | } | 53 | } |
54 | log.info("开始同步【"+yesterday+"】数据入报表"); | ||
55 | DecimalFormat df = new DecimalFormat("######0.0000"); | 55 | DecimalFormat df = new DecimalFormat("######0.0000"); |
56 | List<SysFactoryDevice> deviceList = sysFactoryDeviceService.getList(); | 56 | List<SysFactoryDevice> deviceList = sysFactoryDeviceService.getList(); |
57 | if(deviceList.size() > 0){ | 57 | if(deviceList.size() > 0){ | ... | ... |
-
请 注册 或 登录 后发表评论