bug修复

This commit is contained in:
18792927508
2024-04-22 09:20:45 +08:00
parent a73b5ca3b4
commit 29d7cd37bf
8 changed files with 257 additions and 211 deletions
@@ -84,10 +84,15 @@ public class MsVideoConferenceController extends BaseController {
caseAttach = MsCaseAttach.builder()
.caseAppliId(caseId)
.annexName(jsonObject.getString("fileName"))
.annexPath(jsonObject.getString("filePath"))
.annexType(annexType)
.onlyOfficeFileId(jsonObject.getString("fileId"))
.build();
if(jsonObject.get("filePath")!=null){
String officePath = jsonObject.getString("filePath");
String replace = officePath.replace("/home/ruoyi/uploadPath/", "/profile/");
caseAttach.setAnnexPath(replace);
}
msCaseAttachMapper.save(caseAttach);
}
if(caseAttach==null){