|
@@ -242,7 +242,7 @@ public class WisdomServiceImpl implements IWisdomService {
|
|
|
Map<String, Object> userVo = new HashMap<>();
|
|
|
userVo.put("examineeCode",vo.getExamineeCode());
|
|
|
userVo.put("idNumber",vo.getIdCard());
|
|
|
- userVo.put("examineeName","ddsfs");
|
|
|
+ userVo.put("examineeName",vo.getRealname());
|
|
|
userVo.put("idCardImg1",vo.getIdCardImg1());
|
|
|
userVo.put("idCardImg2",vo.getIdCardImg2());
|
|
|
userVo.put("oneInchPhotos",vo.getOneInchPhotos());
|
|
@@ -288,6 +288,7 @@ public class WisdomServiceImpl implements IWisdomService {
|
|
|
CenterVo vo = cMap.get(key);
|
|
|
String filename = FileUtils.encodingZipFilename(vo.getZipFileName());
|
|
|
String zipFile = FileUtils.getZipAbsoluteFile(filename);
|
|
|
+ System.out.println(zipFile);
|
|
|
try {
|
|
|
ZipOutputStream outStream = new ZipOutputStream(new FileOutputStream(zipFile));
|
|
|
List<FileBean> fileBeanList = new ArrayList<>();
|
|
@@ -306,7 +307,7 @@ public class WisdomServiceImpl implements IWisdomService {
|
|
|
FileBean f3 = new FileBean();
|
|
|
String oneInchPhotos = String.valueOf(userVo.get("oneInchPhotos"));
|
|
|
f3.setPath(oneInchPhotos);
|
|
|
- f3.setFileName(userVo.get("oneInchPhotos")+".jpg");
|
|
|
+ f3.setFileName(userVo.get("examineeCode")+".jpg");
|
|
|
fileBeanList.add(f1);
|
|
|
fileBeanList.add(f2);
|
|
|
fileBeanList.add(f3);
|
|
@@ -316,7 +317,7 @@ public class WisdomServiceImpl implements IWisdomService {
|
|
|
outStream.close();
|
|
|
byte[] dataByte = ToolsUtils.getBytesByFile(zipFile);
|
|
|
vo.setExamineeZipFiles(dataByte);
|
|
|
- FileUtils.deleteFile(zipFile);
|
|
|
+ // FileUtils.deleteFile(zipFile);
|
|
|
} catch (IOException e) {
|
|
|
}
|
|
|
cList.add(vo);
|