| | |
| | | FileUtil.copyFile(file, path, encryptFile ? 1 : 0); |
| | | } |
| | | } catch (Exception e) { |
| | | SpringMVCContextHolder.getSystemLogger().error(e); |
| | | throw new BaseException(FileCode.UPLOAD_FILE_FAIL); |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | } catch (Exception e) { |
| | | SpringMVCContextHolder.getSystemLogger().error(e); |
| | | throw new BaseException(FileCode.REPLACE_FILE_FAIL); |
| | | } |
| | | } |
| | |
| | | pdfFile = new File(s); |
| | | uploadOtherFile(false, uploadServer, placeLocation, pdfFile, fileName); |
| | | return true; |
| | | } |
| | | catch (BaseException e) { |
| | | } catch (BaseException e) { |
| | | throw e; |
| | | }catch (Exception e) { |
| | | e.printStackTrace(); |