Browse Source

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

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

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

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

Loading…
Cancel
Save