Merge branch 'wq1' of SH-Arbitrate/Mediation-Backend into dev
This commit was merged in pull request #121.
This commit is contained in:
+8
-1
@@ -3771,6 +3771,13 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}else {
|
||||||
|
caseAttach = MsCaseAttach.builder()
|
||||||
|
.caseAppliId(application.getId())
|
||||||
|
.annexName(orgFileName+".docx")
|
||||||
|
.annexPath(resultFilePath.replace(RuoYiConfig.getProfile(),Constants.RESOURCE_PREFIX))
|
||||||
|
.annexType(annexType)
|
||||||
|
.build();
|
||||||
}
|
}
|
||||||
//保存到附件表里,先删除之前的在保存
|
//保存到附件表里,先删除之前的在保存
|
||||||
if(caseAttach != null) {
|
if(caseAttach != null) {
|
||||||
@@ -3791,7 +3798,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
// 调用onlyoffice
|
// 调用onlyoffice
|
||||||
try {
|
try {
|
||||||
onlyOfficeUrl= onlyOfficeUrl+ "?caseId="+caseId;
|
onlyOfficeUrl= onlyOfficeUrl+ "/"+String.valueOf(caseId);
|
||||||
Map<String, Object> params = new HashMap<>();
|
Map<String, Object> params = new HashMap<>();
|
||||||
params.put("file", file);
|
params.put("file", file);
|
||||||
String postResult = HttpUtil.post(onlyOfficeUrl, params);
|
String postResult = HttpUtil.post(onlyOfficeUrl, params);
|
||||||
|
|||||||
Reference in New Issue
Block a user