package cn.reghao.tnb.user.app.db.mapper;

import cn.reghao.jutil.jdk.db.BaseMapper;
import cn.reghao.tnb.user.app.model.po.WalletBill;
import cn.reghao.tnb.user.app.model.vo.WalletDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author reghao
 * @date 2024-04-16 16:51:51
 */
@Mapper
public interface WalletBillMapper extends BaseMapper<WalletBill> {
    List<WalletBill> findByOwner(@Param("pageSize") int pageSize, @Param("owner") long owner);
    WalletDetail findByTypeAndOwner(int type, long owner);
}
