Browse Source

碳源投加业务字 新增字段

王苗苗 3 weeks ago
parent
commit
5c28d8144f

+ 25 - 1
slibra-system/src/main/java/com/slibra/business/domain/TXinyiMedicineAddRecord.java

@@ -39,6 +39,14 @@ public class TXinyiMedicineAddRecord extends BaseEntity
     @Excel(name = "真实碳源投加值")
     private BigDecimal realVal;
 
+    /** 质控值下限 */
+    @Excel(name = "质控值下限")
+    private BigDecimal zkzDown;
+
+    /** 质控值下限 */
+    @Excel(name = "质控值下限")
+    private BigDecimal zkzUp;
+
     /** 删除标志(0代表存在 2代表删除) */
     private Long delFlag;
 
@@ -46,7 +54,23 @@ public class TXinyiMedicineAddRecord extends BaseEntity
     @Excel(name = "乐观锁")
     private Long revision;
 
-    public void setId(Long id) 
+    public BigDecimal getZkzDown() {
+        return zkzDown;
+    }
+
+    public void setZkzDown(BigDecimal zkzDown) {
+        this.zkzDown = zkzDown;
+    }
+
+    public BigDecimal getZkzUp() {
+        return zkzUp;
+    }
+
+    public void setZkzUp(BigDecimal zkzUp) {
+        this.zkzUp = zkzUp;
+    }
+
+    public void setId(Long id)
     {
         this.id = id;
     }

+ 8 - 0
slibra-system/src/main/java/com/slibra/business/domain/TXinyiTytjParams.java

@@ -113,6 +113,14 @@ public class TXinyiTytjParams extends BaseEntity
     @Excel(name = "最小启动流量-冗余")
     private BigDecimal zxqdll;
 
+    /** 硝酸盐目标值-减 */
+    @Excel(name = "硝酸盐目标值-减")
+    private BigDecimal xsySub;
+
+    /** 硝酸盐目标值-加 */
+    @Excel(name = "硝酸盐目标值-加")
+    private BigDecimal xsyAdd;
+
     /** 删除标志(0代表存在 2代表删除) */
     private Long delFlag;
 

+ 11 - 1
slibra-system/src/main/resources/mapper/business/TXinyiMedicineAddRecordMapper.xml

@@ -11,6 +11,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="addPool"    column="add_pool"    />
         <result property="calculateVal"    column="calculate_val"    />
         <result property="realVal"    column="real_val"    />
+        <result property="zkzDown"    column="zkz_down"    />
+        <result property="zkzUp"    column="zkz_up"    />
         <result property="delFlag"    column="del_flag"    />
         <result property="revision"    column="revision"    />
         <result property="createBy"    column="create_by"    />
@@ -21,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectTXinyiMedicineAddRecordVo">
-        select id, add_hour, choose_pool, add_pool, calculate_val, real_val, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_xinyi_medicine_add_record
+        select id, add_hour, choose_pool, add_pool, calculate_val, real_val, zkz_down, zkz_up, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_xinyi_medicine_add_record
     </sql>
 
     <select id="selectTXinyiMedicineAddRecordList" parameterType="TXinyiMedicineAddRecord" resultMap="TXinyiMedicineAddRecordResult">
@@ -33,6 +35,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="addPool != null "> and add_pool = #{addPool}</if>
             <if test="calculateVal != null "> and calculate_val = #{calculateVal}</if>
             <if test="realVal != null "> and real_val = #{realVal}</if>
+            <if test="zkzDown != null "> and zkz_down = #{zkzDown}</if>
+            <if test="zkzUp != null "> and zkz_up = #{zkzUp}</if>
             <if test="revision != null "> and revision = #{revision}</if>
         </where>
         and del_flag = 0 order by id desc
@@ -51,6 +55,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="addPool != null">add_pool,</if>
             <if test="calculateVal != null">calculate_val,</if>
             <if test="realVal != null">real_val,</if>
+            <if test="zkzDown != null">zkz_down,</if>
+            <if test="zkzUp != null">zkz_up,</if>
             <if test="delFlag != null">del_flag,</if>
             <if test="revision != null">revision,</if>
             <if test="createBy != null">create_by,</if>
@@ -65,6 +71,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="addPool != null">#{addPool},</if>
             <if test="calculateVal != null">#{calculateVal},</if>
             <if test="realVal != null">#{realVal},</if>
