| | |
| | | package com.xcong.excoin.modules.member.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.xcong.excoin.modules.member.entity.MemberWalletCoinEntity; |
| | | |
| | | /** |
| | | * @author wzy |
| | | */ |
| | | public interface MemberWalletCoinDao extends BaseMapper<MemberWalletCoinEntity> { |
| | | } |
| | | package com.xcong.excoin.modules.member.dao;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
| | | import com.xcong.excoin.modules.member.entity.MemberWalletCoinEntity;
|
| | |
|
| | | /**
|
| | | * @author wzy
|
| | | */
|
| | | public interface MemberWalletCoinDao extends BaseMapper<MemberWalletCoinEntity> {
|
| | |
|
| | | List<MemberWalletCoinEntity> selectMemberWalletCoinsByMemberId(Long memberId);
|
| | |
|
| | | MemberWalletCoinEntity selectWalletCoinBymIdAndCode(@Param("memberId") Long memberId, @Param("walletCode") String walletCode);
|
| | |
|
| | | int updateFrozenBalance(@Param("memberId") Long memberId, @Param("id") Long id, @Param("amount") BigDecimal amount);
|
| | |
|
| | | int subFrozenBalance(@Param("memberId") Long memberId, @Param("id") Long id, @Param("amount") BigDecimal amount);
|
| | |
|
| | | int updateBlockBalance(@Param("id") Long id, @Param("availableBalance") BigDecimal availableBalance, @Param("earlyBalance") BigDecimal earlyBalance, @Param("blockNumber") Integer blockNumber);
|
| | | int updateWalletBalance(@Param("id") Long id, @Param("availableBalance") BigDecimal availableBalance, @Param("totalBalance") BigDecimal totalBalance, @Param("frozenBalance") BigDecimal frozenBalance);
|
| | | }
|