| | |
| | | package com.terra.system.service.data; |
| | | |
| | | import com.terra.common.helper.StringHelper; |
| | | import com.terra.system.entity.all.AbstractPwdEntity; |
| | | import com.terra.system.entity.data.DownloadEntity; |
| | | import com.terra.system.entity.data.MetaFileEntity; |
| | | import com.terra.system.entity.show.PipelineEntity; |
| | | import com.terra.system.helper.*; |
| | | import com.terra.system.mapper.data.DownloadMapper; |
| | |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 删除文件 |
| | | */ |
| | | public static void deleteFiles(List<MetaFileEntity> list) { |
| | | try { |
| | | for (MetaFileEntity mf : list) { |
| | | File f = new File(mf.getPath()); |
| | | if (f.exists()) { |
| | | f.delete(); |
| | | } |
| | | } |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | } |
| | | } |