package com.bonus.canteen.core.supply.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.supply.dto.DrpRefundGoodsPageDTO;
import com.bonus.canteen.core.supply.po.DrpRefundGoods;
import com.bonus.canteen.core.supply.po.OrderRefundNumModel;
import com.bonus.canteen.core.supply.vo.DrpRefundGoodsPageVO;
import com.bonus.canteen.core.supply.vo.DrpRefundTotalVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DrpRefundGoodsMapper extends BaseMapper<DrpRefundGoods> {
   List<DrpRefundGoodsPageVO> pageRefundGoods(@Param("content") DrpRefundGoodsPageDTO content);

   List<OrderRefundNumModel> listOrderRefundNum(@Param("orderGoodsIdList") List<String> orderGoodsIdList);

   DrpRefundTotalVO queryTotal();
}
