修改网格员也可以看推荐的政策

This commit is contained in:
sh
2026-06-04 17:26:48 +08:00
parent 1bcbaa54e0
commit c0816c0a3b
2 changed files with 4 additions and 1 deletions

View File

@@ -128,7 +128,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper,AppUser> imple
Integer pendCount=jobApplyMapper.selectPendCount(apply);
appUser.setPendCount(pendCount == null ? 0 : pendCount);
}
}else if("1".equals(appUser.getIsCompanyUser())){
}else if(StringUtil.COMPANY_TYPES.contains(appUser.getIsCompanyUser())){
//验证身份证完整性
QuickValidUtils.idCardValid(appUser);
//工作经历

View File

@@ -112,6 +112,9 @@ public class StringUtil {
//批量条数
public static final int BATCH_SIZE = 1000;
//求职者、网格员
public static final List<String> COMPANY_TYPES = Arrays.asList("1", "2");
static {
Map<String, String> tempMap = new HashMap<>();
tempMap.put("中专及以上", "1");