浏览代码

添加常量

my-csc-config-file.git 3 年之前
父节点
当前提交
475b705fb5
共有 1 个文件被更改,包括 6 次插入5 次删除
  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 53
     public static final long REDIS_SECONDS = 180;
54 54
 
55 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 65
     public static final LinkedHashMap<String, String> GRADEMAP = new LinkedHashMap<String, String>() {{
65 66
         put("1", "初级");