Pārlūkot izejas kodu

配置表新增一个字段

wangmiaomiao 11 mēneši atpakaļ
vecāks
revīzija
e4d69665f1

+ 1 - 0
slibra-admin/src/main/java/com/slibra/web/controller/business/WarningController.java

@@ -54,6 +54,7 @@ public class WarningController extends BaseController {
 
     /**
      * 处理报警规则
+     * //todo 如果日报和工业都能获取数据,两者都报
      * @return
      */
     @GetMapping(value = "/handle/rule")

+ 4 - 0
slibra-system/src/main/java/com/slibra/business/domain/TXinyiNormConfig.java

@@ -452,6 +452,10 @@ public class TXinyiNormConfig extends BaseEntity
     @Excel(name = "深度处理除磷隔膜计量泵工作效率")
     private BigDecimal SDCLCLGMSJBGZXL;
 
+    /** 二沉池固体负荷内控值下限值 */
+    @Excel(name = "二沉池固体负荷内控值下限值")
+    private BigDecimal ECCGTFHNKXXZ;
+
     /** 删除标志(0代表存在 2代表删除) */
     private Long delFlag;
 

+ 6 - 1
slibra-system/src/main/resources/mapper/business/TXinyiNormConfigMapper.xml

@@ -112,6 +112,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="SDCLCLGMSJBQDSL"    column="SDCLCLGMSJBQDSL"    />
         <result property="SDCLCLGMSJBSJLL"    column="SDCLCLGMSJBSJLL"    />
         <result property="SDCLCLGMSJBGZXL"    column="SDCLCLGMSJBGZXL"    />
+        <result property="ECCGTFHNKXXZ"    column="ECCGTFHNKXXZ"    />
         <result property="delFlag"    column="del_flag"    />
         <result property="revision"    column="revision"    />
         <result property="createBy"    column="create_by"    />
@@ -122,7 +123,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectTXinyiNormConfigVo">
-        select id, JSZL_SJZ, CSZL_BZZ, CSZL_GKZ, JSCOD_SJZ, CSCOD_BZZ, CSCOD_GKZ, JSZD_SJZ, CSZZ_BZZ, CSZZ_GKZ, JSAD_SJZ, CSAD_BZZ, CSAD_GKZ, JSSS_SJZ, CSSS_BZZ, CSSS_GKZ, YYCXTD, JSS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JZ, FCXBSJLL, FCLBSL, FCXBGZXL, FCXSLBLSJZ_SXZ, FCXSLBLSJZ_XXZ, HXSLCGLMJ, HXSLCSL, SDCLFZGLSD_SJZ, WNZLLXS, WDSCNL, SYWNBQDSL, SYWNBDSJLL, SYWNBGZXL, TYTJGMSJBQDSL, TYTJGMSJBSJLL, TYTJGMSJBGZXL, CLSNGMSJBQDSL, CLSNGMSJBSJLL, CLSNGMSJBGZXL, SHCCLGMJLBQDSL, SHCCLGMJLBSJLL, SHCCLGMJLBGZXL, SDCLCLGMSJBQDSL, SDCLCLGMSJBSJLL, SDCLCLGMSJBGZXL, ECCGTFHNKXXZ, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_xinyi_norm_config
     </sql>
 
     <select id="selectTXinyiNormConfigList" parameterType="TXinyiNormConfig" resultMap="TXinyiNormConfigResult">
@@ -235,6 +236,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="SDCLCLGMSJBQDSL != null "> and SDCLCLGMSJBQDSL = #{SDCLCLGMSJBQDSL}</if>
             <if test="SDCLCLGMSJBSJLL != null "> and SDCLCLGMSJBSJLL = #{SDCLCLGMSJBSJLL}</if>
             <if test="SDCLCLGMSJBGZXL != null "> and SDCLCLGMSJBGZXL = #{SDCLCLGMSJBGZXL}</if>
+            <if test="ECCGTFHNKXXZ != null "> and ECCGTFHNKXXZ = #{ECCGTFHNKXXZ}</if>
             <if test="revision != null "> and revision = #{revision}</if>
         </where>
         and del_flag = 0
@@ -354,6 +356,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="SDCLCLGMSJBQDSL != null">SDCLCLGMSJBQDSL,</if>
             <if test="SDCLCLGMSJBSJLL != null">SDCLCLGMSJBSJLL,</if>
             <if test="SDCLCLGMSJBGZXL != null">SDCLCLGMSJBGZXL,</if>
+            <if test="ECCGTFHNKXXZ != null">ECCGTFHNKXXZ,</if>
             <if test="delFlag != null">del_flag,</if>
             <if test="revision != null">revision,</if>
             <if test="createBy != null">create_by,</if>
@@ -469,6 +472,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="SDCLCLGMSJBQDSL != null">#{SDCLCLGMSJBQDSL},</if>
             <if test="SDCLCLGMSJBSJLL != null">#{SDCLCLGMSJBSJLL},</if>
             <if test="SDCLCLGMSJBGZXL != null">#{SDCLCLGMSJBGZXL},</if>
+            <if test="ECCGTFHNKXXZ != null">#{ECCGTFHNKXXZ},</if>
             <if test="delFlag != null">#{delFlag},</if>
             <if test="revision != null">#{revision},</if>
             <if test="createBy != null">#{createBy},</if>
@@ -588,6 +592,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="SDCLCLGMSJBQDSL != null">SDCLCLGMSJBQDSL = #{SDCLCLGMSJBQDSL},</if>
             <if test="SDCLCLGMSJBSJLL != null">SDCLCLGMSJBSJLL = #{SDCLCLGMSJBSJLL},</if>
             <if test="SDCLCLGMSJBGZXL != null">SDCLCLGMSJBGZXL = #{SDCLCLGMSJBGZXL},</if>
+            <if test="ECCGTFHNKXXZ != null">ECCGTFHNKXXZ = #{ECCGTFHNKXXZ},</if>
             <if test="delFlag != null">del_flag = #{delFlag},</if>
             <if test="revision != null">revision = #{revision},</if>
             <if test="createBy != null">create_by = #{createBy},</if>