瀏覽代碼

增加熏蒸方式字段

renyu 3 年之前
父節點
當前提交
1440ee909f

+ 2 - 0
src/main/java/com/chinaitop/depot/fumigation/controller/FumigationForRecordController.java

@@ -536,6 +536,7 @@ public class FumigationForRecordController {
536 536
             String lyxz = (String)detail.get("lsxz");
537 537
             String cgxzfs = (String)detail.get("convFumigation");
538 538
             String hlxzfs = (String)detail.get("recFumigation");
539
+            Integer xzfs = (Integer)recordInfo.get("xzfs");
539 540
             String hlxzynhljsjh = (String)detail.get("recIcCombine");
540 541
             String yjmc = (String)detail.get("drugCode");
541 542
             String jx = (String)detail.get("drugType");
@@ -572,6 +573,7 @@ public class FumigationForRecordController {
572 573
             fumigationForrecord.setLyxz(lyxz);
573 574
             fumigationForrecord.setCgxzfs(cgxzfs);
574 575
             fumigationForrecord.setHlxzfs(hlxzfs);
576
+            fumigationForrecord.setXzfs(xzfs);
575 577
             fumigationForrecord.setHlxzynhljsjh(hlxzynhljsjh);
576 578
             fumigationForrecord.setYjmc(yjmc);
577 579
             fumigationForrecord.setJx(jx);

+ 4 - 3
src/main/java/com/chinaitop/depot/fumigation/mapper/TFumigationForrecordMapper.xml

@@ -72,6 +72,7 @@
72 72
     <result column="xzzydd" property="xzzydd" jdbcType="VARCHAR" />
73 73
     <result column="fzsycs" property="fzsycs" jdbcType="VARCHAR" />
74 74
     <result column="sqr" property="sqr" jdbcType="VARCHAR" />
75
+    <result column="xzfs" property="xzfs" jdbcType="INTEGER" />
75 76
   </resultMap>
76 77
   <sql id="Example_Where_Clause" >
77 78
     <where >
@@ -139,7 +140,7 @@
139 140
     xzfapzr, xzfabbqk, syryzzqk, syzzsh, yjmc, jx, nd, lddwyyl, kjdwyyl, zyyl, syff,
140 141
     lspz, lssl, lyxz, lysf, dzfs, zyhc, ckmd, house_id, state, cfmc, yjyxq, lqsl, sysl,
141 142
     lqr, lqsj, spr, spsj, bgy, xzrs, xzzhr, xzczry, fhry, lyccdw, lyccdwfzr, ylccdwlxdh,
142
-    sqrq, xzzydd,fzsycs,sqr
143
+    sqrq, xzzydd,fzsycs,sqr,xzfs
143 144
   </sql>
144 145
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.fumigation.model.TFumigationForrecordExample" >
145 146
     select
@@ -192,7 +193,7 @@
192 193
       lqr, lqsj, spr, spsj,
193 194
       bgy, xzrs, xzzhr, xzczry,
194 195
       fhry, lyccdw, lyccdwfzr,
195
-      ylccdwlxdh, sqrq, xzzydd,fzsycs,sqr)
196
+      ylccdwlxdh, sqrq, xzzydd,fzsycs,sqr,xzfs)
196 197
     values (#{id,jdbcType=VARCHAR}, #{operationSupervisor,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR}, 
197 198
       #{contactPhone,jdbcType=VARCHAR}, #{fumigationStart,jdbcType=TIMESTAMP}, #{fumigationEnd,jdbcType=TIMESTAMP}, 
198 199
       #{east,jdbcType=VARCHAR}, #{south,jdbcType=VARCHAR}, #{west,jdbcType=VARCHAR}, 
@@ -214,7 +215,7 @@
214 215
       #{bgy,jdbcType=VARCHAR}, #{xzrs,jdbcType=INTEGER}, #{xzzhr,jdbcType=VARCHAR}, #{xzczry,jdbcType=VARCHAR},
215 216
       #{fhry,jdbcType=VARCHAR}, #{lyccdw,jdbcType=VARCHAR}, #{lyccdwfzr,jdbcType=VARCHAR},
216 217
       #{ylccdwlxdh,jdbcType=VARCHAR}, #{sqrq,jdbcType=TIMESTAMP}, #{xzzydd,jdbcType=VARCHAR},
217
-       #{fzsycs,jdbcType=VARCHAR}, #{sqr,jdbcType=VARCHAR})
218
+       #{fzsycs,jdbcType=VARCHAR}, #{sqr,jdbcType=VARCHAR},#{xzfs,jdbcType=INTEGER})
218 219
   </insert>
219 220
   <insert id="insertSelective" parameterType="com.chinaitop.depot.fumigation.model.TFumigationForrecord" >
220 221
     insert into t_fumigation_forrecord

+ 13 - 0
src/main/java/com/chinaitop/depot/fumigation/model/TFumigationForrecord.java

@@ -297,6 +297,11 @@ public class TFumigationForrecord {
297 297
      */
298 298
     private String sqr;
299 299
 
300
+    /**
301
+     * 熏蒸方式
302
+     */
303
+    private Integer xzfs;
304
+
300 305
     public TFumigationForrecord() {
301 306
     }
302 307
 
@@ -1027,4 +1032,12 @@ public class TFumigationForrecord {
1027 1032
     public void setSqr(String sqr) {
1028 1033
         this.sqr = sqr;
1029 1034
     }
1035
+
1036
+    public Integer getXzfs() {
1037
+        return xzfs;
1038
+    }
1039
+
1040
+    public void setXzfs(Integer xzfs) {
1041
+        this.xzfs = xzfs;
1042
+    }
1030 1043
 }