DailyAverageJobUtil.java
2.9 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
69
70
71
72
73
74
75
76
77
78
79
80
81
package com.skua.modules.quartz;
import java.util.HashMap;
import java.util.Map;
public class DailyAverageJobUtil {
/**
* <pre>
* 获取水质标准,水质存在冬季和其他季节数值变化,这里以冬季和其他季节维度分组
* </pre>
* @param
* @author Li Yuanyuan,2023/7/6 14:24
* @Description: TODO(这里描述这个方法的需求变更情况)
*/
public static Map<String,Map<String,Map<String,Object>>> getWaterQualityStandard(){
Map<String,Map<String,Map<String,Object>>> standardMap = new HashMap<String,Map<String,Map<String,Object>>>();
/**
* COD出水标准
*/
Map<String,Object> cscodMap = new HashMap<String,Object>();
cscodMap.put("name","出水COD");
cscodMap.put("code","CSCOD");
cscodMap.put("value","30");
cscodMap.put("unit","mg/L");
/**
* SS出水标准
*/
Map<String,Object> csssMap = new HashMap<String,Object>();
csssMap.put("name","出水SS");
csssMap.put("code","CSSS");
csssMap.put("value","10");
csssMap.put("unit","mg/L");
/**
* 总磷出水标准
*/
Map<String,Object> cstpMap = new HashMap<String,Object>();
cstpMap.put("name","出水总磷");
cstpMap.put("code","CSTP");
cstpMap.put("value","0.3");
cstpMap.put("unit","mg/L");
Map<String,Map<String,Object>> winterMap = new HashMap<>();
winterMap.put("CSCOD", cscodMap);
winterMap.put("CSSS", csssMap);
winterMap.put("CSTP", cstpMap);
Map<String,Object> cstnMap = new HashMap<String,Object>();
cstnMap.put("name","出水总氮");
cstnMap.put("code","CSTN");
cstnMap.put("value","12");
cstnMap.put("unit","mg/L");
winterMap.put("CSTN",cstnMap);
Map<String,Object> csnh3nMap = new HashMap<String,Object>();
csnh3nMap.put("name","出水氨氮");
csnh3nMap.put("code","CSNH3N");
csnh3nMap.put("value","3");
csnh3nMap.put("unit","mg/L");
winterMap.put("CSNH3N",csnh3nMap);
Map<String,Map<String,Object>> otherMap = new HashMap<>();
otherMap.put("CSCOD", cscodMap);
otherMap.put("CSSS", csssMap);
otherMap.put("CSTP", cstpMap);
cstnMap = new HashMap<String,Object>();
cstnMap.put("name","出水总氮");
cstnMap.put("code","CSTN");
cstnMap.put("value","10");
cstnMap.put("unit","mg/L");
otherMap.put("CSTN",cstnMap);
csnh3nMap = new HashMap<String,Object>();
csnh3nMap.put("name","出水氨氮");
csnh3nMap.put("code","CSNH3N");
csnh3nMap.put("value","1.5");
csnh3nMap.put("unit","mg/L");
otherMap.put("CSNH3N",csnh3nMap);
standardMap.put("winter",winterMap);
standardMap.put("other",otherMap);
return standardMap;
}
}