|
@@ -1159,7 +1159,7 @@ public class ContractServiceImpl implements ContractService, InitializingBean {
|
|
|
FileUtils.deleteQuietly(srcFile);
|
|
|
}
|
|
|
|
|
|
- List<SysUserContracts> userContractWithType = sysUserContractsService.getUserContractWithType(userId, ContractType.PRODUCT, ownershipType.getContractVersion());
|
|
|
+ List<SysUserContracts> userContractWithType = sysUserContractsService.getUserContractWithType(userId, ContractType.PRODUCT,tenantContractTemplate.getVersion());
|
|
|
|
|
|
result.put("exists", !CollectionUtils.isEmpty(userContractWithType));
|
|
|
result.put("productContract", html);
|