|
@@ -226,15 +226,12 @@
|
|
|
OR FRONT_GB = 'A'
|
|
OR FRONT_GB = 'A'
|
|
|
</if>
|
|
</if>
|
|
|
)
|
|
)
|
|
|
- <if test='mallGb != null and mallGb != ""'>
|
|
|
|
|
- AND IFNULL(EXTMALL_ID,'') != '' /*제휴몰만*/
|
|
|
|
|
- <if test='multiExtmallId != null and multiExtmallId != ""'>
|
|
|
|
|
|
|
+ <if test='multiExtmallId != null and multiExtmallId != ""'>
|
|
|
AND EXTMALL_ID IN
|
|
AND EXTMALL_ID IN
|
|
|
- <foreach collection="multiExtmallId" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
|
- #{item}
|
|
|
|
|
- </foreach>
|
|
|
|
|
- </if>
|
|
|
|
|
- </if>
|
|
|
|
|
|
|
+ <foreach collection="multiExtmallId" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
|
+ #{item}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </if>
|
|
|
AND (
|
|
AND (
|
|
|
1 = 1
|
|
1 = 1
|
|
|
<if test='distributionGbWms != null and distributionGbWms != ""'>
|
|
<if test='distributionGbWms != null and distributionGbWms != ""'>
|
|
@@ -303,14 +300,11 @@
|
|
|
OR SOD.FRONT_GB = 'A'
|
|
OR SOD.FRONT_GB = 'A'
|
|
|
</if>
|
|
</if>
|
|
|
)
|
|
)
|
|
|
- <if test='mallGb != null and mallGb != ""'>
|
|
|
|
|
- AND IFNULL(SOD.EXTMALL_ID,'') != '' /*제휴몰만*/
|
|
|
|
|
- <if test='multiExtmallId != null and multiExtmallId != ""'>
|
|
|
|
|
|
|
+ <if test='multiExtmallId != null and multiExtmallId != ""'>
|
|
|
AND SOD.EXTMALL_ID IN
|
|
AND SOD.EXTMALL_ID IN
|
|
|
- <foreach collection="multiExtmallId" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
|
- #{item}
|
|
|
|
|
- </foreach>
|
|
|
|
|
- </if>
|
|
|
|
|
|
|
+ <foreach collection="multiExtmallId" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
|
+ #{item}
|
|
|
|
|
+ </foreach>
|
|
|
</if>
|
|
</if>
|
|
|
AND (
|
|
AND (
|
|
|
1 = 1
|
|
1 = 1
|