From 0da6e5f9023dd56791ac6c20caf653917f469069 Mon Sep 17 00:00:00 2001 From: luoyang Date: Tue, 19 Feb 2019 13:48:30 +0800 Subject: [PATCH 1/6] =?UTF-8?q?fix=20=E8=BF=87=E6=BB=A4=E6=8E=89=E6=9C=AA?= =?UTF-8?q?=E5=BC=80=E5=90=AF=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98=E7=9A=84?= =?UTF-8?q?=E5=95=86=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payment/manage/analysis/mappers/ClientAnalysisMapper.xml | 1 + .../payment/merchantid/templates/no_trade_sub_merchant_id.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/ClientAnalysisMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/ClientAnalysisMapper.xml index 4135ca3e0..86bc1fc60 100644 --- a/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/ClientAnalysisMapper.xml +++ b/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/ClientAnalysisMapper.xml @@ -247,6 +247,7 @@ (SELECT p.sub_merchant_id FROM sys_clients p INNER JOIN pmt_orders o ON o.client_id = p.client_id AND o.status >4 AND o.confirm_time IS NOT NULL WHERE datediff(now(), o.create_time) <= 25 AND p.sub_merchant_id is not null GROUP BY p.sub_merchant_id) AND c.sub_merchant_id IS not null AND c.merchant_id IS NOT NULL AND (c.approve_result = 1 OR c.approve_result= 2) AND c.is_valid = 1 + AND c.enable_wechat = 1 ]]> GROUP by c.sub_merchant_id diff --git a/src/main/ui/static/payment/merchantid/templates/no_trade_sub_merchant_id.html b/src/main/ui/static/payment/merchantid/templates/no_trade_sub_merchant_id.html index 925e83c5c..25a30ccdb 100644 --- a/src/main/ui/static/payment/merchantid/templates/no_trade_sub_merchant_id.html +++ b/src/main/ui/static/payment/merchantid/templates/no_trade_sub_merchant_id.html @@ -16,6 +16,9 @@