Bläddra i källkod

修改字段添加类型

lvzhikai 5 år sedan
förälder
incheckning
c27935279b

+ 61 - 58
src/main/java/com/chinaitop/depot/fumigation/mapper/TFumigationPlanMapper.xml

@@ -8,10 +8,9 @@
8 8
     <result column="keeper" property="keeper" jdbcType="INTEGER" />
9 9
     <result column="grain_kind" property="grainKind" jdbcType="INTEGER" />
10 10
     <result column="grain_count" property="grainCount" jdbcType="DECIMAL" />
11
-    <result column="harvest_years" property="harvestYears" jdbcType="TIMESTAMP" />
12
-    <result column="put_storage_years" property="putStorageYears" jdbcType="TIMESTAMP" />
11
+    <result column="harvest_years" property="harvestYears" jdbcType="INTEGER" />
12
+    <result column="put_storage_years" property="putStorageYears" jdbcType="INTEGER" />
13 13
     <result column="fumigation_num" property="fumigationNum" jdbcType="VARCHAR" />
14
-    <result column="stow_way" property="stowWay" jdbcType="VARCHAR" />
15 14
     <result column="one_methods" property="oneMethods" jdbcType="INTEGER" />
16 15
     <result column="one_dose" property="oneDose" jdbcType="VARCHAR" />
17 16
     <result column="one_date" property="oneDate" jdbcType="TIMESTAMP" />
@@ -59,6 +58,7 @@
59 58
     <result column="delete_state" property="deleteState" jdbcType="VARCHAR" />
60 59
     <result column="org_id" property="orgId" jdbcType="VARCHAR" />
61 60
     <result column="updatetime" property="updatetime" jdbcType="TIMESTAMP" />
61
+    <result column="stow_way" property="stowWay" jdbcType="VARCHAR" />
62 62
   </resultMap>
63 63
   <sql id="Example_Where_Clause" >
64 64
     <where >
@@ -120,14 +120,14 @@
120 120
   </sql>
121 121
   <sql id="Base_Column_List" >
122 122
     id, for_record_id, house_id, keeper, grain_kind, grain_count, harvest_years, put_storage_years, 
123
-    fumigation_num, stow_way, one_methods, one_dose, one_date, two_methods, two_dose, 
124
-    two_date, three_methods, three_dose, three_date, four_methods, four_dose, four_date, 
125
-    deliquescence, bag_buried, test_tube, applying_pesticide, fixed_decorate, mobile_decorate, 
126
-    fixed, mobile, single_control, double_control, fumigation_type, fumigation_number, 
127
-    fumigation_command, fumigation_operation, fumiagtion_protective, fumiagtion_period_time, 
128
-    fumiagtion_chief, expected, points_work, note, state, creater, create_time, plan_formulation, 
129
-    reported, pesticide_qualification, qualification, approve_people, approve_department, 
130
-    approve_note, approve_time, grain_moisture, delete_state, org_id, updatetime
123
+    fumigation_num, one_methods, one_dose, one_date, two_methods, two_dose, two_date, 
124
+    three_methods, three_dose, three_date, four_methods, four_dose, four_date, deliquescence, 
125
+    bag_buried, test_tube, applying_pesticide, fixed_decorate, mobile_decorate, fixed, 
126
+    mobile, single_control, double_control, fumigation_type, fumigation_number, fumigation_command, 
127
+    fumigation_operation, fumiagtion_protective, fumiagtion_period_time, fumiagtion_chief, 
128
+    expected, points_work, note, state, creater, create_time, plan_formulation, reported, 
129
+    pesticide_qualification, qualification, approve_people, approve_department, approve_note, 
130
+    approve_time, grain_moisture, delete_state, org_id, updatetime, stow_way
131 131
   </sql>
132 132
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.fumigation.model.TFumigationPlanExample" >
133 133
     select
