|
@@ -40,16 +40,96 @@ public class DictionaryTask extends BaseTask {
|
40
|
40
|
private FieldMapper loadXiangYangCache() {
|
41
|
41
|
log.info(" *** 加载襄阳字典缓存 *** ");
|
42
|
42
|
FieldMapper mapper = new FieldMapper();
|
43
|
|
- Map<Long, Long> dicIdCache = new HashMap<>();
|
44
|
|
- mapper.setIdCache(dicIdCache);
|
|
43
|
+ Map<Long, Long> idCache = new HashMap<>();
|
|
44
|
+ mapper.setIdCache(idCache);
|
45
|
45
|
//知识库
|
46
|
|
- dicIdCache.put(71L, 20404L); //待审核
|
47
|
|
- dicIdCache.put(72L, 20405L); //已发布
|
48
|
|
- dicIdCache.put(73L, 20406L); //待整改
|
49
|
|
- dicIdCache.put(74L, 20407L); //已停用
|
|
46
|
+ idCache.put(71L, 20404L); //待审核
|
|
47
|
+ idCache.put(72L, 20405L); //已发布
|
|
48
|
+ idCache.put(73L, 20406L); //待整改
|
|
49
|
+ idCache.put(74L, 20407L); //已停用
|
50
|
50
|
//耗材消耗
|
51
|
|
- dicIdCache.put(1735L, 20557L);//消耗
|
52
|
|
- dicIdCache.put(1736L, 20558L);//撤销
|
|
51
|
+ idCache.put(1735L, 20557L);//消耗
|
|
52
|
+ idCache.put(1736L, 20558L);//撤销
|
|
53
|
+ //公司分类
|
|
54
|
+ idCache.put(1709L,20240L);
|
|
55
|
+ idCache.put(1710L,20241L);
|
|
56
|
+ //性别
|
|
57
|
+ idCache.put(1609L,279L);
|
|
58
|
+ idCache.put(1610L,280L);
|
|
59
|
+
|
|
60
|
+ //事件-关闭代码
|
|
61
|
+ idCache.put(1572L,20501L);
|
|
62
|
+ idCache.put(1573L,20502L);
|
|
63
|
+ idCache.put(1575L,20503L);
|
|
64
|
+ idCache.put(1574L,20504L);
|
|
65
|
+ idCache.put(1576L,20504L);
|
|
66
|
+ idCache.put(1577L,20504L);
|
|
67
|
+
|
|
68
|
+ //事件-满意度
|
|
69
|
+ idCache.put(1578L,20496L);
|
|
70
|
+ idCache.put(1579L,20497L);
|
|
71
|
+ idCache.put(1580L,20498L);
|
|
72
|
+ idCache.put(1581L,20499L);
|
|
73
|
+ idCache.put(1582L,20500L);
|
|
74
|
+
|
|
75
|
+ //事件-优先级
|
|
76
|
+ idCache.put(1560L,5L);
|
|
77
|
+ idCache.put(1561L,4L);
|
|
78
|
+ idCache.put(1562L,3L);
|
|
79
|
+ idCache.put(1563L,2L);
|
|
80
|
+ idCache.put(1704L,1L);
|
|
81
|
+
|
|
82
|
+ //事件-incident_source
|
|
83
|
+ idCache.put(1547L,20484L);
|
|
84
|
+ idCache.put(1548L,20485L);
|
|
85
|
+ idCache.put(1549L,20486L);
|
|
86
|
+ idCache.put(1550L,20488L);
|
|
87
|
+ idCache.put(1551L,20487L);
|
|
88
|
+ idCache.put(1552L,20488L);
|
|
89
|
+ idCache.put(1700L,20488L);
|
|
90
|
+ idCache.put(1747L,20488L);
|
|
91
|
+
|
|
92
|
+ //事件-incident_status
|
|
93
|
+ idCache.put(1479L,20505L);
|
|
94
|
+ idCache.put(1543L,20506L);
|
|
95
|
+ idCache.put(1544L,20507L);
|
|
96
|
+ idCache.put(1545L,20508L);
|
|
97
|
+ idCache.put(1546L,20508L);
|
|
98
|
+ idCache.put(1674L,20509L);
|
|
99
|
+ idCache.put(1748L,20510L);
|
|
100
|
+ idCache.put(1749L,20511L);
|
|
101
|
+ idCache.put(1750L,20512L);
|
|
102
|
+
|
|
103
|
+ //事件-incident_handleresult
|
|
104
|
+ idCache.put(1568L,20483L);
|
|
105
|
+ idCache.put(1569L,20483L);
|
|
106
|
+ idCache.put(1570L,20483L);
|
|
107
|
+ idCache.put(1571L,20483L);
|
|
108
|
+
|
|
109
|
+ //事件-wxincident_degree
|
|
110
|
+ idCache.put(1598L,20496L);
|
|
111
|
+ idCache.put(1599L,20497L);
|
|
112
|
+ idCache.put(1600L,20498L);
|
|
113
|
+ idCache.put(1601L,20499L);
|
|
114
|
+ idCache.put(1602L,20500L);
|
|
115
|
+
|
|
116
|
+ //事件日志-incident_log_type
|
|
117
|
+ idCache.put(1736L,20517L);
|
|
118
|
+ idCache.put(1737L,20518L);
|
|
119
|
+ idCache.put(1738L,20519L);
|
|
120
|
+ idCache.put(1739L,20520L);
|
|
121
|
+ idCache.put(1740L,20521L);
|
|
122
|
+ idCache.put(1741L,20522L);
|
|
123
|
+ idCache.put(1742L,20523L);
|
|
124
|
+ idCache.put(1743L,20524L);
|
|
125
|
+ idCache.put(1744L,20525L);
|
|
126
|
+ idCache.put(1745L,20526L);
|
|
127
|
+ idCache.put(1751L,20527L);
|
|
128
|
+ idCache.put(1752L,20528L);
|
|
129
|
+ idCache.put(1753L,20529L);
|
|
130
|
+ idCache.put(1754L,20530L);
|
|
131
|
+ idCache.put(1755L,20531L);
|
|
132
|
+ idCache.put(1766L,20532L);
|
53
|
133
|
|
54
|
134
|
return mapper;
|
55
|
135
|
}
|