添加功能

This commit is contained in:
马宝龙
2026-07-13 21:59:01 +08:00
parent b18da2a666
commit 9bc8359475
22 changed files with 779 additions and 266 deletions

View File

@@ -131,24 +131,24 @@ public class CommonConstant {
Tuple2::getT2
)));
/**
* 重点产业列表
* 产业列表
*/
public static final List<Tuple2<String, String>> MAJOR_SECTOR_LIST =
public static final List<Tuple2<String, String>> SECTOR_LIST =
Collections.unmodifiableList(new ArrayList<>(Arrays.asList(
Tuples.of("新材料产业 (碳基、硅基、铝基)", "新材料产业 (碳基、硅基、铝基)"),
Tuples.of("新能源产业", "新能源产业"),
Tuples.of("农业资源转化产业 (农产品精深加工)", "农业资源转化产业 (农产品精深加工)"),
Tuples.of("现代服务业", "现代服务业"),
Tuples.of("绿色算力产业", "绿色算力产业"),
Tuples.of("纺织服装产业", "纺织服装产业"),
Tuples.of("先进装备制造", "先进装备制造"),
Tuples.of("生物医药", "生物医药")
Tuples.of("1", "新材料产业 (碳基、硅基、铝基)"),
Tuples.of("2", "新能源产业"),
Tuples.of("3", "农业资源转化产业 (农产品精深加工)"),
Tuples.of("4", "现代服务业"),
Tuples.of("5", "绿色算力产业"),
Tuples.of("6", "纺织服装产业"),
Tuples.of("7", "先进装备制造"),
Tuples.of("8", "生物医药")
)));
/**
* 重点产业Map
* 产业Map
*/
public static final Map<String, String> MAJOR_SECTOR_MAP =
Collections.unmodifiableMap(MAJOR_SECTOR_LIST.stream()
public static final Map<String, String> SECTOR_MAP =
Collections.unmodifiableMap(SECTOR_LIST.stream()
.collect(Collectors.toMap(
Tuple2::getT1,
Tuple2::getT2
@@ -174,32 +174,11 @@ public class CommonConstant {
Tuple2::getT2
)));
/**
* 产业列表
*/
public static final List<Tuple2<String, String>> SECTOR_LIST =
Collections.unmodifiableList(new ArrayList<>(Arrays.asList(
Tuples.of("1", "新材料"),
Tuples.of("2", "新能源"),
Tuples.of("3", "现代服务业"),
Tuples.of("4", "先进服务"),
Tuples.of("5", "数字经济"),
Tuples.of("6", "农业")
)));
/**
* 产业Map
*/
public static final Map<String, String> SECTOR_MAP =
Collections.unmodifiableMap(SECTOR_LIST.stream()
.collect(Collectors.toMap(
Tuple2::getT1,
Tuple2::getT2
)));
/**
* 重点群体列表
*/
public static final List<Tuple2<String, String>> KEY_GROUP_LIST =
public static final List<Tuple2<String, String>> GROUP_TYPE_LIST =
Collections.unmodifiableList(new ArrayList<>(Arrays.asList(
Tuples.of("1", "失业人员"),
Tuples.of("2", "高校毕业生"),
@@ -208,6 +187,15 @@ public class CommonConstant {
Tuples.of("5", "零就业家庭"),
Tuples.of("6", "其他重点人群")
)));
/**
* 重点群体Map
*/
public static final Map<String, String> GROUP_TYPE_MAP =
Collections.unmodifiableMap(GROUP_TYPE_LIST.stream()
.collect(Collectors.toMap(
Tuple2::getT1,
Tuple2::getT2
)));
/**