MerchantFundMapper.java 3.36 KB
package com.diligrp.rider.mapper;

import com.diligrp.rider.vo.MerchantBillDetailItemVO;
import com.diligrp.rider.vo.MerchantBillItemVO;
import com.diligrp.rider.vo.RiderBillDetailItemVO;
import com.diligrp.rider.vo.RiderBillItemVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MerchantFundMapper {
    long countMerchantBills(@Param("cityId") Long cityId,
                            @Param("keyword") String keyword,
                            @Param("startTime") Long startTime,
                            @Param("endTime") Long endTime);

    List<MerchantBillItemVO> selectMerchantBills(@Param("cityId") Long cityId,
                                                 @Param("keyword") String keyword,
                                                 @Param("startTime") Long startTime,
                                                 @Param("endTime") Long endTime,
                                                 @Param("offset") int offset,
                                                 @Param("pageSize") int pageSize);

    long countMerchantBillDetails(@Param("cityId") Long cityId,
                                  @Param("outStoreId") String outStoreId,
                                  @Param("startTime") Long startTime,
                                  @Param("endTime") Long endTime);

    List<MerchantBillDetailItemVO> selectMerchantBillDetails(@Param("cityId") Long cityId,
                                                             @Param("outStoreId") String outStoreId,
                                                             @Param("startTime") Long startTime,
                                                             @Param("endTime") Long endTime,
                                                             @Param("offset") int offset,
                                                             @Param("pageSize") int pageSize);

    long countRiderBills(@Param("cityId") Long cityId,
                         @Param("keyword") String keyword,
                         @Param("startTime") Long startTime,
                         @Param("endTime") Long endTime);

    List<RiderBillItemVO> selectRiderBills(@Param("cityId") Long cityId,
                                           @Param("keyword") String keyword,
                                           @Param("startTime") Long startTime,
                                           @Param("endTime") Long endTime,
                                           @Param("offset") int offset,
                                           @Param("pageSize") int pageSize);

    long countRiderBillDetails(@Param("cityId") Long cityId,
                               @Param("riderId") Long riderId,
                               @Param("startTime") Long startTime,
                               @Param("endTime") Long endTime);

    List<RiderBillDetailItemVO> selectRiderBillDetails(@Param("cityId") Long cityId,
                                                       @Param("riderId") Long riderId,
                                                       @Param("startTime") Long startTime,
                                                       @Param("endTime") Long endTime,
                                                       @Param("offset") int offset,
                                                       @Param("pageSize") int pageSize);
}