@@ -163,15 +163,15 @@
163 163
     insert into t_fumigation_plan (id, for_record_id, house_id, 
164 164
       keeper, grain_kind, grain_count, 
165 165
       harvest_years, put_storage_years, fumigation_num, 
166
-      stow_way, one_methods, one_dose, 
167
-      one_date, two_methods, two_dose, 
168
-      two_date, three_methods, three_dose, 
169
-      three_date, four_methods, four_dose, 
170
-      four_date, deliquescence, bag_buried, 
171
-      test_tube, applying_pesticide, fixed_decorate, 
172
-      mobile_decorate, fixed, mobile, 
173
-      single_control, double_control, fumigation_type, 
174
-      fumigation_number, fumigation_command, fumigation_operation, 
166
+      one_methods, one_dose, one_date, 
167
+      two_methods, two_dose, two_date, 
168
+      three_methods, three_dose, three_date, 
169
+      four_methods, four_dose, four_date, 
170
+      deliquescence, bag_buried, test_tube, 
171
+      applying_pesticide, fixed_decorate, mobile_decorate, 
172
+      fixed, mobile, single_control, 
173
+      double_control, fumigation_type, fumigation_number, 
174
+      fumigation_command, fumigation_operation, 
175 175
       fumiagtion_protective, fumiagtion_period_time, 
176 176
       fumiagtion_chief, expected, points_work, 
177 177
       note, state, creater, 
@@ -179,19 +179,20 @@
179 179
       pesticide_qualification, qualification, 
180 180
       approve_people, approve_department, approve_note, 
181 181
       approve_time, grain_moisture, delete_state, 
182
-      org_id, updatetime)
182
+      org_id, updatetime, stow_way
183
+      )
183 184
     values (#{id,jdbcType=VARCHAR}, #{forRecordId,jdbcType=VARCHAR}, #{houseId,jdbcType=INTEGER}, 
184 185
       #{keeper,jdbcType=INTEGER}, #{grainKind,jdbcType=INTEGER}, #{grainCount,jdbcType=DECIMAL}, 
185
-      #{harvestYears,jdbcType=TIMESTAMP}, #{putStorageYears,jdbcType=TIMESTAMP}, #{fumigationNum,jdbcType=VARCHAR}, 
186
-      #{stowWay,jdbcType=VARCHAR}, #{oneMethods,jdbcType=INTEGER}, #{oneDose,jdbcType=VARCHAR}, 
187
-      #{oneDate,jdbcType=TIMESTAMP}, #{twoMethods,jdbcType=INTEGER}, #{twoDose,jdbcType=VARCHAR}, 
188
-      #{twoDate,jdbcType=TIMESTAMP}, #{threeMethods,jdbcType=INTEGER}, #{threeDose,jdbcType=VARCHAR}, 
189
-      #{threeDate,jdbcType=TIMESTAMP}, #{fourMethods,jdbcType=INTEGER}, #{fourDose,jdbcType=VARCHAR}, 
190
-      #{fourDate,jdbcType=TIMESTAMP}, #{deliquescence,jdbcType=VARCHAR}, #{bagBuried,jdbcType=VARCHAR}, 
191
-      #{testTube,jdbcType=VARCHAR}, #{applyingPesticide,jdbcType=VARCHAR}, #{fixedDecorate,jdbcType=VARCHAR}, 
192
-      #{mobileDecorate,jdbcType=VARCHAR}, #{fixed,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, 
193
-      #{singleControl,jdbcType=VARCHAR}, #{doubleControl,jdbcType=VARCHAR}, #{fumigationType,jdbcType=INTEGER}, 
194
-      #{fumigationNumber,jdbcType=INTEGER}, #{fumigationCommand,jdbcType=VARCHAR}, #{fumigationOperation,jdbcType=VARCHAR}, 
186
+      #{harvestYears,jdbcType=INTEGER}, #{putStorageYears,jdbcType=INTEGER}, #{fumigationNum,jdbcType=VARCHAR}, 
187
+      #{oneMethods,jdbcType=INTEGER}, #{oneDose,jdbcType=VARCHAR}, #{oneDate,jdbcType=TIMESTAMP}, 
188
+      #{twoMethods,jdbcType=INTEGER}, #{twoDose,jdbcType=VARCHAR}, #{twoDate,jdbcType=TIMESTAMP}, 
189
+      #{threeMethods,jdbcType=INTEGER}, #{threeDose,jdbcType=VARCHAR}, #{threeDate,jdbcType=TIMESTAMP}, 
190
+      #{fourMethods,jdbcType=INTEGER}, #{fourDose,jdbcType=VARCHAR}, #{fourDate,jdbcType=TIMESTAMP}, 
191
+      #{deliquescence,jdbcType=VARCHAR}, #{bagBuried,jdbcType=VARCHAR}, #{testTube,jdbcType=VARCHAR}, 
192
+      #{applyingPesticide,jdbcType=VARCHAR}, #{fixedDecorate,jdbcType=VARCHAR}, #{mobileDecorate,jdbcType=VARCHAR}, 
193
+      #{fixed,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{singleControl,jdbcType=VARCHAR}, 
194
+      #{doubleControl,jdbcType=VARCHAR}, #{fumigationType,jdbcType=INTEGER}, #{fumigationNumber,jdbcType=INTEGER}, 
195
+      #{fumigationCommand,jdbcType=VARCHAR}, #{fumigationOperation,jdbcType=VARCHAR}, 
195 196
       #{fumiagtionProtective,jdbcType=VARCHAR}, #{fumiagtionPeriodTime,jdbcType=VARCHAR}, 
196 197
       #{fumiagtionChief,jdbcType=VARCHAR}, #{expected,jdbcType=VARCHAR}, #{pointsWork,jdbcType=VARCHAR}, 
197 198
       #{note,jdbcType=VARCHAR}, #{state,jdbcType=INTEGER}, #{creater,jdbcType=VARCHAR}, 
@@ -199,7 +200,8 @@
199 200
       #{pesticideQualification,jdbcType=VARCHAR}, #{qualification,jdbcType=VARCHAR}, 
200 201
       #{approvePeople,jdbcType=VARCHAR}, #{approveDepartment,jdbcType=VARCHAR}, #{approveNote,jdbcType=VARCHAR}, 
201 202
       #{approveTime,jdbcType=TIMESTAMP}, #{grainMoisture,jdbcType=VARCHAR}, #{deleteState,jdbcType=VARCHAR}, 
202
-      #{orgId,jdbcType=VARCHAR}, #{updatetime,jdbcType=TIMESTAMP})
203
+      #{orgId,jdbcType=VARCHAR}, #{updatetime,jdbcType=TIMESTAMP}, #{stowWay,jdbcType=VARCHAR}
204
+      )
203 205
   </insert>
