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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.supply.dto.DrpOrderGoodsManagePageDTO;
import com.bonus.canteen.core.supply.dto.DrpPayAndRefundRecordsListDTO;
import com.bonus.canteen.core.supply.po.DrpOrderGoodsPay;
import com.bonus.canteen.core.supply.vo.DrpOrderGoodsManageDetailVO;
import com.bonus.canteen.core.supply.vo.DrpOrderGoodsManagePageVO;
import com.bonus.canteen.core.supply.vo.DrpOrderGoodsManageTotalVO;
import com.bonus.canteen.core.supply.vo.DrpOrderGoodsPayListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DrpOrderGoodsPayMapper extends BaseMapper<DrpOrderGoodsPay> {
   List<DrpOrderGoodsPayListVO> listPayRecords(@Param("content") DrpPayAndRefundRecordsListDTO content);

   List<DrpOrderGoodsManagePageVO> getOrderGoodsPayList(@Param("content") DrpOrderGoodsManagePageDTO content, @Param("type") Integer type);

   DrpOrderGoodsManageDetailVO getOrderGoodsPayDetail(@Param("id") long id);

   DrpOrderGoodsManageTotalVO getOrderGoodsPayTotal(@Param("content") DrpOrderGoodsManagePageDTO content, @Param("type") Integer type);
}
