diff --git a/pom.xml b/pom.xml index c96ce8545..b6d943ab6 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 manage - 1.3.45 + 1.3.46 UTF-8 1.4.0 diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/act/ActAppMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/act/ActAppMapper.xml index 2a8bc1e08..1e35cf676 100644 --- a/src/main/resources/au/com/royalpay/payment/manage/mappers/act/ActAppMapper.xml +++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/act/ActAppMapper.xml @@ -16,7 +16,8 @@ select * from act_app_list where is_valid = 1 - and expire_date > #{now} + and active_date <=NOW() + and expire_date > NOW() order by create_time desc limit 1