|
|
@@ -331,14 +331,14 @@ public class VideoServiceImpl implements VideoService {
|
|
331
|
331
|
}
|
|
332
|
332
|
String htmlContent = "<html><body style=\"font-size:12.0pt; font-family:SimSun;\">" +reservedConferenceVO.getHtmlContent()+"</body></html>";
|
|
333
|
333
|
// html转pdf并上传到服务器
|
|
334
|
|
- boolean convertFlag = PdfUtils.htmlStringConvertToPDF(RuoYiConfig.getHtml2PDFPath() + currentFileName, htmlContent);
|
|
|
334
|
+ boolean convertFlag = PdfUtils.htmlStringConvertToPDF(RuoYiConfig.getHtml2PDFPath() +"/"+ currentFileName, htmlContent);
|
|
335
|
335
|
|
|
336
|
336
|
// 绑定案件
|
|
337
|
337
|
if(convertFlag){
|
|
338
|
338
|
CaseAttach caseAttach = CaseAttach.builder().caseAppliId(reservedConferenceVO.getCaseId())
|
|
339
|
339
|
.annexName(fileName)
|
|
340
|
340
|
.annexPath(RuoYiConfig.getHtml2PDFPath())
|
|
341
|
|
- .annexType(11)
|
|
|
341
|
+ .annexType(7)
|
|
342
|
342
|
.build();
|
|
343
|
343
|
caseAttachMapper.save(caseAttach);
|
|
344
|
344
|
return AjaxResult.success();
|