|
@@ -78,8 +78,77 @@ public class MyConstants {
|
|
|
public static final String WARNING_DEFAULT_QUESTION= "在线仪表数据异常";
|
|
|
public static final String WARNING_DEFAULT_CREATE = "task-job";
|
|
|
public static final String DEFAULT_ID_IDENTIFIER = "@@id@@";
|
|
|
-
|
|
|
-// public static final String ZLSY = "zlsy";//正磷酸盐
|
|
|
+ public static final String TOOLS_WORK_ORDER = "work-order";
|
|
|
+ public static final String TIMEBEGIN = "timeBegin";
|
|
|
+ public static final String TIMEEND = "timeEnd";
|
|
|
+ public static final String MODULE = "module";
|
|
|
+ public static final String TYPE = "type";
|
|
|
+ public static final String DATA = "data";
|
|
|
+ public static final String MODULE_CONTENT = "自定义工单查询";
|
|
|
+ public static final String ONLINE = "online";
|
|
|
+ public static final String REPORT = "report";
|
|
|
+ public static final String ROBOT = "robot";
|
|
|
+ public static final String TOOLS_WORK_ORDER_SQL_INDUSTRY = " SELECT" +
|
|
|
+ "TEST_DATE 化验日期, " +
|
|
|
+ "AVG(JS_SLQ) 进水量," +
|
|
|
+ "AVG(JS_COD) 进水COD," +
|
|
|
+ "AVG(JS_TN) 进水总氮," +
|
|
|
+ "AVG(JS_TP) 进水总磷," +
|
|
|
+ "AVG(JS_NH3) 进水氨氮," +
|
|
|
+ "AVG(JS_SS) 进水SS," +
|
|
|
+ "AVG(CS_SLQC) 出水量," +
|
|
|
+ "AVG(CS_COD) 出水COD," +
|
|
|
+ "AVG(CS_TN) 出水总氮," +
|
|
|
+ "AVG(CS_TP) 出水总磷," +
|
|
|
+ "AVG(CS_NH3) 出水氨氮," +
|
|
|
+ "AVG(CS_SS) 出水SS" +
|
|
|
+ "FROM" +
|
|
|
+ "t_xinyi_industry " +
|
|
|
+ "WHERE" +
|
|
|
+ "TEST_DATE BETWEEN #{0} " +
|
|
|
+ "AND #{1}" +
|
|
|
+ "GROUP BY TEST_DATE";
|
|
|
+
|
|
|
+ public static final String TOOLS_WORK_ORDER_SQL_DAILY = " SELECT" +
|
|
|
+ "TEST_DATE 化验日期, " +
|
|
|
+ "AVG(JSL) 进水量," +
|
|
|
+ "AVG(JS_COD) 进水COD," +
|
|
|
+ "AVG(JS_TN) 进水总氮," +
|
|
|
+ "AVG(JS_TP) 进水总磷," +
|
|
|
+ "AVG(JS_NH3) 进水氨氮," +
|
|
|
+ "AVG(JS_SS) 进水SS," +
|
|
|
+ "AVG(CSL) 出水量," +
|
|
|
+ "AVG(CS_COD) 出水COD," +
|
|
|
+ "AVG(CS_TN) 出水总氮," +
|
|
|
+ "AVG(CS_TP) 出水总磷," +
|
|
|
+ "AVG(CS_NH3) 出水氨氮," +
|
|
|
+ "AVG(CS_SS) 出水SS" +
|
|
|
+ "FROM" +
|
|
|
+ "t_xinyi_daily " +
|
|
|
+ "WHERE" +
|
|
|
+ "TEST_DATE BETWEEN #{0} " +
|
|
|
+ "AND #{1}" +
|
|
|
+ "GROUP BY TEST_DATE";
|
|
|
+
|
|
|
+
|
|
|
+ public static final String TOOLS_WORK_ORDER_SQL_ROBOT = "SELECT" +
|
|
|
+ "TEST_DATE 化验日期, " +
|
|
|
+ "AVG(NO3_HLJ1_JQR) '1#好氧池硝酸盐'," +
|
|
|
+ "AVG(NO3_HLJ2_JQR) '2#好氧池硝酸盐'," +
|
|
|
+ "AVG(NH3_1_JQR) '1#缺氧氨氮'," +
|
|
|
+ "AVG(NH3_2_JQR) '2#缺氧氨氮'," +
|
|
|
+ "AVG(NO3_QYC_1_JQR) '1#缺氧池硝酸盐'," +
|
|
|
+ "AVG(NO3_QYC_2_JQR) '2#缺氧池硝酸盐'," +
|
|
|
+ "AVG(TP_RCC_JQR) '二沉池正磷酸盐'" +
|
|
|
+ "FROM" +
|
|
|
+ "t_xinyi_robot " +
|
|
|
+ "WHERE" +
|
|
|
+ "TEST_DATE BETWEEN #{0} " +
|
|
|
+ "AND #{1} " +
|
|
|
+ "GROUP BY" +
|
|
|
+ "TEST_DATE";
|
|
|
+
|
|
|
+ // public static final String ZLSY = "zlsy";//正磷酸盐
|
|
|
// public static final String XSY1 = "xsy1";//正磷酸盐
|
|
|
// public static final String XSY2 = "xsy2";//正磷酸盐
|
|
|
// public static final String TN = "tn";//总氮
|