Browse Source

添加常量

my-csc-config-file.git 3 years ago
parent
commit
475b705fb5
1 changed files with 6 additions and 5 deletions
  1. 6 5
      src/main/java/com/unissoft/MyConstant.java

+ 6 - 5
src/main/java/com/unissoft/MyConstant.java

@@ -53,13 +53,14 @@ public class MyConstant {
53
     public static final long REDIS_SECONDS = 180;
53
     public static final long REDIS_SECONDS = 180;
54
 
54
 
55
     //redis存入日志key
55
     //redis存入日志key
56
-    public static String REDIS_LOGS = "logs";
56
+    public static final String REDIS_LOGS = "logs";
57
 
57
 
58
     //库外管理下
58
     //库外管理下
59
-    public static String M_INSECT = "虫害异常、";
60
-    public static String WATER_CONTENT = "水分检测异常、";
61
-    public static String GRAIN_CONDITION = "粮情异常、";
62
-    public static String M_CHECK_TYPE = "保管员每周检查粮情";
59
+    public static final String M_INSECT = "虫害异常、";
60
+    public static final String WATER_CONTENT = "水分检测异常、";
61
+    public static final String GRAIN_CONDITION = "粮情异常、";
62
+    public static final String M_CHECK_TYPE = "保管员每周检查粮情";
63
+    public static final String SAFETY_INSPECTION = "每天安全巡查";
63
 
64
 
64
     public static final LinkedHashMap<String, String> GRADEMAP = new LinkedHashMap<String, String>() {{
65
     public static final LinkedHashMap<String, String> GRADEMAP = new LinkedHashMap<String, String>() {{
65
         put("1", "初级");
66
         put("1", "初级");