|
@@ -288,7 +288,6 @@ public class WisdomServiceImpl implements IWisdomService {
|
|
CenterVo vo = cMap.get(key);
|
|
CenterVo vo = cMap.get(key);
|
|
String filename = FileUtils.encodingZipFilename(vo.getZipFileName());
|
|
String filename = FileUtils.encodingZipFilename(vo.getZipFileName());
|
|
String zipFile = FileUtils.getZipAbsoluteFile(filename);
|
|
String zipFile = FileUtils.getZipAbsoluteFile(filename);
|
|
- System.out.println(zipFile);
|
|
|
|
try {
|
|
try {
|
|
ZipOutputStream outStream = new ZipOutputStream(new FileOutputStream(zipFile));
|
|
ZipOutputStream outStream = new ZipOutputStream(new FileOutputStream(zipFile));
|
|
List<FileBean> fileBeanList = new ArrayList<>();
|
|
List<FileBean> fileBeanList = new ArrayList<>();
|
|
@@ -316,8 +315,8 @@ public class WisdomServiceImpl implements IWisdomService {
|
|
ossService.zipWisdomDownload(fileBeanList,outStream);
|
|
ossService.zipWisdomDownload(fileBeanList,outStream);
|
|
outStream.close();
|
|
outStream.close();
|
|
byte[] dataByte = ToolsUtils.getBytesByFile(zipFile);
|
|
byte[] dataByte = ToolsUtils.getBytesByFile(zipFile);
|
|
- vo.setExamineeZipFiles(dataByte);
|
|
|
|
- // FileUtils.deleteFile(zipFile);
|
|
|
|
|
|
+ vo.setExamineeZipFiles(ToolsUtils.encodetoStr(dataByte));
|
|
|
|
+ FileUtils.deleteFile(zipFile);
|
|
} catch (IOException e) {
|
|
} catch (IOException e) {
|
|
}
|
|
}
|
|
cList.add(vo);
|
|
cList.add(vo);
|