Преглед изворни кода

通风管理添加通风作业人员字段

fanxiongwei пре 3 година
родитељ
комит
3640142cde

+ 20 - 5
src/main/java/com/chinaitop/depot/storage/mapper/TVentilationOperationMapper.xml

@@ -100,6 +100,7 @@
100 100
     <result column="fdxs" jdbcType="VARCHAR" property="fdxs" />
101 101
     <result column="zfdzcd" jdbcType="DECIMAL" property="zfdzcd" />
102 102
     <result column="zfdjmj_zhi" jdbcType="DECIMAL" property="zfdjmjZhi" />
103
+    <result column="tfzyry" jdbcType="VARCHAR" property="tfzyry" />
103 104
   </resultMap>
104 105
   <sql id="Example_Where_Clause" >
105 106
     <!--
@@ -183,7 +184,7 @@
183 184
     four_pjqs, four_zysc, tfqpjlw, tfhpjlw, jwfd, dljwnh, sslssl, tfqpjsf, tfhpjsf, jsfd, 
184 185
     dljsnh, bsxgpjjg, jyxzx, jyxsc, jyxzc, jyxxc, tfqcnw, tfqcns, tfqcww, tfqcws, tfqzglw, 
185 186
     tfqzdlw, tfhcnw, tfhcns, tfhcww, tfhcws, tfhzglw, tfhzdlw, tfqyq, tfqeyht, tfqlhq, 
186
-    tfhyq, tfheyht, tfhlhq, bz, org_id, fdxs, zfdzcd, zfdjmj_zhi
187
+    tfhyq, tfheyht, tfhlhq, bz, org_id, fdxs, zfdzcd, zfdjmj_zhi, tfzyry
187 188
   </sql>
188 189
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.TVentilationOperationExample" >
189 190
     <!--
@@ -269,7 +270,7 @@
269 270
       tfhzglw, tfhzdlw, tfqyq, 
270 271
       tfqeyht, tfqlhq, tfhyq, 
271 272
       tfheyht, tfhlhq, bz, 
