@@ -49,6 +49,7 @@
, TB_GOODS G
WHERE R.CUST_NO = C.CUST_NO
AND R.GOODS_CD = G.GOODS_CD
+ AND R.DEL_YN = 'N'
<if test="goodsCds != null and goodsCds != ''">
AND (
<foreach collection="goodsCds" item="item" index="index" separator="or">