From aadf58d2110d3f71582bd31d28d0e50cbb878ced Mon Sep 17 00:00:00 2001 From: hellolujian <1370256381@qq.com> Date: Fri, 14 Sep 2018 19:43:29 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E7=BA=A2=E5=8C=85=E5=85=B3=E8=81=94global?= =?UTF-8?q?pay=5Fopenid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mappers/redpack/ActPartnerLMLogMapper.xml | 24 +++++++++++++------ .../ActRedPacketsCustomerOrdersMapper.xml | 8 +++++-- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActPartnerLMLogMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActPartnerLMLogMapper.xml index 0ca13ae4e..a0663b740 100644 --- a/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActPartnerLMLogMapper.xml +++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActPartnerLMLogMapper.xml @@ -52,12 +52,18 @@ - SELECT count(1) FROM act_red_packets_orders WHERE open_id=#{open_id} and date(event_time) = date(#{event_date}) and status !=0 and act_id = '2' + SELECT count(1) + FROM act_red_packets_orders + WHERE open_id=#{open_id} + and date(event_time) = date(#{event_date}) + and status !=0 and act_id = '2' diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActRedPacketsCustomerOrdersMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActRedPacketsCustomerOrdersMapper.xml index 55621d54a..4e58cf59b 100644 --- a/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActRedPacketsCustomerOrdersMapper.xml +++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/redpack/ActRedPacketsCustomerOrdersMapper.xml @@ -24,15 +24,19 @@ AND status != 0 AND act_id = #{act_id} +