| | |
| | | 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("memberId")BigDecimal amount);
|
| | | }
|