Просмотр исходного кода

增加: is_active_concealment是否故意隐匿 字段

simonlll месяцев назад: 4
Родитель
Сommit
333d8f23d7

+ 3 - 0
airport-admin/src/main/java/com/sundot/airport/web/controller/item/FailedMatchItemController.java

@@ -152,6 +152,9 @@ public class FailedMatchItemController extends BaseController {
152
         if (params.containsKey("checkPointName")) {
152
         if (params.containsKey("checkPointName")) {
153
             failedMatchItem.setCheckPointName(params.get("checkPointName").toString());
153
             failedMatchItem.setCheckPointName(params.get("checkPointName").toString());
154
         }
154
         }
155
+        if (params.containsKey("isActiveConcealment")) {
156
+            failedMatchItem.setIsActiveConcealment(Integer.valueOf(params.get("isActiveConcealment").toString()));
157
+        }
155
 
158
 
156
         // 处理 postCode:通过 postCode 查询 sys_post 表获取 position_id 和 position_name
159
         // 处理 postCode:通过 postCode 查询 sys_post 表获取 position_id 和 position_name
157
         if (params.containsKey("postCode")) {
160
         if (params.containsKey("postCode")) {

+ 12 - 0
airport-item/src/main/java/com/sundot/airport/item/domain/FailedMatchItem.java

@@ -136,6 +136,10 @@ public class FailedMatchItem extends BaseEntity {
136
     @Excel(name = "app端已编辑", readConverterExp = "0=未编辑,1=已编辑")
136
     @Excel(name = "app端已编辑", readConverterExp = "0=未编辑,1=已编辑")
137
     private Boolean appEdited;
137
     private Boolean appEdited;
138
 
138
 
139
+    /** 是否故意隐匿 */
140
+    @Excel(name = "是否故意隐匿", readConverterExp = "0=否,1=是")
141
+    private Integer isActiveConcealment;
142
+
139
     /** 纠正记录ID */
143
     /** 纠正记录ID */
140
     private Long correctedRecordId;
144
     private Long correctedRecordId;
141
 
145
 
@@ -440,6 +444,14 @@ public class FailedMatchItem extends BaseEntity {
440
         this.appEdited = appEdited;
444
         this.appEdited = appEdited;
441
     }
445
     }
442
 
446
 
447
+    public Integer getIsActiveConcealment() {
448
+        return isActiveConcealment;
449
+    }
450
+
451
+    public void setIsActiveConcealment(Integer isActiveConcealment) {
452
+        this.isActiveConcealment = isActiveConcealment;
453
+    }
454
+
443
     public Long getCorrectedRecordId() {
455
     public Long getCorrectedRecordId() {
444
         return correctedRecordId;
456
         return correctedRecordId;
445
     }
457
     }

+ 7 - 0
airport-item/src/main/resources/mapper/item/FailedMatchItemMapper.xml

@@ -54,6 +54,7 @@
54
         <result property="checkPointId" column="check_point_id"/>
54
         <result property="checkPointId" column="check_point_id"/>
55
         <result property="checkPointName" column="check_point_name"/>
55
         <result property="checkPointName" column="check_point_name"/>
56
         <result property="appEdited" column="app_edited"/>
56
         <result property="appEdited" column="app_edited"/>
57
+        <result property="isActiveConcealment" column="is_active_concealment"/>
57
         <result property="remark" column="remark"/>
58
         <result property="remark" column="remark"/>
58
     </resultMap>
59
     </resultMap>
59
 
60
 
@@ -107,6 +108,7 @@
107
                check_point_id,
108
                check_point_id,
108
                check_point_name,
109
                check_point_name,
109
                app_edited,
110
                app_edited,
111
+               is_active_concealment,
110
                remark
112
                remark
111
         from failed_match_item
113
         from failed_match_item
112
     </sql>
114
     </sql>
@@ -192,6 +194,8 @@
192
             <if test="prohibitedItemCategoryId != null">prohibited_item_category_id,</if>
194
             <if test="prohibitedItemCategoryId != null">prohibited_item_category_id,</if>
193
             <if test="checkPointId != null">check_point_id,</if>
195
             <if test="checkPointId != null">check_point_id,</if>
194
             <if test="checkPointName != null">check_point_name,</if>
196
             <if test="checkPointName != null">check_point_name,</if>
197
+            <if test="appEdited != null">app_edited,</if>
198
+            <if test="isActiveConcealment != null">is_active_concealment,</if>
195
             <if test="remark != null">remark,</if>
199
             <if test="remark != null">remark,</if>
196
         </trim>
200
         </trim>
197
         <trim prefix="values (" suffix=")" suffixOverrides=",">
201
         <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -242,6 +246,8 @@
242
             <if test="prohibitedItemCategoryId != null">#{prohibitedItemCategoryId},</if>
246
             <if test="prohibitedItemCategoryId != null">#{prohibitedItemCategoryId},</if>
243
             <if test="checkPointId != null">#{checkPointId},</if>
247
             <if test="checkPointId != null">#{checkPointId},</if>
244
             <if test="checkPointName != null">#{checkPointName},</if>
248
             <if test="checkPointName != null">#{checkPointName},</if>
249
+            <if test="appEdited != null">#{appEdited},</if>
250
+            <if test="isActiveConcealment != null">#{isActiveConcealment},</if>
245
             <if test="remark != null">#{remark},</if>
251
             <if test="remark != null">#{remark},</if>
246
         </trim>
252
         </trim>
247
     </insert>
253
     </insert>
@@ -295,6 +301,7 @@
295
             <if test="checkPointId != null">check_point_id = #{checkPointId},</if>
301
             <if test="checkPointId != null">check_point_id = #{checkPointId},</if>
296
             <if test="checkPointName != null">check_point_name = #{checkPointName},</if>
302
             <if test="checkPointName != null">check_point_name = #{checkPointName},</if>
297
             <if test="appEdited != null">app_edited = #{appEdited},</if>
303
             <if test="appEdited != null">app_edited = #{appEdited},</if>
304
+            <if test="isActiveConcealment != null">is_active_concealment = #{isActiveConcealment},</if>
298
             <if test="remark != null">remark = #{remark},</if>
305
             <if test="remark != null">remark = #{remark},</if>
299
         </trim>
306
         </trim>
300
         where id = #{id}
307
         where id = #{id}