272
-      org_id, fdxs, zfdzcd, zfdjmj_zhi)
273
+      org_id, fdxs, zfdzcd, zfdjmj_zhi, tfzyry)
273 274
     values (#{id,jdbcType=VARCHAR}, #{cfbh,jdbcType=VARCHAR}, #{cfmc,jdbcType=VARCHAR}, 
274 275
       #{cflx,jdbcType=VARCHAR}, #{cncd,jdbcType=VARCHAR}, #{cnkd,jdbcType=VARCHAR}, #{zjnj,jdbcType=VARCHAR}, 
275 276
       #{sjclxgd,jdbcType=VARCHAR}, #{pz,jdbcType=INTEGER}, #{sl,jdbcType=VARCHAR}, #{kxd,jdbcType=VARCHAR}, 
@@ -299,7 +300,7 @@
299 300
       #{tfqeyht,jdbcType=VARCHAR}, #{tfqlhq,jdbcType=VARCHAR}, #{tfhyq,jdbcType=VARCHAR}, 
300 301
       #{tfheyht,jdbcType=VARCHAR}, #{tfhlhq,jdbcType=VARCHAR}, #{bz,jdbcType=VARCHAR}, 
301 302
       #{orgId,jdbcType=INTEGER}, #{fdxs,jdbcType=VARCHAR}, #{zfdzcd,jdbcType=DECIMAL},
302
-    #{zfdjmjZhi,jdbcType=DECIMAL})
303
+    #{zfdjmjZhi,jdbcType=DECIMAL},#{tfzyry,jdbcType=VARCHAR})
303 304
   </insert>
304 305
   <insert id="insertSelective" parameterType="com.chinaitop.depot.storage.model.TVentilationOperation" >
305 306
     <!--
@@ -588,6 +589,9 @@
588 589
       <if test="zfdjmjZhi != null">
589 590
         zfdjmj_zhi,
590 591
       </if>
592
+      <if test="tfzyry != null">
593
+        tfzyry,
594
+      </if>
591 595
     </trim>
592 596
     <trim prefix="values (" suffix=")" suffixOverrides="," >
593 597
       <if test="id != null" >
@@ -869,6 +873,9 @@
869 873
       <if test="zfdjmjZhi != null">
870 874
         #{zfdjmjZhi,jdbcType=DECIMAL},
871 875
       </if>
876
+      <if test="tfzyry != null">
877
+        #{tfzyry,jdbcType=VARCHAR},
878
+      </if>
872 879
     </trim>
873 880
   </insert>
874 881
   <select id="countByExample" parameterType="com.chinaitop.depot.storage.model.TVentilationOperationExample" resultType="java.lang.Integer" >
@@ -1169,6 +1176,9 @@
1169 1176
       <if test="record.zfdjmjZhi != null">
1170 1177
         zfdjmj_zhi = #{record.zfdjmjZhi,jdbcType=DECIMAL},
1171 1178
       </if>
1179
+      <if test="record.tfzyry != null">
1180
+        tfzyry = #{record.tfzyry,jdbcType=VARCHAR},
1181
+      </if>
1172 1182
     </set>
1173 1183
     <if test="_parameter != null" >
1174 1184
       <include refid="Update_By_Example_Where_Clause" />
@@ -1273,7 +1283,8 @@
1273 1283
       org_id = #{record.orgId,jdbcType=INTEGER},
1274 1284
       fdxs = #{record.fdxs,jdbcType=VARCHAR},
1275 1285
       zfdzcd = #{record.zfdzcd,jdbcType=DECIMAL},
1276
-      zfdjmj_zhi = #{record.zfdjmjZhi,jdbcType=DECIMAL}
1286
+      zfdjmj_zhi = #{record.zfdjmjZhi,jdbcType=DECIMAL},
1287
+      tfzyry = #{record.tfzyry,jdbcType=VARCHAR}
1277 1288
     <if test="_parameter != null" >
1278 1289
       <include refid="Update_By_Example_Where_Clause" />
1279 1290
     </if>
@@ -1562,6 +1573,9 @@
1562 1573
       <if test="zfdjmjZhi != null">
1563 1574
         zfdjmj_zhi = #{zfdjmjZhi,jdbcType=DECIMAL},
1564 1575
       </if>
1576
+      <if test="tfzyry != null">
1577
+        tfzyry = #{tfzyry,jdbcType=VARCHAR},
1578
+      </if>
1565 1579
     </set>
1566 1580
     where id = #{id,jdbcType=VARCHAR}
1567 1581
   </update>
@@ -1663,7 +1677,8 @@
1663 1677
       org_id = #{orgId,jdbcType=INTEGER},
1664 1678
       fdxs = #{fdxs,jdbcType=VARCHAR},
1665 1679
       zfdzcd = #{zfdzcd,jdbcType=DECIMAL},
1666
-      zfdjmj_zhi = #{zfdjmjZhi,jdbcType=DECIMAL}
1680
+      zfdjmj_zhi = #{zfdjmjZhi,jdbcType=DECIMAL},
1681
+      tfzyry = #{tfzyry,jdbcType=VARCHAR}
1667 1682
     where id = #{id,jdbcType=VARCHAR}
1668 1683
   </update>
1669 1684
 </mapper>

+ 10 - 0
src/main/java/com/chinaitop/depot/storage/model/TVentilationOperation.java

@@ -747,6 +747,8 @@ public class TVentilationOperation {
747 747
 
748 748
     private BigDecimal zfdjmjZhi;
749 749
 
750
+    private String tfzyry;
751
+
750 752
     /**
751 753
      * This method was generated by MyBatis Generator.
752 754
      * This method returns the value of the database column t_ventilation_operation.id
@@ -2954,4 +2956,12 @@ public class TVentilationOperation {
2954 2956
     public void setZfdjmjZhi(BigDecimal zfdjmjZhi) {
2955 2957
         this.zfdjmjZhi = zfdjmjZhi;
2956 2958
     }
2959
+
2960
+    public String getTfzyry() {
2961
+        return tfzyry;
2962
+    }
2963
+
2964
+    public void setTfzyry(String tfzyry) {
2965
+        this.tfzyry = tfzyry;
2966
+    }
2957 2967
 }