@@ -29,7 +29,7 @@
<where>
a. STATUS = 1
<if test="siteId != null and siteId !=0">
- and c.site_id = #{siteId}
+ and b.site_id = #{siteId}
</if>
<if test="id != null and id !=0">
and a.id = #{id}