From b78c2c9f09ba1aa096abaf89f1826f177f016b99 Mon Sep 17 00:00:00 2001 From: "taylor.dang" Date: Fri, 17 Aug 2018 18:13:27 +0800 Subject: [PATCH] fix risk --- .../manage/mappers/risk/RiskAttentionMerchantsAMapper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/au/com/royalpay/payment/manage/mappers/risk/RiskAttentionMerchantsAMapper.java b/src/main/java/au/com/royalpay/payment/manage/mappers/risk/RiskAttentionMerchantsAMapper.java index 46f817c70..b62a39eca 100644 --- a/src/main/java/au/com/royalpay/payment/manage/mappers/risk/RiskAttentionMerchantsAMapper.java +++ b/src/main/java/au/com/royalpay/payment/manage/mappers/risk/RiskAttentionMerchantsAMapper.java @@ -1,5 +1,6 @@ package au.com.royalpay.payment.manage.mappers.risk; +import cn.yixblog.support.mybatis.autosql.annotations.AdvanceSelect; import cn.yixblog.support.mybatis.autosql.annotations.AutoMapper; import cn.yixblog.support.mybatis.autosql.annotations.AutoSql; import cn.yixblog.support.mybatis.autosql.annotations.SqlType; @@ -26,6 +27,7 @@ public interface RiskAttentionMerchantsAMapper { JSONObject findByClientMoniker(@Param("client_moniker") String client_moniker); @AutoSql(type = SqlType.SELECT) + @AdvanceSelect(addonWhereClause = "is_valid=1") PageList query(JSONObject params, PageBounds pagination); }