添加功能
This commit is contained in:
@@ -82,6 +82,15 @@ public class CommonConstant {
|
||||
Tuples.of("S", "公共管理、社会保障和社会组织"),
|
||||
Tuples.of("T", "国际组织")
|
||||
)));
|
||||
/**
|
||||
* 行业Map
|
||||
*/
|
||||
public static final Map<String, String> INDUSTRY_MAP =
|
||||
Collections.unmodifiableMap(INDUSTRY_LIST.stream()
|
||||
.collect(Collectors.toMap(
|
||||
Tuple2::getT1,
|
||||
Tuple2::getT2
|
||||
)));
|
||||
|
||||
/**
|
||||
* 重点行业列表
|
||||
@@ -115,8 +124,8 @@ public class CommonConstant {
|
||||
/**
|
||||
* 重点行业Map
|
||||
*/
|
||||
public static final Map<String, String> INDUSTRY_MAP =
|
||||
Collections.unmodifiableMap(INDUSTRY_LIST.stream()
|
||||
public static final Map<String, String> MAJOR_INDUSTRY_MAP =
|
||||
Collections.unmodifiableMap(MAJOR_INDUSTRY_LIST.stream()
|
||||
.collect(Collectors.toMap(
|
||||
Tuple2::getT1,
|
||||
Tuple2::getT2
|
||||
@@ -271,4 +280,26 @@ public class CommonConstant {
|
||||
Tuple2::getT1,
|
||||
Tuple2::getT2
|
||||
)));
|
||||
|
||||
|
||||
/**
|
||||
* 岗位类型列表
|
||||
*/
|
||||
public static final List<Tuple2<String, String>> JOB_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> JOB_TYPE_MAP =
|
||||
Collections.unmodifiableMap(JOB_TYPE_LIST.stream()
|
||||
.collect(Collectors.toMap(
|
||||
Tuple2::getT1,
|
||||
Tuple2::getT2
|
||||
)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user