|
|
|
@@ -1232,11 +1232,12 @@ |
|
|
|
wx_coupon_order |
|
|
|
WHERE |
|
|
|
`tenant_id` = #{tenantId} |
|
|
|
AND DATE_FORMAT( create_date, '%Y' ) = '2023' |
|
|
|
<if test=" null != couponOrderStatus"> |
|
|
|
and `coupon_order_status` = #{couponOrderStatus} |
|
|
|
AND `coupon_order_status` = #{couponOrderStatus} |
|
|
|
</if> |
|
|
|
<if test=" null != specificDate"> |
|
|
|
and DATE_FORMAT( create_date, '%Y-%m-%d' ) = DATE_FORMAT( #{specificDate}, '%Y-%m-%d' ) |
|
|
|
AND DATE_FORMAT( create_date, '%Y-%m-%d' ) = DATE_FORMAT( #{specificDate}, '%Y-%m-%d' ) |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
|