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