|
|
|
@@ -800,9 +800,6 @@ |
|
|
|
<if test=" null != parentTenantId and '' != parentTenantId"> |
|
|
|
and co.`parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
<if test=" null != cUserPhone and '' != cUserPhone"> |
|
|
|
and cu.`phone` = #{cUserPhone} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != couponOrderStatus "> |
|
|
|
and co.coupon_order_status = #{couponOrderStatus} |
|
|
|
@@ -836,21 +833,6 @@ |
|
|
|
<if test=" null != orderId "> |
|
|
|
and co.order_id = #{orderId} |
|
|
|
</if> |
|
|
|
<if test=" null != couponId "> |
|
|
|
and c.id = #{couponId} |
|
|
|
</if> |
|
|
|
<if test=" null != title "> |
|
|
|
and c.title like concat('%', #{title},'%') |
|
|
|
</if> |
|
|
|
<if test=" null != type "> |
|
|
|
and c.`type` = #{type} |
|
|
|
</if> |
|
|
|
<if test=" null != business "> |
|
|
|
and c.business = #{business} |
|
|
|
</if> |
|
|
|
<if test=" null != sourceType "> |
|
|
|
and c.`source_type` = #{sourceType} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != couponIds"> |
|
|
|
and co.coupon_id in |
|
|
|
|