VersionUtil.java
2.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package cn.bxe.updatevideo.util;
import cn.bxe.updatevideo.model.TbxXrBook;
import java.util.ArrayList;
import java.util.HashMap;
public class VersionUtil {
public static HashMap<String,String> SUBJECT_MAP = new HashMap<>();
public static HashMap<String,String> GRADE_MAP = new HashMap<>();
public static HashMap<String,String> VERSION_MAP = new HashMap<>();
public static HashMap<String,Integer> SCHOOL_YEAR_MAP = new HashMap<>();
static{
//科目
SUBJECT_MAP.put("GEOGRAPHY","dili");
SUBJECT_MAP.put("CHEMISTRY","huaxue");
SUBJECT_MAP.put("PHYSICS","wuli");
SUBJECT_MAP.put("BIOLOGY","shengwu");
SUBJECT_MAP.put("HISTORY","lishi");
SUBJECT_MAP.put("MORALITY","daode");
SUBJECT_MAP.put("MATHEMATICS","shuxue");
SUBJECT_MAP.put("CHINESE","yuwen");
SUBJECT_MAP.put("ENGLISH","yingyu");
//年级
GRADE_MAP.put("FIRST_GRADE","1");
GRADE_MAP.put("SECOND_GRADE","2");
GRADE_MAP.put("THIRD_GRADE","3");
GRADE_MAP.put("FOURTH_GRADE","4");
GRADE_MAP.put("FIFTH_GRADE","5");
GRADE_MAP.put("SIXTH_GRADE","6");
GRADE_MAP.put("GRADE_ONE","7");
GRADE_MAP.put("GRADE_TWO","8");
GRADE_MAP.put("GRADE_THREE","9");
GRADE_MAP.put("SENIOR_ONE","10");
//书籍版本
VERSION_MAP.put("CHINA","zhongtu");
VERSION_MAP.put("LUKE","luke");
VERSION_MAP.put("BEISHIDA","beishida");
VERSION_MAP.put("PEP","renjiao");
VERSION_MAP.put("YUEJIAOHUKE","yuejiaohuke");
VERSION_MAP.put("YUE_RENMIN","yuerenmin");
VERSION_MAP.put("XIANG_JIAO","xiangjiao");
VERSION_MAP.put("YUEJIAOKEXUE","yuejiaokexue");
VERSION_MAP.put("JIANGSU_EDUCATION_PRESS","sujiaoban");
VERSION_MAP.put("YUE_JIAO","yuejiao");
VERSION_MAP.put("JIJIAO_EDITION","jijiao");
VERSION_MAP.put("XINAN_SHIDA","xishida");
VERSION_MAP.put("BUBIAN","bubian");
VERSION_MAP.put("HUJIAOBAN","hujiao");
VERSION_MAP.put("RENJIAO_PEP","renjiaopep");
VERSION_MAP.put("RENJIAO_XINQIDIAN","renjiaoxinqidian");
VERSION_MAP.put("WAI_YAN","waiyan");
VERSION_MAP.put("XIANG_SHAO","xiangshao");
VERSION_MAP.put("RENJIAOJINGTONG","renjiaojingtong");
VERSION_MAP.put("WAI_YAN_TOGETHER","waiyanyiqi");
VERSION_MAP.put("POPULARIZE_SCIENCE","kepu");
VERSION_MAP.put("PEP_A","pep_a");
VERSION_MAP.put("PEP_B","pep_b");
//学年
SCHOOL_YEAR_MAP.put("ALL_BOOKS",5);
SCHOOL_YEAR_MAP.put("LAST_SEMESTER",1);
SCHOOL_YEAR_MAP.put("NEXT_SEMESTER",2);
}
}