cloudroam
2024-11-07 37f3d16b75bb388d665c93ff0ed3945093df42bc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.mzl.flower.mapper.wallet;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mzl.flower.dto.request.wallet.QueryWalletBillDTO;
import com.mzl.flower.dto.request.wallet.QueryWalletBillRecordDTO;
import com.mzl.flower.dto.response.wallet.WalletBillRecordVO;
import com.mzl.flower.entity.wallet.WalletBillRecordDO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author @TaoJie
 * @since 2024-10-22
 */
@Repository
public interface WalletBillRecordMapper extends BaseMapper<WalletBillRecordDO> {
 
    List<WalletBillRecordVO> queryPage(@Param("dto") QueryWalletBillRecordDTO queryWalletBillRecordDTO, Page page);
 
    List<WalletBillRecordVO> queryWalletBillRecordList(@Param("dto") QueryWalletBillRecordDTO queryWalletBillRecordDTO);
    List<WalletBillRecordVO> getPage(Page page, @Param("dto") QueryWalletBillDTO dto);
 
    List<WalletBillRecordVO> getPageByDesc(Page page, @Param("dto") QueryWalletBillDTO dto);
 
 
    @Select("select * from t_wallet_withdraw_record where withdraw_record_id  = #{withdrawRecordId}")
    WalletBillRecordDO getBillRecordByWithdrawRecordId(Long withdrawRecordId);
 
}