REQ-3581: 下载合同

This commit is contained in:
yanglin 2025-02-21 16:08:52 +08:00
parent 18712e1cba
commit 30ceccd7a2

View File

@ -159,7 +159,7 @@ public class EssService {
public void saveContractSnapshot(String essContractId) {
EssContract c = transactionTemplate.execute(unused -> {
EssContract contract = essContractDao.getOrThrow(essContractId);
contract.getRecordExt().setShouldDownloadContract(true);
contract.getOrCreateExt().setShouldDownloadContract(true);
essContractDao.updateExt(contract);
return contract;
});