@@ -48,6 +48,9 @@
#{item}
</foreach>
</if>
+ <if test="bgqx != null and bgqx != ''">
+ and a.bgqx=#{bgqx}
+ </if>
) AS archive_count
, (
SELECT count(af.id)
@@ -62,15 +65,15 @@
) AS file_count
FROM tab_archives a1
<where>
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
AND a1.gdnd BETWEEN #{startTime} AND #{endTime}
- <if test="bgqx != null and bgqx != ''">
- and a1.bgqx=#{bgqx}
- </if>
</where>
GROUP BY a1.gdnd
</select>