Explorar o código

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

simonlll hai 4 meses
pai
achega
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 152
         if (params.containsKey("checkPointName")) {
153 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 159
         // 处理 postCode:通过 postCode 查询 sys_post 表获取 position_id 和 position_name
157 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 136
     @Excel(name = "app端已编辑", readConverterExp = "0=未编辑,1=已编辑")
137 137
     private Boolean appEdited;
138 138
 
139
+    /** 是否故意隐匿 */
140
+    @Excel(name = "是否故意隐匿", readConverterExp = "0=否,1=是")
141
+    private Integer isActiveConcealment;
142
+
139 143
     /** 纠正记录ID */
140 144
     private Long correctedRecordId;
141 145
 
@@ -440,6 +444,14 @@ public class FailedMatchItem extends BaseEntity {
440 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 455
     public Long getCorrectedRecordId() {
444 456
         return correctedRecordId;
445 457
     }

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

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