| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public Result findAllWalletCoinOrder() {
|
| | | public Result findAllWalletCoinOrder(String symbol) {
|
| | | //获取用户ID
|
| | | Long memberId = LoginUserUtils.getAppLoginUser().getId();
|
| | |
|
| | | OrderWalletCoinDealListVo orderWalletCoinDealListVo = new OrderWalletCoinDealListVo();
|
| | | List<OrderWalletCoinDealVo> arrayList = new ArrayList<OrderWalletCoinDealVo>();
|
| | |
|
| | | List<OrderCoinsDealEntity> selectAllWalletCoinOrder = orderCoinDealDao.selectAllWalletCoinOrder(memberId);
|
| | | List<OrderCoinsDealEntity> selectAllWalletCoinOrder = orderCoinDealDao.selectAllWalletCoinOrderBySymbol(memberId,symbol);
|
| | | if(CollUtil.isNotEmpty(selectAllWalletCoinOrder)) {
|
| | | for(OrderCoinsDealEntity orderCoinsDealEntity: selectAllWalletCoinOrder) {
|
| | | OrderWalletCoinDealVo entityToVo = OrderWalletCoinDealMapper.INSTANCE.entityToVoOrder(orderCoinsDealEntity);
|