From 4438583bb8d170e929e9d118315b80516642a0f4 Mon Sep 17 00:00:00 2001 From: xhxu Date: Wed, 9 Mar 2022 10:09:22 +0800 Subject: [PATCH] =?UTF-8?q?/.=20=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mallinkService/src/main/resources/mapper/TtCUserMapper.xml | 2 +- mallinkService/src/main/resources/mapper/WxCUserMapper.xml | 2 +- .../src/main/resources/mapper/WxCouponOrderMapper.xml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/TtCUserMapper.xml b/mallinkService/src/main/resources/mapper/TtCUserMapper.xml index c40c193bc..3fb904143 100644 --- a/mallinkService/src/main/resources/mapper/TtCUserMapper.xml +++ b/mallinkService/src/main/resources/mapper/TtCUserMapper.xml @@ -326,7 +326,7 @@ SELECT DATE_FORMAT(create_date,'%Y-%m-%d') as xTime,IFNULL(SUM(coupon_price),0) as price from wx_coupon_order - where create_date_times >= unix_timestamp(#{startTime}) and create_date_times < unix_timestamp(#{endTime}) + where create_date_times >= unix_timestamp(#{startTime})*1000 and create_date_times < unix_timestamp(#{endTime})*1000 and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} @@ -822,11 +822,11 @@ - AND co.create_date_times > unix_timestamp(#{startDate}) + AND co.create_date_times > unix_timestamp(#{startDate})*1000 - AND co.create_date_times < unix_timestamp(#{endDate}) + AND co.create_date_times < unix_timestamp(#{endDate})*1000