配置界面的Cfg Id检索条件 增加范围和in的检索方式
This commit is contained in:
@@ -761,6 +761,16 @@
|
||||
<if test="compileId != null">
|
||||
AND r.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND r.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND r.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND r.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND r.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
@@ -931,6 +941,16 @@
|
||||
<if test="compileId != null">
|
||||
AND r.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND r.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND r.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND r.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="compileGroupMap != null">
|
||||
and r.COMPILE_ID in
|
||||
<foreach collection="compileGroupMap.keys" index="index" item="compileId" open="(" separator="," close=")">
|
||||
@@ -1140,6 +1160,16 @@
|
||||
<if test="compileId != null">
|
||||
AND r.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND r.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND r.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND r.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND r.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
@@ -1241,6 +1271,16 @@
|
||||
<if test="compileId != null">
|
||||
AND r.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND r.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND r.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND r.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND r.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
@@ -1539,6 +1579,16 @@
|
||||
<if test="compileId != null">
|
||||
AND r.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND r.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND r.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND r.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND r.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
@@ -308,6 +308,16 @@
|
||||
<if test="compileId != null">
|
||||
AND r.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND r.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND r.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND r.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND r.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
@@ -164,6 +164,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND a.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
@@ -352,6 +352,16 @@
|
||||
<if test="compileId != null">
|
||||
AND r.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND r.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND r.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND r.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND r.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
@@ -234,6 +234,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND a.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
@@ -245,6 +245,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND a.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
@@ -917,6 +927,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND a.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
@@ -252,6 +252,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND a.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
@@ -696,6 +706,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND a.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
@@ -1130,6 +1150,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND a.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
@@ -1105,6 +1105,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND a.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
@@ -128,6 +128,16 @@
|
||||
<if test="compileId != null">
|
||||
AND r.compile_id=#{compileId,jdbcType=BIGINT}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND r.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND r.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND r.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="srcIpAddress != null and srcIpAddress != ''">
|
||||
AND r.src_ip_address=#{srcIpAddress,jdbcType=VARCHAR}
|
||||
</if>
|
||||
@@ -638,6 +648,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.compile_id=#{compileId,jdbcType=BIGINT}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="srcIpAddress != null and srcIpAddress != ''">
|
||||
AND a.original_dest_ip=#{srcIpAddress,jdbcType=VARCHAR}
|
||||
</if>
|
||||
|
||||
@@ -196,6 +196,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND a.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
@@ -215,6 +215,16 @@
|
||||
<if test="compileId != null">
|
||||
AND a.COMPILE_ID=#{compileId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdStart != null and compileIdEnd != null">
|
||||
AND a.COMPILE_ID >= #{compileIdStart,jdbcType=INTEGER}
|
||||
AND a.COMPILE_ID <= #{compileIdEnd,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="compileIdNewList !=null">
|
||||
AND a.COMPILE_ID in
|
||||
<foreach collection="compileIdNewList" index="index" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="isAreaEffective != null">
|
||||
AND a.IS_AREA_EFFECTIVE=#{isAreaEffective,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user