|
|
@@ -24,6 +24,7 @@ import com.ydtech.modules.protocol.utils.AssertionUtils;
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
@@ -156,8 +157,10 @@ public class PtlAgreementServiceImpl extends ServiceImpl<PtlAgreementMapper, Ptl
|
|
|
// 获取非车险产品费用
|
|
|
List<PtlAgreementNonCarProductCosts> nonCarProductCosts = ptlAgreementNonCarProductCostsService.getByAgreementId(agreementId);
|
|
|
// 获取承保规则
|
|
|
-// List<PtlAgreementUndwrtRules> underwritingRules = ptlAgreementUndwrtRulesService.getByAgreementId(agreementId);
|
|
|
- List<PtlAgreementUndwrtRules> undwrtRulesList = ptlAgreementUndwrtRulesService.getByAgreementId(agreementId);
|
|
|
+ // TODO 暂时注释
|
|
|
+ // List<PtlAgreementUndwrtRules> underwritingRules = ptlAgreementUndwrtRulesService.getByAgreementId(agreementId);
|
|
|
+
|
|
|
+ List<PtlAgreementUnderwritingRules> ptlAgreementUnderwritingRules = ptlAgreementUnderwritingRulesService.getByAgreementId(agreementId);
|
|
|
// 账号信息查询
|
|
|
PtlAgreementAttribution ptlAgreementAttribution = ptlAgreementAttributionService.getById(agreementId);
|
|
|
//2023-08-28 lig 增加 解决前端空对象为null问题,改为返回为空对象
|
|
|
@@ -175,7 +178,7 @@ public class PtlAgreementServiceImpl extends ServiceImpl<PtlAgreementMapper, Ptl
|
|
|
}
|
|
|
// 授权查询
|
|
|
List<PtlAgreementDept> deptList = ptlAgreementDeptService.getByAgreementId(agreementId);
|
|
|
- PtlAgreementQueryVo ptlAgreementQueryVo = new PtlAgreementQueryVo(ptlAgreement, schemeQueryDto, nonCarProductCosts, undwrtRulesList, ptlAgreementAttribution, deptList);
|
|
|
+ PtlAgreementQueryVo ptlAgreementQueryVo = new PtlAgreementQueryVo(ptlAgreement, schemeQueryDto, nonCarProductCosts, ptlAgreementUnderwritingRules, ptlAgreementAttribution, deptList);
|
|
|
return HttpResult.ok(ptlAgreementQueryVo);
|
|
|
}
|
|
|
|