204 206
   <insert id="insertSelective" parameterType="com.chinaitop.depot.fumigation.model.TFumigationPlan" >
205 207
     insert into t_fumigation_plan
@@ -231,9 +233,6 @@
231 233
       <if test="fumigationNum != null" >
232 234
         fumigation_num,
233 235
       </if>
234
-      <if test="stowWay != null" >
235
-        stow_way,
236
-      </if>
237 236
       <if test="oneMethods != null" >
238 237
         one_methods,
239 238
       </if>
@@ -375,6 +374,9 @@
375 374
       <if test="updatetime != null" >
376 375
         updatetime,
377 376
       </if>
377
+      <if test="stowWay != null" >
378
+        stow_way,
379
+      </if>
378 380
     </trim>
379 381
     <trim prefix="values (" suffix=")" suffixOverrides="," >
380 382
       <if test="id != null" >
@@ -396,17 +398,14 @@
396 398
         #{grainCount,jdbcType=DECIMAL},
397 399
       </if>
398 400
       <if test="harvestYears != null" >
399
-        #{harvestYears,jdbcType=TIMESTAMP},
401
+        #{harvestYears,jdbcType=INTEGER},
400 402
       </if>
401 403
       <if test="putStorageYears != null" >
402
-        #{putStorageYears,jdbcType=TIMESTAMP},
404
+        #{putStorageYears,jdbcType=INTEGER},
403 405
       </if>
404 406
       <if test="fumigationNum != null" >
405 407
         #{fumigationNum,jdbcType=VARCHAR},
406 408
       </if>
407
-      <if test="stowWay != null" >
408
-        #{stowWay,jdbcType=VARCHAR},
409
-      </if>
410 409
       <if test="oneMethods != null" >
411 410
         #{oneMethods,jdbcType=INTEGER},
412 411
       </if>
@@ -548,6 +547,9 @@
548 547
       <if test="updatetime != null" >
549 548
         #{updatetime,jdbcType=TIMESTAMP},
550 549
       </if>
550
+      <if test="stowWay != null" >
551
+        #{stowWay,jdbcType=VARCHAR},
552
+      </if>
551 553
     </trim>
552 554
   </insert>
553 555
   <select id="countByExample" parameterType="com.chinaitop.depot.fumigation.model.TFumigationPlanExample" resultType="java.lang.Integer" >
@@ -578,17 +580,14 @@
578 580
         grain_count = #{record.grainCount,jdbcType=DECIMAL},
579 581
       </if>
580 582
       <if test="record.harvestYears != null" >
581
-        harvest_years = #{record.harvestYears,jdbcType=TIMESTAMP},
583
+        harvest_years = #{record.harvestYears,jdbcType=INTEGER},
582 584
       </if>
583 585
       <if test="record.putStorageYears != null" >
584
-        put_storage_years = #{record.putStorageYears,jdbcType=TIMESTAMP},
586
+        put_storage_years = #{record.putStorageYears,jdbcType=INTEGER},
585 587
       </if>
586 588
       <if test="record.fumigationNum != null" >
587 589
         fumigation_num = #{record.fumigationNum,jdbcType=VARCHAR},
588 590
       </if>
