package com.jwipc.shopping.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.shopping.entity.ShoppingPay;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.shopping.model.po.ShoppingPayDetailPO;
import com.jwipc.shopping.model.query.ShoppingPayDetailQuery;
import com.jwipc.shopping.model.query.ShoppingPayQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商城付款主表 Mapper 接口
 * </p>
 *
 * @author zx
 * @since 2024-04-10
 */
public interface ShoppingPayMapper extends BaseMapper<ShoppingPay> {
    List<ShoppingPayDetailPO> findPayDetail( @Param("query") ShoppingPayDetailQuery query);

    List<ShoppingPay> findShoppingPay( @Param("query") ShoppingPayQuery query);

    List<ShoppingPay> findShoppingPay(Page<ShoppingPay> page,  @Param("query") ShoppingPayQuery query);

    List<ShoppingPayDetailPO> selectPayExportData(@Param("query") ShoppingPayDetailQuery query);
}
