master
杨海航 6 days ago
parent 6000840099
commit eda0c481d9
  1. 2
      src/main/java/digital/laboratory/platform/identifybook/service/IIdentifyBookService.java
  2. 5
      src/main/java/digital/laboratory/platform/identifybook/service/impl/IdentifyBookServiceImpl.java

@ -39,7 +39,7 @@ public interface IIdentifyBookService extends IService<IdentifyBook> {
//上传鉴定归档资料
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;
}

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

Loading…
Cancel
Save