|
|
@@ -46,5 +46,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="courseId != null and courseId != ''" >
|
|
|
AND t.course_id = #{courseId}
|
|
|
</if>
|
|
|
+ <if test="couponType != null and couponType != ''" >
|
|
|
+ AND c.coupon_type = #{couponType}
|
|
|
+ </if>
|
|
|
+ <if test="userStatus != null and userStatus != ''" >
|
|
|
+ AND c.user_status = #{userStatus}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
</mapper>
|