|
@@ -219,7 +219,11 @@ public class ModelSynthesizerDomain {
|
|
|
// 当事人
|
|
// 当事人
|
|
|
Map<String, String> partyMap = new HashMap<>();
|
|
Map<String, String> partyMap = new HashMap<>();
|
|
|
if (order.getContractType() == OrderConstant.CONTRACT_TYPE_BORROWER) {
|
|
if (order.getContractType() == OrderConstant.CONTRACT_TYPE_BORROWER) {
|
|
|
- partyMap.put("$Title$", "借款人");
|
|
|
|
|
|
|
+ if (OrderConstant.PROD_ID_CD.equals(order.getProdId())) {
|
|
|
|
|
+ partyMap.put("Title$", "借款人(抵押人)");
|
|
|
|
|
+ } else {
|
|
|
|
|
+ partyMap.put("$Title$", "借款人");
|
|
|
|
|
+ }
|
|
|
} else if (order.getContractType() == OrderConstant.CONTRACT_TYPE_MORTGAGE) {
|
|
} else if (order.getContractType() == OrderConstant.CONTRACT_TYPE_MORTGAGE) {
|
|
|
partyMap.put("$Title$", "抵押人");
|
|
partyMap.put("$Title$", "抵押人");
|
|
|
} else if (order.getContractType() == OrderConstant.CONTRACT_TYPE_GUARANTEE) {
|
|
} else if (order.getContractType() == OrderConstant.CONTRACT_TYPE_GUARANTEE) {
|
|
@@ -237,7 +241,11 @@ public class ModelSynthesizerDomain {
|
|
|
if (order.getJointFlag() == OrderConstant.JOINT_FLAG_TRUE) {
|
|
if (order.getJointFlag() == OrderConstant.JOINT_FLAG_TRUE) {
|
|
|
Map<String, String> jointMap = new HashMap<>();
|
|
Map<String, String> jointMap = new HashMap<>();
|
|
|
if (order.getContractType() == OrderConstant.CONTRACT_TYPE_BORROWER) {
|
|
if (order.getContractType() == OrderConstant.CONTRACT_TYPE_BORROWER) {
|
|
|
- jointMap.put("$Title$", "借款人");
|
|
|
|
|
|
|
+ if (OrderConstant.PROD_ID_CD.equals(order.getProdId())) {
|
|
|
|
|
+ partyMap.put("Title$", "借款人(抵押人)");
|
|
|
|
|
+ } else {
|
|
|
|
|
+ partyMap.put("$Title$", "借款人");
|
|
|
|
|
+ }
|
|
|
} else if (order.getContractType() == OrderConstant.CONTRACT_TYPE_MORTGAGE) {
|
|
} else if (order.getContractType() == OrderConstant.CONTRACT_TYPE_MORTGAGE) {
|
|
|
jointMap.put("$Title$", "抵押人");
|
|
jointMap.put("$Title$", "抵押人");
|
|
|
} else if (order.getContractType() == OrderConstant.CONTRACT_TYPE_GUARANTEE) {
|
|
} else if (order.getContractType() == OrderConstant.CONTRACT_TYPE_GUARANTEE) {
|