@@ -568,6 +568,9 @@
<if test="wc != null and wc != ''">
and a.WC = #{wc}
</if>
+ <if test="tableName != null and tableName != ''">
+ and a.TABLENAME = #{tableName}
+ </if>
<choose>
<when test="sortName != null and sortName != '' and sortOrder != null and sortOrder != ''">
order by ${sortName} ${sortOrder} DESC