Browse Source

#限制查询一个月内巡检用户任务

zhongwei
yang_shj 5 months ago
parent
commit
fb97f63f59
  1. 3
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/offline/service/impl/InspectOfflineServiceImpl.java

3
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/offline/service/impl/InspectOfflineServiceImpl.java

@ -401,9 +401,6 @@ public class InspectOfflineServiceImpl implements IOfflineDataService {
// 离线任务任务 // 离线任务任务
List<OfflineTaskEntity> offlines = this.tasksData(taskId,fileList); List<OfflineTaskEntity> offlines = this.tasksData(taskId,fileList);
fileJson.add(JsonUtil.toJson(offlines)); fileJson.add(JsonUtil.toJson(offlines));
if(fileJson.isEmpty()){
return;
}
// 文件写入 // 文件写入
for (int i=0; i < fileJson.size();i++){ for (int i=0; i < fileJson.size();i++){
TableJsonUtils.createJsonFile(fileJson.get(i), download, tableNames.get(i)); TableJsonUtils.createJsonFile(fileJson.get(i), download, tableNames.get(i));

Loading…
Cancel
Save