|
|
@@ -141,6 +141,10 @@ public class PtlAgreementDispatchServiceImpl extends ServiceImpl<PtlAgreementDis
|
|
|
// 获取保司的报价失败之后的动作
|
|
|
List<PtlAgreementDispatchAfterAction> ptlAgreementDispatchAfterActions = afterActionMapper.getAfterActions(ptlAgreementDispatchQuery.getCompanyId());
|
|
|
int index = 1;
|
|
|
+ // add by lipf, 对协议配置中的字典序号进行转义 2026年5月20日16:43:34
|
|
|
+ List<PtlAgreementUndwrtRulesDictLabal> ptlAgreementUndwrtRulesDictLabals = baseMapper.queryAllDictLabal();
|
|
|
+ Map<String, String> dictLabalId2Name = ptlAgreementUndwrtRulesDictLabals.stream()
|
|
|
+ .collect(Collectors.toMap(PtlAgreementUndwrtRulesDictLabal::getIdStr, PtlAgreementUndwrtRulesDictLabal::getName));
|
|
|
for(PtlAgreementDispatch dispatch : ptlAgreementDispatches){
|
|
|
if(dispatch.getDispatchName().isEmpty()){
|
|
|
dispatch.setDispatchName("规则" + index);
|
|
|
@@ -168,6 +172,10 @@ public class PtlAgreementDispatchServiceImpl extends ServiceImpl<PtlAgreementDis
|
|
|
}else{
|
|
|
attrlink.setOperatorDesc("未知");
|
|
|
}
|
|
|
+ String minName = dictLabalId2Name.getOrDefault(attrlink.getMin(),attrlink.getMin());
|
|
|
+ String maxName = dictLabalId2Name.getOrDefault(attrlink.getMax(),attrlink.getMax());
|
|
|
+ attrlink.setMinName(minName);
|
|
|
+ attrlink.setMaxName(maxName);
|
|
|
PtlAgreementUndwrtRulesAttr undwrtRuleAttrByAttrCode = ptlAgreementUndwrtRulesAttrService.getUndwrtRuleAttrByAttrCode(attrlink.getAttrCode());
|
|
|
if(undwrtRuleAttrByAttrCode != null && undwrtRuleAttrByAttrCode.getDictId() != null){
|
|
|
attrlink.setAttrCodeName(undwrtRuleAttrByAttrCode.getAttrName());
|