|
@@ -145,7 +145,7 @@
|
|
AND (t2.start_time_ <= #{record.timestamp} AND #{record.timestamp} <= t2.end_time_)
|
|
AND (t2.start_time_ <= #{record.timestamp} AND #{record.timestamp} <= t2.end_time_)
|
|
</if>
|
|
</if>
|
|
<if test="record.couponTypes != null">
|
|
<if test="record.couponTypes != null">
|
|
- AND t1.coupon_type_ IN (<foreach collection="record.couponTypes" separator="," item="item">#{item}</foreach>)
|
|
|
|
|
|
+ AND t1.category_ IN (<foreach collection="record.couponTypes" separator="," item="item">#{item}</foreach>)
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|