diff --git a/pom.xml b/pom.xml index d42d12543..f4ca9a6f8 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 manage - 1.4.9 + 1.4.10 UTF-8 1.8.0 diff --git a/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/TransactionAnalysisMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/TransactionAnalysisMapper.xml index 1735082c6..38aa9f338 100644 --- a/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/TransactionAnalysisMapper.xml +++ b/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/TransactionAnalysisMapper.xml @@ -1116,13 +1116,13 @@ statistics_customer_order so inner JOIN sys_clients c ON so.client_id = c.client_id AND c.is_valid = 1 - + + AND (c.royalpayindustry =1 or c.royalpayindustry like '100%') + + AND c.royalpayindustry like #{industry} - - AND (c.royalpayindustry =1 or c.royalpayindustry like '100%') - and so.date >= #{from} and so.date < #{to} and so.client_id!=0 @@ -1147,13 +1147,13 @@ statistics_customer_order so inner JOIN sys_clients c ON so.client_id = c.client_id AND c.is_valid = 1 - + + AND (c.royalpayindustry =1 or c.royalpayindustry like '100%') + + AND c.royalpayindustry like #{industry} - - AND (c.royalpayindustry =1 or c.royalpayindustry like '100%') - and so.date= #{transDate} and so.client_id!=0 diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/system/ClientMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/system/ClientMapper.xml index 6812d0dbb..b754e2870 100644 --- a/src/main/resources/au/com/royalpay/payment/manage/mappers/system/ClientMapper.xml +++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/system/ClientMapper.xml @@ -89,13 +89,13 @@ AND c.business_structure=#{business_structure} - + + AND (c.royalpayindustry =1 or c.royalpayindustry like '100%') + + AND c.royalpayindustry like #{industry} - - AND (c.royalpayindustry =1 or c.royalpayindustry like '100%') - AND c.create_time >= #{create_start_time}