+            <if test="zkzDown != null">#{zkzDown},</if>
+            <if test="zkzUp != null">#{zkzUp},</if>
             <if test="delFlag != null">#{delFlag},</if>
             <if test="revision != null">#{revision},</if>
             <if test="createBy != null">#{createBy},</if>
@@ -83,6 +91,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="addPool != null">add_pool = #{addPool},</if>
             <if test="calculateVal != null">calculate_val = #{calculateVal},</if>
             <if test="realVal != null">real_val = #{realVal},</if>
+            <if test="zkzDown != null">zkz_down = #{zkzDown},</if>
+            <if test="zkzUp != null">zkz_up = #{zkzUp},</if>
             <if test="delFlag != null">del_flag = #{delFlag},</if>
             <if test="revision != null">revision = #{revision},</if>
             <if test="createBy != null">create_by = #{createBy},</if>

+ 11 - 1
slibra-system/src/main/resources/mapper/business/TXinyiTytjParamsMapper.xml

@@ -27,6 +27,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="yymd"    column="yymd"    />
         <result property="tdb"    column="tdb"    />
         <result property="zxqdll"    column="zxqdll"    />
+        <result property="xsySub"    column="xsy_sub"    />
+        <result property="xsyAdd"    column="xsy_add"    />
         <result property="delFlag"    column="del_flag"    />
         <result property="revision"    column="revision"    />
         <result property="createBy"    column="create_by"    />
@@ -37,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectTXinyiTytjParamsVo">
-        select id, kzmbplbjz, hycxsygkz, xhycbjz, jylpybjz, time_val, min_jsll, max_jsll, min_js_cod, max_js_cod, min_add_amount, max_add_amount, stop_add_flag, jzxs, xzxs, slfpxs, tydl, zhxs, sxps, yymd, tdb, zxqdll, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_xinyi_tytj_params
+        select id, kzmbplbjz, hycxsygkz, xhycbjz, jylpybjz, time_val, min_jsll, max_jsll, min_js_cod, max_js_cod, min_add_amount, max_add_amount, stop_add_flag, jzxs, xzxs, slfpxs, tydl, zhxs, sxps, yymd, tdb, zxqdll, xsy_sub, xsy_add, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_xinyi_tytj_params
     </sql>
 
     <select id="selectTXinyiTytjParamsList" parameterType="TXinyiTytjParams" resultMap="TXinyiTytjParamsResult">
@@ -65,6 +67,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="yymd != null "> and yymd = #{yymd}</if>
             <if test="tdb != null "> and tdb = #{tdb}</if>
             <if test="zxqdll != null "> and zxqdll = #{zxqdll}</if>
+            <if test="xsySub != null "> and xsy_sub = #{xsySub}</if>
+            <if test="xsyAdd != null "> and xsy_add = #{xsyAdd}</if>
             <if test="revision != null "> and revision = #{revision}</if>
         </where>
         and del_flag = 0 order by id desc
@@ -99,6 +103,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="yymd != null">yymd,</if>
             <if test="tdb != null">tdb,</if>
             <if test="zxqdll != null">zxqdll,</if>
+            <if test="xsySub != null">xsy_sub,</if>
+            <if test="xsyAdd != null">xsy_add,</if>
             <if test="delFlag != null">del_flag,</if>
             <if test="revision != null">revision,</if>
             <if test="createBy != null">create_by,</if>
@@ -129,6 +135,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="yymd != null">#{yymd},</if>
             <if test="tdb != null">#{tdb},</if>
             <if test="zxqdll != null">#{zxqdll},</if>
+            <if test="xsySub != null">#{xsySub},</if>
+            <if test="xsyAdd != null">#{xsyAdd},</if>
             <if test="delFlag != null">#{delFlag},</if>
             <if test="revision != null">#{revision},</if>
             <if test="createBy != null">#{createBy},</if>
@@ -163,6 +171,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="yymd != null">yymd = #{yymd},</if>
             <if test="tdb != null">tdb = #{tdb},</if>
             <if test="zxqdll != null">zxqdll = #{zxqdll},</if>
+            <if test="xsySub != null">xsy_sub = #{xsySub},</if>
+            <if test="xsyAdd != null">xsy_add = #{xsyAdd},</if>
             <if test="delFlag != null">del_flag = #{delFlag},</if>
             <if test="revision != null">revision = #{revision},</if>
             <if test="createBy != null">create_by = #{createBy},</if>