package com.sckw.payment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.payment.model.KwpSettlementOffline;
import com.sckw.payment.model.dto.SettlementOfflineDto;
import com.sckw.payment.model.vo.SettlementVo;
import com.sckw.payment.model.vo.req.SettlementOfflineReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Aick Spt
 * @date 2023-07-25 10:44
 */
@Mapper
public interface KwpSettlementOfflineMapper extends BaseMapper<KwpSettlementOffline> {
    List<SettlementOfflineDto> pageListLogisticsCollection(@Param("offlineReq") SettlementOfflineReq settlementOfflineReq);

    SettlementOfflineDto detailLogisticsCollection(@Param("id") Long id);


    List<SettlementOfflineDto> pageList(@Param("offlineReq") SettlementOfflineReq settlementOfflineReq);

    /**
     * app端查询列表
     *
     * @param settlementOfflineReq
     * @return
     */
    List<SettlementVo> appList(@Param("offlineReq") SettlementOfflineReq settlementOfflineReq);

    /**
     * 运营端查询
     *
     * @param settlementOfflineReq
     * @return
     */
    List<SettlementOfflineDto> list(@Param("offlineReq") SettlementOfflineReq settlementOfflineReq);
}