添加功能

This commit is contained in:
马宝龙
2026-06-30 18:57:01 +08:00
parent 28b295f4ab
commit 4baeb8262f
6 changed files with 810 additions and 123 deletions

View File

@@ -302,4 +302,45 @@ public class CommonConstant {
Tuple2::getT1,
Tuple2::getT2
)));
/**
* 企业类型列表
*/
public static final List<Tuple2<String, String>> COMPANY_TYPE_LIST =
Collections.unmodifiableList(new ArrayList<>(Arrays.asList(
Tuples.of("1", "国有企业"),
Tuples.of("2", "民营企业"),
Tuples.of("3", "外资企业"),
Tuples.of("4", "合资企业"),
Tuples.of("5", "事业单位")
)));
/**
* 企业类型Map
*/
public static final Map<String, String> COMPANY_TYPE_MAP =
Collections.unmodifiableMap(COMPANY_TYPE_LIST.stream()
.collect(Collectors.toMap(
Tuple2::getT1,
Tuple2::getT2
)));
/**
* 招聘方式列表
*/
public static final List<Tuple2<String, String>> RECRUITMENT_WAY_LIST =
Collections.unmodifiableList(new ArrayList<>(Arrays.asList(
Tuples.of("1", "线上招聘"),
Tuples.of("2", "线下招聘"),
Tuples.of("3", "校园招聘"),
Tuples.of("4", "内部推荐")
)));
/**
* 企业类型Map
*/
public static final Map<String, String> RECRUITMENT_WAY_MAP =
Collections.unmodifiableMap(RECRUITMENT_WAY_LIST.stream()
.collect(Collectors.toMap(
Tuple2::getT1,
Tuple2::getT2
)));
}