瀏覽代碼

日常检查

jidj 5 年之前
父節點
當前提交
e2775e0ba0

+ 3 - 0
src/main/java/com/chinaitop/depot/storage/controller/StorageDailyController.java

@@ -63,6 +63,9 @@ public class StorageDailyController {
63 63
             criteria.andWarehouseIdEqualTo(warehouseId);
64 64
         }
65 65
 
66
+        //查询FlagType为null的,要不然和粮情卡冲突
67
+        criteria.andFlagTypeIsNull();
68
+
66 69
         if (pageNum!=null && pageSize!=null) {
67 70
             PageHelper.startPage(pageNum, pageSize);
68 71
         }

+ 60 - 28
src/main/java/com/chinaitop/depot/storage/mapper/StorageDailycheckMapper.xml

@@ -16,6 +16,8 @@
16 16
     <result column="ratfinch_check" property="ratfinchCheck" jdbcType="VARCHAR" />
17 17
     <result column="other_check" property="otherCheck" jdbcType="VARCHAR" />
18 18
     <result column="find_question" property="findQuestion" jdbcType="VARCHAR" />
19
+    <result column="flag_type" property="flagType" jdbcType="INTEGER" />
20
+    <result column="dailycard_Id" property="dailycardId" jdbcType="VARCHAR" />
19 21
   </resultMap>
20 22
   <sql id="Example_Where_Clause" >
21 23
     <where >
@@ -76,8 +78,9 @@
76 78
     </where>
77 79
   </sql>
78 80
   <sql id="Base_Column_List" >
79
-    id, house_id, warehouse_id, org_id, sub_type, check_time, checker, pests_position, pests_density,
80
-    pests_species, rain_check, ratfinch_check, other_check, find_question
81
+    id, house_id, warehouse_id, org_id, sub_type, check_time, checker, pests_position,
82
+    pests_density, pests_species, rain_check, ratfinch_check, other_check, find_question,
83
+    flag_type
81 84
   </sql>
82 85
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageDailycheckExample" >
83 86
     select
@@ -94,7 +97,7 @@
94 97
     </if>
95 98
   </select>
96 99
   <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
97
-    select 
100
+    select
98 101
     <include refid="Base_Column_List" />
99 102
     from storage_dailycheck
100 103
     where id = #{id,jdbcType=INTEGER}
@@ -110,21 +113,23 @@
110 113
     </if>
111 114
   </delete>
112 115
   <insert id="insert" parameterType="com.chinaitop.depot.storage.model.StorageDailycheck" >
