IPSpoofing配置批量审核操作增加欺骗IP池配置处理,修正图片样例批量审核功能

This commit is contained in:
zhangwenqing
2019-04-22 17:23:03 +08:00
parent 77c7649b6a
commit f773c95c0b
5 changed files with 124 additions and 6 deletions

View File

@@ -815,6 +815,19 @@
</foreach>
</where>
</when>
<when test="tableName == 'pxy_obj_spoofing_ip_pool'" >
UPDATE ${tableName} SET
is_valid = #{entity.isValid,jdbcType=INTEGER},
is_audit = #{entity.isAudit,jdbcType=INTEGER},
auditor_id = #{entity.auditorId,jdbcType=INTEGER},
audit_time = #{entity.auditTime,jdbcType=TIMESTAMP}
<where>
AND cfg_id IN
<foreach collection="compileIds" index="index" item="compileId" open="(" separator="," close=")">
#{compileId}
</foreach>
</where>
</when>
<otherwise>
update ${tableName} set is_audit = #{entity.isAudit,jdbcType=INTEGER},
auditor_id = #{entity.auditorId,jdbcType=INTEGER},
@@ -1030,7 +1043,13 @@
<foreach collection="compileIds" index="index" item="compileId" open="(" separator="," close=")">
#{compileId}
</foreach>
</when>
</when>
<when test="tableName == 'pxy_obj_spoofing_ip_pool'" >
AND cfg_id IN
<foreach collection="compileIds" index="index" item="compileId" open="(" separator="," close=")">
#{compileId}
</foreach>
</when>
<otherwise>
AND compile_id IN
<foreach collection="compileIds" index="index" item="compileId" open="(" separator="," close=")">