更新合同接口:获取动态字段、表单报错修改
This commit is contained in:
@@ -391,11 +391,15 @@ public class ContractServiceImpl implements ContractService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 查询合同动态字段及条款
|
// 查询合同动态字段及条款
|
||||||
TmplInscBsnRelRespVO tmplInscBsnRel = tmplInscBsnRelService.getTmplInscBsnRel(contractMainDO.getBusinessId());
|
if (contractMainDO.getBusinessId() != null) {
|
||||||
// 设置合同动态字段
|
TmplInscBsnRelRespVO tmplInscBsnRel = tmplInscBsnRelService.getTmplInscBsnRel(contractMainDO.getBusinessId());
|
||||||
respVO.setDynamicsFields(tmplInscBsnRel.getTmplInscDatBsnRespVOS());
|
if (tmplInscBsnRel != null) {
|
||||||
// 设置合同动态条款
|
// 设置合同动态字段
|
||||||
respVO.setDynamicsItems(tmplInscBsnRel.getTmplInscItmBsnRespVOS());
|
respVO.setDynamicsFields(tmplInscBsnRel.getTmplInscDatBsnRespVOS());
|
||||||
|
// 设置合同动态条款
|
||||||
|
respVO.setDynamicsItems(tmplInscBsnRel.getTmplInscItmBsnRespVOS());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return respVO;
|
return respVO;
|
||||||
}
|
}
|
||||||
@@ -478,11 +482,15 @@ public class ContractServiceImpl implements ContractService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 查询合同动态字段及条款
|
// 查询合同动态字段及条款
|
||||||
TmplInscBsnRelRespVO tmplInscBsnRel = tmplInscBsnRelService.getTmplInscBsnRel(contractMainDO.getBusinessId());
|
if (contractMainDO.getBusinessId() != null) {
|
||||||
// 设置合同动态字段
|
TmplInscBsnRelRespVO tmplInscBsnRel = tmplInscBsnRelService.getTmplInscBsnRel(contractMainDO.getBusinessId());
|
||||||
respVO.setDynamicsFields(tmplInscBsnRel.getTmplInscDatBsnRespVOS());
|
if (tmplInscBsnRel != null) {
|
||||||
// 设置合同动态条款
|
// 设置合同动态字段
|
||||||
respVO.setDynamicsItems(tmplInscBsnRel.getTmplInscItmBsnRespVOS());
|
respVO.setDynamicsFields(tmplInscBsnRel.getTmplInscDatBsnRespVOS());
|
||||||
|
// 设置合同动态条款
|
||||||
|
respVO.setDynamicsItems(tmplInscBsnRel.getTmplInscItmBsnRespVOS());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return respVO;
|
return respVO;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user