|
@@ -84,7 +84,7 @@ public class ContractTemplateLogic {
|
|
|
// 检查二级网点的主合同有没有
|
|
|
this.checkMainDate(contractTemplate);
|
|
|
|
|
|
- String urlWw = ossUtil.getUrlWw(ossUtil.replaceLongKeyUrl(contractTemplate.getContractTemplatePdf()));
|
|
|
+ String urlWw = contractTemplate.getContractTemplatePdf();
|
|
|
String templateId = IdWorker.getIdStr();
|
|
|
|
|
|
Auth4FDDUtil.uploadTemplate(templateId, null, urlWw);
|
|
@@ -110,7 +110,7 @@ public class ContractTemplateLogic {
|
|
|
this.checkMainDate(contractTemplate);
|
|
|
ContractTemplate byId = contractTemplateService.getById(contractTemplate.getContractTemplateId());
|
|
|
if (!byId.getContractTemplatePdf().equals(contractTemplate.getContractTemplatePdf())) {
|
|
|
- String urlWw = ossUtil.getUrlWw(ossUtil.replaceLongKeyUrl(contractTemplate.getContractTemplatePdf()));
|
|
|
+ String urlWw = contractTemplate.getContractTemplatePdf();
|
|
|
String templateId = IdWorker.getIdStr();
|
|
|
Auth4FDDUtil.uploadTemplate(templateId, null, urlWw);
|
|
|
byId.setFadadaTemplateId(templateId);
|