1.职位发布与管理-添加表(job_contact)补充对应后端代码

2.企业联系人管理-添加表(company_contact)补充对应后台代码
3.岗位管理-添加信用代码、薪酬查询条件
4.用户管理-添加身份证显示(脱敏)、是否录用
5.岗位管理-添加字段岗位类型(疆内、疆外)
This commit is contained in:
sh
2025-09-30 18:32:20 +08:00
parent f8a2ab99e3
commit 39a5c380dd
21 changed files with 487 additions and 10 deletions

View File

@@ -58,4 +58,16 @@ public class StringUtil {
.map(String::trim) // 去除每个部分的前后空格
.collect(Collectors.toList()); // 收集为List
}
/**
* 脱敏逻辑前4位 + ***+ 后4位
* @param idCard
* @return
*/
public static String desensitizeIdCard(String idCard) {
if (idCard == null || idCard.length() != 18) {
return idCard; // 非标准身份证号不脱敏(或按规则处理)
}
return idCard.substring(0, 4) + "***" + idCard.substring(14);
}
}