REQ-3581: 下载合同
This commit is contained in:
parent
246b1ef265
commit
9130acd9b8
@ -177,7 +177,7 @@ public class EssService {
|
||||
essSupport.asyncExec(() -> {
|
||||
try {
|
||||
EssContract c = essContractDao.findOrNull(contract.getEssContractId());
|
||||
if (c == null || !c.isFinalState() || StringUtils.isNotBlank(c.getOssFileKey()))
|
||||
if (c == null || c.downloadContract() || StringUtils.isNotBlank(c.getOssFileKey()))
|
||||
return;
|
||||
String pdfUrl = getContractPDFUrlFromEss(c);
|
||||
String fileName = String.format("%s.pdf", c.getContractName());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user