589
-      <if test="record.stowWay != null" >
590
-        stow_way = #{record.stowWay,jdbcType=VARCHAR},
591
-      </if>
592 591
       <if test="record.oneMethods != null" >
593 592
         one_methods = #{record.oneMethods,jdbcType=INTEGER},
594 593
       </if>
@@ -730,6 +729,9 @@
730 729
       <if test="record.updatetime != null" >
731 730
         updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
732 731
       </if>
732
+      <if test="record.stowWay != null" >
733
+        stow_way = #{record.stowWay,jdbcType=VARCHAR},
734
+      </if>
733 735
     </set>
734 736
     <if test="_parameter != null" >
735 737
       <include refid="Update_By_Example_Where_Clause" />
@@ -743,10 +745,9 @@
743 745
       keeper = #{record.keeper,jdbcType=INTEGER},
744 746
       grain_kind = #{record.grainKind,jdbcType=INTEGER},
745 747
       grain_count = #{record.grainCount,jdbcType=DECIMAL},
746
-      harvest_years = #{record.harvestYears,jdbcType=TIMESTAMP},
747
-      put_storage_years = #{record.putStorageYears,jdbcType=TIMESTAMP},
748
+      harvest_years = #{record.harvestYears,jdbcType=INTEGER},
749
+      put_storage_years = #{record.putStorageYears,jdbcType=INTEGER},
748 750
       fumigation_num = #{record.fumigationNum,jdbcType=VARCHAR},
749
-      stow_way = #{record.stowWay,jdbcType=VARCHAR},
750 751
       one_methods = #{record.oneMethods,jdbcType=INTEGER},
751 752
       one_dose = #{record.oneDose,jdbcType=VARCHAR},
752 753
       one_date = #{record.oneDate,jdbcType=TIMESTAMP},
@@ -793,7 +794,8 @@
793 794
       grain_moisture = #{record.grainMoisture,jdbcType=VARCHAR},
794 795
       delete_state = #{record.deleteState,jdbcType=VARCHAR},
795 796
       org_id = #{record.orgId,jdbcType=VARCHAR},
796
-      updatetime = #{record.updatetime,jdbcType=TIMESTAMP}
797
+      updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
798
+      stow_way = #{record.stowWay,jdbcType=VARCHAR}
797 799
     <if test="_parameter != null" >
798 800
       <include refid="Update_By_Example_Where_Clause" />
799 801
     </if>
@@ -817,17 +819,14 @@
817 819
         grain_count = #{grainCount,jdbcType=DECIMAL},
818 820
       </if>
819 821
       <if test="harvestYears != null" >
820
-        harvest_years = #{harvestYears,jdbcType=TIMESTAMP},
822
+        harvest_years = #{harvestYears,jdbcType=INTEGER},
821 823
       </if>
822 824
       <if test="putStorageYears != null" >
823
-        put_storage_years = #{putStorageYears,jdbcType=TIMESTAMP},
825
+        put_storage_years = #{putStorageYears,jdbcType=INTEGER},
824 826
       </if>
825 827
       <if test="fumigationNum != null" >
826 828
         fumigation_num = #{fumigationNum,jdbcType=VARCHAR},
827 829
       </if>
828
-      <if test="stowWay != null" >
829
-        stow_way = #{stowWay,jdbcType=VARCHAR},
830
-      </if>
831 830
       <if test="oneMethods != null" >
832 831
         one_methods = #{oneMethods,jdbcType=INTEGER},
833 832
       </if>
@@ -969,6 +968,9 @@
969 968
       <if test="updatetime != null" >
970 969
         updatetime = #{updatetime,jdbcType=TIMESTAMP},
971 970
       </if>
971
+      <if test="stowWay != null" >
972
+        stow_way = #{stowWay,jdbcType=VARCHAR},
973
+      </if>
972 974
     </set>
973 975
     where id = #{id,jdbcType=VARCHAR}
974 976
   </update>
@@ -979,10 +981,9 @@
979 981
       keeper = #{keeper,jdbcType=INTEGER},
980 982
       grain_kind = #{grainKind,jdbcType=INTEGER},
981 983
       grain_count = #{grainCount,jdbcType=DECIMAL},
982
-      harvest_years = #{harvestYears,jdbcType=TIMESTAMP},
983
-      put_storage_years = #{putStorageYears,jdbcType=TIMESTAMP},
984
+      harvest_years = #{harvestYears,jdbcType=INTEGER},
985
+      put_storage_years = #{putStorageYears,jdbcType=INTEGER},
984 986
       fumigation_num = #{fumigationNum,jdbcType=VARCHAR},
