From 49a592f3b1ff80101ba44476ad1fe53dd38ceb0d Mon Sep 17 00:00:00 2001 From: xmzhao71 Date: Mon, 16 Oct 2023 17:08:22 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"feat=EF=BC=9A=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=BD=93=E5=89=8D=E5=B9=B4=E6=95=B0=E6=8D=AE?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 47d2a750 --- .../src/main/resources/mapper/WxCouponOrderMapper.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml index 02a14cf9e..f66016e62 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml @@ -1232,12 +1232,11 @@ wx_coupon_order WHERE `tenant_id` = #{tenantId} - AND DATE_FORMAT( create_date, '%Y' ) = '2023' - AND `coupon_order_status` = #{couponOrderStatus} + and `coupon_order_status` = #{couponOrderStatus} - 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' )