| | |
| | | import com.java110.core.base.dao.BaseServiceDao; |
| | | import com.java110.acct.dao.IAccountWithdrawalApplyServiceDao; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | |
| | | 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()); |
| | | } |
| | | } |