985
-      stow_way = #{stowWay,jdbcType=VARCHAR},
986 987
       one_methods = #{oneMethods,jdbcType=INTEGER},
987 988
       one_dose = #{oneDose,jdbcType=VARCHAR},
988 989
       one_date = #{oneDate,jdbcType=TIMESTAMP},
@@ -1029,7 +1030,8 @@
1029 1030
       grain_moisture = #{grainMoisture,jdbcType=VARCHAR},
1030 1031
       delete_state = #{deleteState,jdbcType=VARCHAR},
1031 1032
       org_id = #{orgId,jdbcType=VARCHAR},
1032
-      updatetime = #{updatetime,jdbcType=TIMESTAMP}
1033
+      updatetime = #{updatetime,jdbcType=TIMESTAMP},
1034
+      stow_way = #{stowWay,jdbcType=VARCHAR}
1033 1035
     where id = #{id,jdbcType=VARCHAR}
1034 1036
   </update>
1035 1037
 
@@ -1151,6 +1153,7 @@
1151 1153
     <if test="houseId != null" >
1152 1154
       AND plan.house_id = #{houseId,jdbcType=INTEGER}
1153 1155
     </if>
1156
+    order by plan.create_time desc
1154 1157
   </select>
1155 1158
   <select id="getProcessList" resultMap="BaseResultMap" parameterType="java.util.Map" >
1156 1159
     select

+ 24 - 24
src/main/java/com/chinaitop/depot/fumigation/model/TFumigationPlan.java

