This commit is contained in:
杨海航
2025-05-23 10:13:31 +08:00
parent 6000840099
commit eda0c481d9
2 changed files with 2 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ public interface IIdentifyBookService extends IService<IdentifyBook> {
//上传鉴定归档资料 //上传鉴定归档资料
List<String> uploadIdentifyBookAttachment(String attachType, List<MultipartFile> attachFileList,String businessId); List<String> uploadIdentifyBookAttachment(String attachType, List<MultipartFile> attachFileList,String businessId);
//获取手动上传的文书附件 //获取手动上传的文书附件
String getAttachment(String businessId,String attachType); String getAttachment(String businessId,String attachType);
String mergeWord(String entrustId) throws Exception; String mergeWord(String entrustId) throws Exception;
} }

View File

@@ -697,10 +697,7 @@ public class IdentifyBookServiceImpl extends ServiceImpl<IdentifyBookMapper, Ide
@Override @Override
public String mergeWord(String entrustId) throws Exception { public String mergeWord(String entrustId) throws Exception {
String reportPath = "document/appraisalReport/" + entrustId + "/" + "鉴定报告.pdf"; String reportPath = "document/appraisalReport/" + entrustId + "/" + "鉴定报告.pdf";
boolean ret = ossFile.objectExist(reportPath);
if (ret) {
return reportPath;
}
Entrustment entrustment = entrustmentService.getById(entrustId); Entrustment entrustment = entrustmentService.getById(entrustId);
String synEntrustId = entrustment.getSynEntrustId(); String synEntrustId = entrustment.getSynEntrustId();