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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.supply.purchase.domain.bo.DrpInspectGoods;
import com.bonus.canteen.core.supply.purchase.domain.param.DrpInspectGoodsPageDTO;
import com.bonus.canteen.core.supply.purchase.domain.vo.DrpInspectGoodsPageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface DrpInspectGoodsMapper extends BaseMapper<DrpInspectGoods> {
   List<DrpInspectGoodsPageVO> pageInspectGoods(@Param("content") DrpInspectGoodsPageDTO content);

//   BigDecimal sumInspectQualifiedNum(@Param("deliveryGoodsId") String deliveryGoodsId);
//
//   Integer getDeliveryOnTimeNum(@Param("supplierId") Long supplierId, @Param("startTime") LocalDate startTime, @Param("endTime") LocalDate endTime, @Param("status") Integer status, @Param("ifOnTime") Integer ifOnTime);

//   DrpInspectGoodsTotalVO queryTotal(@Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);
}
