xiaoyong931011
2020-05-27 8e59b50b2164392b06328f1215638a31238f1c9b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
}