113
-    insert into storage_dailycheck (id, house_id, warehouse_id, org_id,
114
-      sub_type, check_time, checker, 
115
-      pests_position, pests_density, pests_species, 
116
-      rain_check, ratfinch_check, other_check, 
117
-      find_question)
118
-    values (#{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{warehouseId,jdbcType=INTEGER}, #{orgId,jdbcType=INTEGER},
119
-      #{subType,jdbcType=INTEGER}, #{checkTime,jdbcType=TIMESTAMP}, #{checker,jdbcType=VARCHAR}, 
120
-      #{pestsPosition,jdbcType=VARCHAR}, #{pestsDensity,jdbcType=INTEGER}, #{pestsSpecies,jdbcType=INTEGER}, 
121
-      #{rainCheck,jdbcType=VARCHAR}, #{ratfinchCheck,jdbcType=VARCHAR}, #{otherCheck,jdbcType=VARCHAR}, 
122
-      #{findQuestion,jdbcType=VARCHAR})
116
+    insert into storage_dailycheck (id, house_id, warehouse_id,
117
+      org_id, sub_type, check_time,
118
+      checker, pests_position, pests_density,
119
+      pests_species, rain_check, ratfinch_check,
120
+      other_check, find_question, flag_type
121
+      )
122
+    values (#{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{warehouseId,jdbcType=INTEGER},
123
+      #{orgId,jdbcType=INTEGER}, #{subType,jdbcType=INTEGER}, #{checkTime,jdbcType=TIMESTAMP},
124
+      #{checker,jdbcType=VARCHAR}, #{pestsPosition,jdbcType=VARCHAR}, #{pestsDensity,jdbcType=INTEGER},
125
+      #{pestsSpecies,jdbcType=INTEGER}, #{rainCheck,jdbcType=VARCHAR}, #{ratfinchCheck,jdbcType=VARCHAR},
126
+      #{otherCheck,jdbcType=VARCHAR}, #{findQuestion,jdbcType=VARCHAR}, #{flagType,jdbcType=INTEGER}
127
+      )
123 128
   </insert>
124 129
   <insert id="insertSelective" parameterType="com.chinaitop.depot.storage.model.StorageDailycheck" >
125 130
     insert into storage_dailycheck
126 131
     <trim prefix="(" suffix=")" suffixOverrides="," >
127
-        id,
132
+      id,
128 133
       <if test="houseId != null" >
129 134
         house_id,
130 135
       </if>
@@ -164,6 +169,12 @@
164 169
       <if test="findQuestion != null" >
165 170
         find_question,
166 171
       </if>
172
+      <if test="flagType != null" >
173
+        flag_type,
174
+      </if>
175
+      <if test="dailycardId != null" >
176
+        dailycard_Id,
177
+      </if>
167 178
     </trim>
168 179
     <trim prefix="values (" suffix=")" suffixOverrides="," >
169 180
       SEQ_STORAGE_DAILYCHECK.nextVal,
@@ -206,6 +217,12 @@
206 217
       <if test="findQuestion != null" >
207 218
         #{findQuestion,jdbcType=VARCHAR},
208 219
       </if>
220
+      <if test="flagType != null" >
221
+        #{flagType,jdbcType=INTEGER},
222
+      </if>
223
+      <if test="dailycardId != null" >
224
+        #{dailycardId,jdbcType=VARCHAR},
225
+      </if>
209 226
     </trim>
210 227
   </insert>
211 228
   <select id="countByExample" parameterType="com.chinaitop.depot.storage.model.StorageDailycheckExample" resultType="java.lang.Integer" >
@@ -259,6 +276,12 @@
259 276
       <if test="record.findQuestion != null" >
260 277
         find_question = #{record.findQuestion,jdbcType=VARCHAR},
261 278
       </if>
279
+      <if test="record.flagType != null" >
280
+        flag_type = #{record.flagType,jdbcType=INTEGER},
281
+      </if>
282
+      <if test="record.dailycardId != null" >
283
+        dailycard_Id = #{record.dailycardId,jdbcType=INTEGER},
284
+      </if>
262 285
     </set>
263 286
     <if test="_parameter != null" >
264 287
       <include refid="Update_By_Example_Where_Clause" />
@@ -267,19 +290,20 @@
267 290
   <update id="updateByExample" parameterType="map" >
268 291
     update storage_dailycheck
269 292
     set id = #{record.id,jdbcType=INTEGER},
270
-      house_id = #{record.houseId,jdbcType=INTEGER},
271
-      warehouse_id = #{record.warehouseId,jdbcType=INTEGER},
272
-      org_id = #{record.orgId,jdbcType=INTEGER},
273
-      sub_type = #{record.subType,jdbcType=INTEGER},
274
-      check_time = #{record.checkTime,jdbcType=TIMESTAMP},
275
-      checker = #{record.checker,jdbcType=VARCHAR},
276
-      pests_position = #{record.pestsPosition,jdbcType=VARCHAR},
277
-      pests_density = #{record.pestsDensity,jdbcType=INTEGER},
278
-      pests_species = #{record.pestsSpecies,jdbcType=INTEGER},
279
-      rain_check = #{record.rainCheck,jdbcType=VARCHAR},
280
-      ratfinch_check = #{record.ratfinchCheck,jdbcType=VARCHAR},
281
-      other_check = #{record.otherCheck,jdbcType=VARCHAR},
282
-      find_question = #{record.findQuestion,jdbcType=VARCHAR}
293
+    house_id = #{record.houseId,jdbcType=INTEGER},
294
+    warehouse_id = #{record.warehouseId,jdbcType=INTEGER},
295
+    org_id = #{record.orgId,jdbcType=INTEGER},
296
+    sub_type = #{record.subType,jdbcType=INTEGER},
297
+    check_time = #{record.checkTime,jdbcType=TIMESTAMP},
298
+    checker = #{record.checker,jdbcType=VARCHAR},
299
+    pests_position = #{record.pestsPosition,jdbcType=VARCHAR},
300
+    pests_density = #{record.pestsDensity,jdbcType=INTEGER},
301
+    pests_species = #{record.pestsSpecies,jdbcType=INTEGER},
302
+    rain_check = #{record.rainCheck,jdbcType=VARCHAR},
303
+    ratfinch_check = #{record.ratfinchCheck,jdbcType=VARCHAR},
304
+    other_check = #{record.otherCheck,jdbcType=VARCHAR},
305
+    find_question = #{record.findQuestion,jdbcType=VARCHAR},
306
+    flag_type = #{record.flagType,jdbcType=INTEGER}
283 307
     <if test="_parameter != null" >
284 308
       <include refid="Update_By_Example_Where_Clause" />
285 309
     </if>
@@ -326,6 +350,12 @@
326 350
       <if test="findQuestion != null" >
327 351
         find_question = #{findQuestion,jdbcType=VARCHAR},
328 352
       </if>
353
+      <if test="flagType != null" >
354
+        flag_type = #{flagType,jdbcType=INTEGER},
355
+      </if>
356
+      <if test="dailycardId != null" >
357
+        dailycard_Id = #{dailycardId,jdbcType=INTEGER},
358
+      </if>
329 359
     </set>
330 360
     where id = #{id,jdbcType=INTEGER}
331 361
   </update>
@@ -343,7 +373,9 @@
343 373
       rain_check = #{rainCheck,jdbcType=VARCHAR},
344 374
       ratfinch_check = #{ratfinchCheck,jdbcType=VARCHAR},
345 375
       other_check = #{otherCheck,jdbcType=VARCHAR},
346
-      find_question = #{findQuestion,jdbcType=VARCHAR}
376
+      find_question = #{findQuestion,jdbcType=VARCHAR},
377
+      flag_type = #{flagType,jdbcType=INTEGER}
347 378
     where id = #{id,jdbcType=INTEGER}
348 379
   </update>
380
+
349 381
 </mapper>

+ 4 - 1
src/main/java/com/chinaitop/depot/storage/mapper/StorageQualitycheckMapper.xml

@@ -88,6 +88,7 @@
88 88
     <result column="total_arsenic" jdbcType="VARCHAR" property="totalArsenic" />
89 89
     <result column="aflatoxin" jdbcType="VARCHAR" property="aflatoxin" />
90 90
     <result column="butyl_phenol" jdbcType="VARCHAR" property="butylPhenol" />
91
+    <result column="flag_type" jdbcType="INTEGER" property="flagType" />
91 92
   </resultMap>
92 93
   <sql id="Example_Where_Clause">
93 94
     <where>
@@ -1570,7 +1571,7 @@
1570 1571
     sqk.pests, sqk.color_ratio, sqk.hard_index, sqk.gluten_water_count, sqk.remarks, approver, sqk.mildew_count,
1571 1572
     sqk.damage_ratio, sqk.hot_damage_ratio, sqk.husked_rice_weight, sqk.reviewer, sqk.apply_check_time, sqk.check_time_type,
1572 1573
     sqk.check_result_time, sqk.store_quality, sqk.is_pest, sqk.inspection_standard_basis, sqk.quality, sqk.seal_date,
1573
-    sqk.seal_status, sqk.auth_code, sqk.org_id, sqk.history_status
1574
+    sqk.seal_status, sqk.auth_code, sqk.org_id, sqk.history_status, sqk.flag_type
1574 1575
     <!--云南新增的字段,先注释掉方便调试-->
1575 1576
     /*, sqk.intermixing_rate,sqk.smelltaste,sqk.transparency,sqk.peroxide_value,
1576 1577
     sqk.smoke_point,sqk.reeze_test,sqk.residual_solvent,sqk.lead,sqk.total_arsenic,sqk.aflatoxin,sqk.butyl_phenol*/
@@ -1626,6 +1627,8 @@
1626 1627
       <if test="checkResult !=null">
1627 1628
         and sq.check_result = #{checkResult}
1628 1629
       </if>
1630
+        <!--区分粮情卡的数据-->
1631
+        and sq.flag_type is null
1629 1632
     </where>
1630 1633
     and sq.rn = 1
1631 1634
   </select>

+ 45 - 9
src/main/java/com/chinaitop/depot/storage/model/StorageDailycheck.java

@@ -9,6 +9,8 @@ public class StorageDailycheck {
9 9
 
10 10
     private Integer warehouseId;
11 11
 
12
+    private Integer orgId;
13
+
12 14
     private Integer subType;
13 15
 
14 16
     private Date checkTime;
@@ -29,19 +31,21 @@ public class StorageDailycheck {
29 31
 
30 32
     private String findQuestion;
31 33
 
32
-    private Integer orgId;
34
+    private Integer flagType;
35
+
36
+    private String dailycardId;
33 37
 
34 38
     /**
35
-     * 油罐id
36
-     * @return id 油罐id
39
+     * id
40
+     * @return id id
37 41
      */
38 42
     public Integer getId() {
39 43
         return id;
40 44
     }
41 45
 
42 46
     /**
43
-     * 油罐id
44
-     * @param id 油罐id
47
+     * id
48
+     * @param id id
45 49
      */
46 50
     public void setId(Integer id) {
47 51
         this.id = id;
@@ -80,6 +84,22 @@ public class StorageDailycheck {
80 84
     }
81 85
 
82 86
     /**
87
+     * 库级id
88
+     * @return org_id 库级id
89
+     */
90
+    public Integer getOrgId() {
91
+        return orgId;
92
+    }
93
+
94
+    /**
95
+     * 库级id
96
+     * @param orgId 库级id
97
+     */
98
+    public void setOrgId(Integer orgId) {
99
+        this.orgId = orgId;
100
+    }
101
+
102
+    /**
83 103
      * 品种
84 104
      * @return sub_type 品种
85 105
      */
@@ -239,11 +259,27 @@ public class StorageDailycheck {
239 259
         this.findQuestion = findQuestion == null ? null : findQuestion.trim();
240 260
     }
241 261
 
242
-    public Integer getOrgId() {
243
-        return orgId;
262
+    /**
263
+     * 保存:1,提交:2
264
+     * @return flag_type 保存:1,提交:2
265
+     */
266
+    public Integer getFlagType() {
267
+        return flagType;
244 268
     }
245 269
 
246
-    public void setOrgId(Integer orgId) {
247
-        this.orgId = orgId;
270
+    /**
271
+     * 保存:1,提交:2
272
+     * @param flagType 保存:1,提交:2
273
+     */
274
+    public void setFlagType(Integer flagType) {
275
+        this.flagType = flagType;
276
+    }
277
+
278
+    public String getDailycardId() {
279
+        return dailycardId;
280
+    }
281
+
282
+    public void setDailycardId(String dailycardId) {
283
+        this.dailycardId = dailycardId;
248 284
     }
249 285
 }

+ 110 - 50
src/main/java/com/chinaitop/depot/storage/model/StorageDailycheckExample.java

@@ -74,7 +74,7 @@ public class StorageDailycheckExample {
74 74
     }
75 75
 
76 76
     /**
77
-     * storage_dailycheck 2020-07-01
77
+     * storage_dailycheck 2020-07-17
78 78
      */
79 79
     protected abstract static class GeneratedCriteria {
80 80
         protected List<Criterion> criteria;
@@ -237,123 +237,123 @@ public class StorageDailycheckExample {
237 237
             return (Criteria) this;
238 238
         }
239 239
 
240
-        public Criteria andOrgIdIsNull() {
241
-            addCriterion("org_id is null");
240
+        public Criteria andWarehouseIdIsNull() {
241
+            addCriterion("warehouse_id is null");
242 242
             return (Criteria) this;
243 243
         }
244 244
 
245
-        public Criteria andOrgIdIsNotNull() {
246
-            addCriterion("org_id is not null");
245
+        public Criteria andWarehouseIdIsNotNull() {
246
+            addCriterion("warehouse_id is not null");
247 247
             return (Criteria) this;
248 248
         }
249 249
 
250
-        public Criteria andOrgIdEqualTo(Integer value) {
251
-            addCriterion("org_id =", value, "orgId");
250
+        public Criteria andWarehouseIdEqualTo(Integer value) {
251
+            addCriterion("warehouse_id =", value, "warehouseId");
252 252
             return (Criteria) this;
253 253
         }
254 254
 
255
-        public Criteria andOrgIdNotEqualTo(Integer value) {
256
-            addCriterion("org_id <>", value, "orgId");
255
+        public Criteria andWarehouseIdNotEqualTo(Integer value) {
256
+            addCriterion("warehouse_id <>", value, "warehouseId");
257 257
             return (Criteria) this;
258 258
         }
259 259
 
260
-        public Criteria andOrgIdGreaterThan(Integer value) {
261
-            addCriterion("org_id >", value, "orgId");
260
+        public Criteria andWarehouseIdGreaterThan(Integer value) {
261
+            addCriterion("warehouse_id >", value, "warehouseId");
262 262
             return (Criteria) this;
263 263
         }
264 264
 
265
-        public Criteria andOrgIdGreaterThanOrEqualTo(Integer value) {
266
-            addCriterion("org_id >=", value, "orgId");
265
+        public Criteria andWarehouseIdGreaterThanOrEqualTo(Integer value) {
266
+            addCriterion("warehouse_id >=", value, "warehouseId");
267 267
             return (Criteria) this;
268 268
         }
269 269
 
270
-        public Criteria andOrgIdLessThan(Integer value) {
271
-            addCriterion("org_id <", value, "orgId");
270
+        public Criteria andWarehouseIdLessThan(Integer value) {
271
+            addCriterion("warehouse_id <", value, "warehouseId");
272 272
             return (Criteria) this;
273 273
         }
274 274
 
275
-        public Criteria andOrgIdLessThanOrEqualTo(Integer value) {
276
-            addCriterion("org_id <=", value, "orgId");
275
+        public Criteria andWarehouseIdLessThanOrEqualTo(Integer value) {
276
+            addCriterion("warehouse_id <=", value, "warehouseId");
277 277
             return (Criteria) this;
278 278
         }
279 279
 
280
-        public Criteria andOrgIdIn(List<Integer> values) {
281
-            addCriterion("org_id in", values, "orgId");
280
+        public Criteria andWarehouseIdIn(List<Integer> values) {
281
+            addCriterion("warehouse_id in", values, "warehouseId");
282 282
             return (Criteria) this;
283 283
         }
284 284
 
285
-        public Criteria andOrgIdNotIn(List<Integer> values) {
286
-            addCriterion("org_id not in", values, "orgId");
285
+        public Criteria andWarehouseIdNotIn(List<Integer> values) {
286
+            addCriterion("warehouse_id not in", values, "warehouseId");
287 287
             return (Criteria) this;
288 288
         }
289 289
 
290
-        public Criteria andOrgIdBetween(Integer value1, Integer value2) {
291
-            addCriterion("org_id between", value1, value2, "orgId");
290
+        public Criteria andWarehouseIdBetween(Integer value1, Integer value2) {
291
+            addCriterion("warehouse_id between", value1, value2, "warehouseId");
292 292
             return (Criteria) this;
293 293
         }
294 294
 
295
-        public Criteria andOrgIdNotBetween(Integer value1, Integer value2) {
296
-            addCriterion("org_id not between", value1, value2, "orgId");
295
+        public Criteria andWarehouseIdNotBetween(Integer value1, Integer value2) {
296
+            addCriterion("warehouse_id not between", value1, value2, "warehouseId");
297 297
             return (Criteria) this;
298 298
         }
299 299
 
300
-        public Criteria andWarehouseIdIsNull() {
301
-            addCriterion("warehouse_id is null");
300
+        public Criteria andOrgIdIsNull() {
301
+            addCriterion("org_id is null");
302 302
             return (Criteria) this;
303 303
         }
304 304
 
305
-        public Criteria andWarehouseIdIsNotNull() {
306
-            addCriterion("warehouse_id is not null");
305
+        public Criteria andOrgIdIsNotNull() {
306
+            addCriterion("org_id is not null");
307 307
             return (Criteria) this;
308 308
         }
309 309
 
310
-        public Criteria andWarehouseIdEqualTo(Integer value) {
311
-            addCriterion("warehouse_id =", value, "warehouseId");
310
+        public Criteria andOrgIdEqualTo(Integer value) {
311
+            addCriterion("org_id =", value, "orgId");
312 312
             return (Criteria) this;
313 313
         }
314 314
 
315
-        public Criteria andWarehouseIdNotEqualTo(Integer value) {
316
-            addCriterion("warehouse_id <>", value, "warehouseId");
315
+        public Criteria andOrgIdNotEqualTo(Integer value) {
316
+            addCriterion("org_id <>", value, "orgId");
317 317
             return (Criteria) this;
318 318
         }
319 319
 
320
-        public Criteria andWarehouseIdGreaterThan(Integer value) {
321
-            addCriterion("warehouse_id >", value, "warehouseId");
320
+        public Criteria andOrgIdGreaterThan(Integer value) {
321
+            addCriterion("org_id >", value, "orgId");
322 322
             return (Criteria) this;
323 323
         }
324 324
 
325
-        public Criteria andWarehouseIdGreaterThanOrEqualTo(Integer value) {
326
-            addCriterion("warehouse_id >=", value, "warehouseId");
325
+        public Criteria andOrgIdGreaterThanOrEqualTo(Integer value) {
326
+            addCriterion("org_id >=", value, "orgId");
327 327
             return (Criteria) this;
328 328
         }
329 329
 
330
-        public Criteria andWarehouseIdLessThan(Integer value) {
331
-            addCriterion("warehouse_id <", value, "warehouseId");
330
+        public Criteria andOrgIdLessThan(Integer value) {
331
+            addCriterion("org_id <", value, "orgId");
332 332
             return (Criteria) this;
333 333
         }
334 334
 
335
-        public Criteria andWarehouseIdLessThanOrEqualTo(Integer value) {
336
-            addCriterion("warehouse_id <=", value, "warehouseId");
335
+        public Criteria andOrgIdLessThanOrEqualTo(Integer value) {
336
+            addCriterion("org_id <=", value, "orgId");
337 337
             return (Criteria) this;
338 338
         }
339 339
 
340
-        public Criteria andWarehouseIdIn(List<Integer> values) {
341
-            addCriterion("warehouse_id in", values, "warehouseId");
340
+        public Criteria andOrgIdIn(List<Integer> values) {
341
+            addCriterion("org_id in", values, "orgId");
342 342
             return (Criteria) this;
343 343
         }
344 344
 
345
-        public Criteria andWarehouseIdNotIn(List<Integer> values) {
346
-            addCriterion("warehouse_id not in", values, "warehouseId");
345
+        public Criteria andOrgIdNotIn(List<Integer> values) {
346
+            addCriterion("org_id not in", values, "orgId");
347 347
             return (Criteria) this;
348 348
         }
349 349
 
350
-        public Criteria andWarehouseIdBetween(Integer value1, Integer value2) {
351
-            addCriterion("warehouse_id between", value1, value2, "warehouseId");
350
+        public Criteria andOrgIdBetween(Integer value1, Integer value2) {
351
+            addCriterion("org_id between", value1, value2, "orgId");
352 352
             return (Criteria) this;
353 353
         }
354 354
 
355
-        public Criteria andWarehouseIdNotBetween(Integer value1, Integer value2) {
356
-            addCriterion("warehouse_id not between", value1, value2, "warehouseId");
355
+        public Criteria andOrgIdNotBetween(Integer value1, Integer value2) {
356
+            addCriterion("org_id not between", value1, value2, "orgId");
357 357
             return (Criteria) this;
358 358
         }
359 359
 
@@ -1016,6 +1016,66 @@ public class StorageDailycheckExample {
1016 1016
             addCriterion("find_question not between", value1, value2, "findQuestion");
1017 1017
             return (Criteria) this;
1018 1018
         }
1019
+
1020
+        public Criteria andFlagTypeIsNull() {
1021
+            addCriterion("flag_type is null");
1022
+            return (Criteria) this;
1023
+        }
1024
+
1025
+        public Criteria andFlagTypeIsNotNull() {
1026
+            addCriterion("flag_type is not null");
1027
+            return (Criteria) this;
1028
+        }
1029
+
1030
+        public Criteria andFlagTypeEqualTo(Integer value) {
1031
+            addCriterion("flag_type =", value, "flagType");
1032
+            return (Criteria) this;
1033
+        }
1034
+
1035
+        public Criteria andFlagTypeNotEqualTo(Integer value) {
1036
+            addCriterion("flag_type <>", value, "flagType");
1037
+            return (Criteria) this;
1038
+        }
1039
+
1040
+        public Criteria andFlagTypeGreaterThan(Integer value) {
1041
+            addCriterion("flag_type >", value, "flagType");
1042
+            return (Criteria) this;
1043
+        }
1044
+
1045
+        public Criteria andFlagTypeGreaterThanOrEqualTo(Integer value) {
1046
+            addCriterion("flag_type >=", value, "flagType");
1047
+            return (Criteria) this;
1048
+        }
1049
+
1050
+        public Criteria andFlagTypeLessThan(Integer value) {
1051
+            addCriterion("flag_type <", value, "flagType");
1052
+            return (Criteria) this;
1053
+        }
1054
+
1055
+        public Criteria andFlagTypeLessThanOrEqualTo(Integer value) {
1056
+            addCriterion("flag_type <=", value, "flagType");
1057
+            return (Criteria) this;
1058
+        }
1059
+
1060
+        public Criteria andFlagTypeIn(List<Integer> values) {
1061
+            addCriterion("flag_type in", values, "flagType");
1062
+            return (Criteria) this;
1063
+        }
1064
+
1065
+        public Criteria andFlagTypeNotIn(List<Integer> values) {
1066
+            addCriterion("flag_type not in", values, "flagType");
1067
+            return (Criteria) this;
1068
+        }
1069
+
1070
+        public Criteria andFlagTypeBetween(Integer value1, Integer value2) {
1071
+            addCriterion("flag_type between", value1, value2, "flagType");
1072
+            return (Criteria) this;
1073
+        }
1074
+
1075
+        public Criteria andFlagTypeNotBetween(Integer value1, Integer value2) {
1076
+            addCriterion("flag_type not between", value1, value2, "flagType");
1077
+            return (Criteria) this;
1078
+        }
1019 1079
     }
1020 1080
 
1021 1081
     /**
@@ -1029,7 +1089,7 @@ public class StorageDailycheckExample {
1029 1089
     }
1030 1090
 
1031 1091
     /**
1032
-     * storage_dailycheck 2020-07-01
1092
+     * storage_dailycheck 2020-07-17
1033 1093
      */
1034 1094
     public static class Criterion {
1035 1095
         private String condition;

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

@@ -189,6 +189,8 @@ public class StorageQualitycheck {
189 189
 
190 190
     private String chooserOrgan;
191 191
 
192
+    private Integer flagType;
193
+
192 194
     //封仓业务字段
193 195
     private String disperseCapacity;
194 196
     private BigDecimal height;
@@ -1682,4 +1684,12 @@ public class StorageQualitycheck {
1682 1684
     public void setChooserOrgan(String chooserOrgan) {
1683 1685
         this.chooserOrgan = chooserOrgan;
1684 1686
     }
1687
+
1688
+    public Integer getFlagType() {
1689
+        return flagType;
1690
+    }
1691
+
1692
+    public void setFlagType(Integer flagType) {
1693
+        this.flagType = flagType;
1694
+    }
1685 1695
 }