|
|
@@ -415,6 +415,18 @@ public class PtlAgreementCostServiceImpl extends ServiceImpl<PtlAgreementCostMap
|
|
|
costParam.setPhones(phones);
|
|
|
|
|
|
Map<String, String> userName2Name = sysUserJzgInfoService.queryUserInfoUserName2Name(baseController.getSystemCode());
|
|
|
+ Map<String, String> name2UserName = new HashMap<>(userName2Name);
|
|
|
+ for (String s : userName2Name.keySet()) {
|
|
|
+ String name = userName2Name.get(s);
|
|
|
+ if(!s.equals(name)){
|
|
|
+ name2UserName.put(name, s);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(StrUtil.isNotEmpty(costParam.getAuditPerson())){
|
|
|
+ String auditPersonPhone = name2UserName.getOrDefault(costParam.getAuditPerson(), costParam.getAuditPerson());
|
|
|
+ log.info("姓名换汇为手机号。 name=[{}],phone=[{}]",costParam.getAuditPerson(), auditPersonPhone);
|
|
|
+ costParam.setAuditPerson(auditPersonPhone);
|
|
|
+ }
|
|
|
Page<CostManagementVo> costManagementVoPage = baseMapper.pageList(costParam.getPage(), costParam);
|
|
|
// 按承保规则属性 sort 正序,重新排列 cost_rules 各段描述
|
|
|
reorderCostRules(costManagementVoPage.getRecords());
|