java110
2021-06-18 1af4e76f8440b1efbbce3689fdcc16f4a4f2c6c3
service-acct/src/main/java/com/java110/acct/dao/impl/AccountWithdrawalApplyServiceDaoImpl.java
@@ -94,5 +94,35 @@
        return Integer.parseInt(businessAccountWithdrawalApplyInfos.get(0).get("count").toString());
    }
    /**
     * 查询账户提现信息(instance)
     * @param info bId 信息
     * @return List<Map>
     * @throws DAOException DAO异常
     */
    @Override
    public List<Map> listStateWithdrawalApplys(Map info) throws DAOException {
        logger.debug("查询账户提现信息 入参 info : {}",info);
        List<Map> businessAccountWithdrawalApplyInfos = sqlSessionTemplate.selectList("accountWithdrawalApplyServiceDaoImpl.listStateWithdrawalApplys",info);
        return businessAccountWithdrawalApplyInfos;
    }
    /**
     * 查询账户提现数量
     * @param info 账户提现信息
     * @return 账户提现数量
     */
    @Override
    public int listStateWithdrawalApplysCount(Map info) {
        logger.debug("查询账户提现数据 入参 info : {}",info);
        List<Map> businessAccountWithdrawalApplyInfos = sqlSessionTemplate.selectList("accountWithdrawalApplyServiceDaoImpl.listStateWithdrawalApplysCount", info);
        if (businessAccountWithdrawalApplyInfos.size() < 1) {
            return 0;
        }
        return Integer.parseInt(businessAccountWithdrawalApplyInfos.get(0).get("count").toString());
    }
}