@@ -26,7 +26,8 @@
</if>
- WHERE A.brand_id = #{sBrandId}
+ WHERE A.del_yn = 'N'
+ AND A.brand_id = #{sBrandId}
<if test="sStoreId != null and sStoreId != ''">
AND C.store_id = #{sStoreId}