@@ -16,14 +16,12 @@ public class TFumigationPlan {
16 16
 
17 17
     private BigDecimal grainCount;
18 18
 
19
-    private Date harvestYears;
19
+    private Integer harvestYears;
20 20
 
21
-    private Date putStorageYears;
21
+    private Integer putStorageYears;
22 22
 
23 23
     private String fumigationNum;
24 24
 
25
-    private String stowWay;
26
-
27 25
     private Integer oneMethods;
28 26
 
29 27
     private String oneDose;
@@ -118,6 +116,8 @@ public class TFumigationPlan {
118 116
 
119 117
     private Date updatetime;
120 118
 
119
+    private String stowWay;
120
+
121 121
     /**
122 122
      * 熏蒸(主键)
123 123
      * @return id 熏蒸(主键)
@@ -218,7 +218,7 @@ public class TFumigationPlan {
218 218
      * 收获年限
219 219
      * @return harvest_years 收获年限
220 220
      */
221
-    public Date getHarvestYears() {
221
+    public Integer getHarvestYears() {
222 222
         return harvestYears;
223 223
     }
224 224
 
@@ -226,7 +226,7 @@ public class TFumigationPlan {
226 226
      * 收获年限
227 227
      * @param harvestYears 收获年限
228 228
      */
229
-    public void setHarvestYears(Date harvestYears) {
229
+    public void setHarvestYears(Integer harvestYears) {
230 230
         this.harvestYears = harvestYears;
231 231
     }
232 232
 
@@ -234,7 +234,7 @@ public class TFumigationPlan {
234 234
      * 入库年限
235 235
      * @return put_storage_years 入库年限
236 236
      */
237
-    public Date getPutStorageYears() {
237
+    public Integer getPutStorageYears() {
238 238
         return putStorageYears;
239 239
     }
240 240
 
@@ -242,7 +242,7 @@ public class TFumigationPlan {
242 242
      * 入库年限
243 243
      * @param putStorageYears 入库年限
244 244
      */
245
-    public void setPutStorageYears(Date putStorageYears) {
245
+    public void setPutStorageYears(Integer putStorageYears) {
246 246
         this.putStorageYears = putStorageYears;
247 247
     }
248 248
 
@@ -263,22 +263,6 @@ public class TFumigationPlan {
263 263
     }
264 264
 
265 265
     /**
266
-     * 堆装方式
267
-     * @return stow_way 堆装方式
268
-     */
269
-    public String getStowWay() {
270
-        return stowWay;
271
-    }
272
-
273
-    /**
274
-     * 堆装方式
275
-     * @param stowWay 堆装方式
276
-     */
277
-    public void setStowWay(String stowWay) {
278
-        this.stowWay = stowWay == null ? null : stowWay.trim();
279
-    }
280
-
281
-    /**
282 266
      * 第一次熏蒸方法
283 267
      * @return one_methods 第一次熏蒸方法
284 268
      */
@@ -1029,4 +1013,20 @@ public class TFumigationPlan {
1029 1013
     public void setUpdatetime(Date updatetime) {
1030 1014
         this.updatetime = updatetime;
1031 1015
     }
1016
+
1017
+    /**
1018
+     * 
1019
+     * @return stow_way 
1020
+     */
1021
+    public String getStowWay() {
1022
+        return stowWay;
1023
+    }
1024
+
1025
+    /**
1026
+     * 
1027
+     * @param stowWay 
1028
+     */
1029
+    public void setStowWay(String stowWay) {
1030
+        this.stowWay = stowWay == null ? null : stowWay.trim();
1031
+    }
1032 1032
 }

+ 92 - 92
src/main/java/com/chinaitop/depot/fumigation/model/TFumigationPlanExample.java

@@ -75,7 +75,7 @@ public class TFumigationPlanExample {
75 75
     }
76 76
 
77 77
     /**
78
-     * t_fumigation_plan 2020-08-11
78
+     * t_fumigation_plan 2020-09-04
79 79
      */
80 80
     protected abstract static class GeneratedCriteria {
81 81
         protected List<Criterion> criteria;
@@ -508,52 +508,52 @@ public class TFumigationPlanExample {
508 508
             return (Criteria) this;
509 509
         }
510 510
 
511
-        public Criteria andHarvestYearsEqualTo(Date value) {
511
+        public Criteria andHarvestYearsEqualTo(Integer value) {
512 512
             addCriterion("harvest_years =", value, "harvestYears");
513 513
             return (Criteria) this;
514 514
         }
515 515
 
516
-        public Criteria andHarvestYearsNotEqualTo(Date value) {
516
+        public Criteria andHarvestYearsNotEqualTo(Integer value) {
517 517
             addCriterion("harvest_years <>", value, "harvestYears");
518 518
             return (Criteria) this;
519 519
         }
520 520
 
521
-        public Criteria andHarvestYearsGreaterThan(Date value) {
521
+        public Criteria andHarvestYearsGreaterThan(Integer value) {
522 522
             addCriterion("harvest_years >", value, "harvestYears");
523 523
             return (Criteria) this;
524 524
         }
525 525
 
526
-        public Criteria andHarvestYearsGreaterThanOrEqualTo(Date value) {
526
+        public Criteria andHarvestYearsGreaterThanOrEqualTo(Integer value) {
527 527
             addCriterion("harvest_years >=", value, "harvestYears");
528 528
             return (Criteria) this;
529 529
         }
530 530
 
531
-        public Criteria andHarvestYearsLessThan(Date value) {
531
+        public Criteria andHarvestYearsLessThan(Integer value) {
532 532
             addCriterion("harvest_years <", value, "harvestYears");
533 533
             return (Criteria) this;
534 534
         }
535 535
 
536
-        public Criteria andHarvestYearsLessThanOrEqualTo(Date value) {
536
+        public Criteria andHarvestYearsLessThanOrEqualTo(Integer value) {
537 537
             addCriterion("harvest_years <=", value, "harvestYears");
538 538
             return (Criteria) this;
539 539
         }
540 540
 
541
-        public Criteria andHarvestYearsIn(List<Date> values) {
541
+        public Criteria andHarvestYearsIn(List<Integer> values) {
542 542
             addCriterion("harvest_years in", values, "harvestYears");
543 543
             return (Criteria) this;
544 544
         }
545 545
 
546
-        public Criteria andHarvestYearsNotIn(List<Date> values) {
546
+        public Criteria andHarvestYearsNotIn(List<Integer> values) {
547 547
             addCriterion("harvest_years not in", values, "harvestYears");
548 548
             return (Criteria) this;
549 549
         }
550 550
 
551
-        public Criteria andHarvestYearsBetween(Date value1, Date value2) {
551
+        public Criteria andHarvestYearsBetween(Integer value1, Integer value2) {
552 552
             addCriterion("harvest_years between", value1, value2, "harvestYears");
553 553
             return (Criteria) this;
554 554
         }
555 555
 
556
-        public Criteria andHarvestYearsNotBetween(Date value1, Date value2) {
556
+        public Criteria andHarvestYearsNotBetween(Integer value1, Integer value2) {
557 557
             addCriterion("harvest_years not between", value1, value2, "harvestYears");
558 558
             return (Criteria) this;
559 559
         }
@@ -568,52 +568,52 @@ public class TFumigationPlanExample {
568 568
             return (Criteria) this;
569 569
         }
570 570
 
571
-        public Criteria andPutStorageYearsEqualTo(Date value) {
571
+        public Criteria andPutStorageYearsEqualTo(Integer value) {
572 572
             addCriterion("put_storage_years =", value, "putStorageYears");
573 573
             return (Criteria) this;
574 574
         }
575 575
 
576
-        public Criteria andPutStorageYearsNotEqualTo(Date value) {
576
+        public Criteria andPutStorageYearsNotEqualTo(Integer value) {
577 577
             addCriterion("put_storage_years <>", value, "putStorageYears");
578 578
             return (Criteria) this;
579 579
         }
580 580
 
581
-        public Criteria andPutStorageYearsGreaterThan(Date value) {
581
+        public Criteria andPutStorageYearsGreaterThan(Integer value) {
582 582
             addCriterion("put_storage_years >", value, "putStorageYears");
583 583
             return (Criteria) this;
584 584
         }
585 585
 
586
-        public Criteria andPutStorageYearsGreaterThanOrEqualTo(Date value) {
586
+        public Criteria andPutStorageYearsGreaterThanOrEqualTo(Integer value) {
587 587
             addCriterion("put_storage_years >=", value, "putStorageYears");
588 588
             return (Criteria) this;
589 589
         }
590 590
 
591
-        public Criteria andPutStorageYearsLessThan(Date value) {
591
+        public Criteria andPutStorageYearsLessThan(Integer value) {
592 592
             addCriterion("put_storage_years <", value, "putStorageYears");
593 593
             return (Criteria) this;
594 594
         }
595 595
 
596
-        public Criteria andPutStorageYearsLessThanOrEqualTo(Date value) {
596
+        public Criteria andPutStorageYearsLessThanOrEqualTo(Integer value) {
597 597
             addCriterion("put_storage_years <=", value, "putStorageYears");
598 598
             return (Criteria) this;
599 599
         }
600 600
 
601
-        public Criteria andPutStorageYearsIn(List<Date> values) {
601
+        public Criteria andPutStorageYearsIn(List<Integer> values) {
602 602
             addCriterion("put_storage_years in", values, "putStorageYears");
603 603
             return (Criteria) this;
604 604
         }
605 605
 
606
-        public Criteria andPutStorageYearsNotIn(List<Date> values) {
606
+        public Criteria andPutStorageYearsNotIn(List<Integer> values) {
607 607
             addCriterion("put_storage_years not in", values, "putStorageYears");
608 608
             return (Criteria) this;
609 609
         }
610 610
 
611
-        public Criteria andPutStorageYearsBetween(Date value1, Date value2) {
611
+        public Criteria andPutStorageYearsBetween(Integer value1, Integer value2) {
612 612
             addCriterion("put_storage_years between", value1, value2, "putStorageYears");
613 613
             return (Criteria) this;
614 614
         }
615 615
 
616
-        public Criteria andPutStorageYearsNotBetween(Date value1, Date value2) {
616
+        public Criteria andPutStorageYearsNotBetween(Integer value1, Integer value2) {
617 617
             addCriterion("put_storage_years not between", value1, value2, "putStorageYears");
618 618
             return (Criteria) this;
619 619
         }
@@ -688,76 +688,6 @@ public class TFumigationPlanExample {
688 688
             return (Criteria) this;
689 689
         }
690 690
 
691
-        public Criteria andStowWayIsNull() {
692
-            addCriterion("stow_way is null");
693
-            return (Criteria) this;
694
-        }
695
-
696
-        public Criteria andStowWayIsNotNull() {
697
-            addCriterion("stow_way is not null");
698
-            return (Criteria) this;
699
-        }
700
-
701
-        public Criteria andStowWayEqualTo(String value) {
702
-            addCriterion("stow_way =", value, "stowWay");
703
-            return (Criteria) this;
704
-        }
705
-
706
-        public Criteria andStowWayNotEqualTo(String value) {
707
-            addCriterion("stow_way <>", value, "stowWay");
708
-            return (Criteria) this;
709
-        }
710
-
711
-        public Criteria andStowWayGreaterThan(String value) {
712
-            addCriterion("stow_way >", value, "stowWay");
713
-            return (Criteria) this;
714
-        }
715
-
716
-        public Criteria andStowWayGreaterThanOrEqualTo(String value) {
717
-            addCriterion("stow_way >=", value, "stowWay");
718
-            return (Criteria) this;
719
-        }
720
-
721
-        public Criteria andStowWayLessThan(String value) {
722
-            addCriterion("stow_way <", value, "stowWay");
723
-            return (Criteria) this;
724
-        }
725
-
726
-        public Criteria andStowWayLessThanOrEqualTo(String value) {
727
-            addCriterion("stow_way <=", value, "stowWay");
728
-            return (Criteria) this;
729
-        }
730
-
731
-        public Criteria andStowWayLike(String value) {
732
-            addCriterion("stow_way like", value, "stowWay");
733
-            return (Criteria) this;
734
-        }
735
-
736
-        public Criteria andStowWayNotLike(String value) {
737
-            addCriterion("stow_way not like", value, "stowWay");
738
-            return (Criteria) this;
739
-        }
740
-
741
-        public Criteria andStowWayIn(List<String> values) {
742
-            addCriterion("stow_way in", values, "stowWay");
743
-            return (Criteria) this;
744
-        }
745
-
746
-        public Criteria andStowWayNotIn(List<String> values) {
747
-            addCriterion("stow_way not in", values, "stowWay");
748
-            return (Criteria) this;
749
-        }
750
-
751
-        public Criteria andStowWayBetween(String value1, String value2) {
752
-            addCriterion("stow_way between", value1, value2, "stowWay");
753
-            return (Criteria) this;
754
-        }
755
-
756
-        public Criteria andStowWayNotBetween(String value1, String value2) {
757
-            addCriterion("stow_way not between", value1, value2, "stowWay");
758
-            return (Criteria) this;
759
-        }
760
-
761 691
         public Criteria andOneMethodsIsNull() {
762 692
             addCriterion("one_methods is null");
763 693
             return (Criteria) this;
@@ -3907,6 +3837,76 @@ public class TFumigationPlanExample {
3907 3837
             addCriterion("updatetime not between", value1, value2, "updatetime");
3908 3838
             return (Criteria) this;
3909 3839
         }
3840
+
3841
+        public Criteria andStowWayIsNull() {
3842
+            addCriterion("stow_way is null");
3843
+            return (Criteria) this;
3844
+        }
3845
+
3846
+        public Criteria andStowWayIsNotNull() {
3847
+            addCriterion("stow_way is not null");
3848
+            return (Criteria) this;
3849
+        }
3850
+
3851
+        public Criteria andStowWayEqualTo(String value) {
3852
+            addCriterion("stow_way =", value, "stowWay");
3853
+            return (Criteria) this;
3854
+        }
3855
+
3856
+        public Criteria andStowWayNotEqualTo(String value) {
3857
+            addCriterion("stow_way <>", value, "stowWay");
3858
+            return (Criteria) this;
3859
+        }
3860
+
3861
+        public Criteria andStowWayGreaterThan(String value) {
3862
+            addCriterion("stow_way >", value, "stowWay");
3863
+            return (Criteria) this;
3864
+        }
3865
+
3866
+        public Criteria andStowWayGreaterThanOrEqualTo(String value) {
3867
+            addCriterion("stow_way >=", value, "stowWay");
3868
+            return (Criteria) this;
3869
+        }
3870
+
3871
+        public Criteria andStowWayLessThan(String value) {
3872
+            addCriterion("stow_way <", value, "stowWay");
3873
+            return (Criteria) this;
3874
+        }
3875
+
3876
+        public Criteria andStowWayLessThanOrEqualTo(String value) {
3877
+            addCriterion("stow_way <=", value, "stowWay");
3878
+            return (Criteria) this;
3879
+        }
3880
+
3881
+        public Criteria andStowWayLike(String value) {
3882
+            addCriterion("stow_way like", value, "stowWay");
3883
+            return (Criteria) this;
3884
+        }
3885
+
3886
+        public Criteria andStowWayNotLike(String value) {
3887
+            addCriterion("stow_way not like", value, "stowWay");
3888
+            return (Criteria) this;
3889
+        }
3890
+
3891
+        public Criteria andStowWayIn(List<String> values) {
3892
+            addCriterion("stow_way in", values, "stowWay");
3893
+            return (Criteria) this;
3894
+        }
3895
+
3896
+        public Criteria andStowWayNotIn(List<String> values) {
3897
+            addCriterion("stow_way not in", values, "stowWay");
3898
+            return (Criteria) this;
3899
+        }
3900
+
3901
+        public Criteria andStowWayBetween(String value1, String value2) {
3902
+            addCriterion("stow_way between", value1, value2, "stowWay");
3903
+            return (Criteria) this;
3904
+        }
3905
+
3906
+        public Criteria andStowWayNotBetween(String value1, String value2) {
3907
+            addCriterion("stow_way not between", value1, value2, "stowWay");
3908
+            return (Criteria) this;
3909
+        }
3910 3910
     }
3911 3911
 
3912 3912
     /**
@@ -3920,7 +3920,7 @@ public class TFumigationPlanExample {
3920 3920
     }
3921 3921
 
3922 3922
     /**
3923
-     * t_fumigation_plan 2020-08-11
3923
+     * t_fumigation_plan 2020-09-04
3924 3924
      */
3925 3925
     public static class Criterion {
3926 3926
         private String condition;