|
@@ -68,6 +68,9 @@
|
|
|
left join ${gatherSql} g on g.resource_id = v.id
|
|
|
</if>
|
|
|
where 1=1
|
|
|
+ <if test="linkStatus != null and linkStatus != ''">
|
|
|
+ and link_status = #{linkStatus}
|
|
|
+ </if>
|
|
|
<if test="zoneId != null">
|
|
|
and a.zoneId = #{zoneId}
|
|
|
</if>
|
|
@@ -133,6 +136,9 @@
|
|
|
left join ${gatherSql} g on g.resource_id = v.id
|
|
|
</if>
|
|
|
where 1=1
|
|
|
+ <if test="linkStatus != null and linkStatus != ''">
|
|
|
+ and link_status = #{linkStatus}
|
|
|
+ </if>
|
|
|
<if test="zoneId != null">
|
|
|
and a.zoneId = #{zoneId}
|
|
|
</if>
|