|
|
@@ -293,7 +293,7 @@ public class ModelSynthesizerDomain {
|
|
|
noteValue.put("$LoanRate$", contractOrderEntity.getRate());
|
|
|
noteValue.put("$McontractNO$",contractOrderEntity.getMainContractNo());
|
|
|
// 抵押合同需要补充借款合同中借款人信息
|
|
|
- if (contractOrderEntity.getContractType() == OrderConstant.CONTRACT_TYPE_MORTGAGE) {
|
|
|
+ if (contractOrderEntity.getContractType() == OrderConstant.CONTRACT_TYPE_MORTGAGE || contractOrderEntity.getContractType() == OrderConstant.CONTRACT_TYPE_GUARANTEE) {
|
|
|
ContractOrderEntity mainOrder = contractOrderRepository.getEntityWithContractNo(contractOrderEntity.getBankId(), contractOrderEntity.getProdId(), contractOrderEntity.getMainContractNo());
|
|
|
if (mainOrder != null) {
|
|
|
String jointName = mainOrder.getJointFlag() == OrderConstant.JOINT_FLAG_TRUE ? "," + mainOrder.getJointName() : "";
|