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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.supply.purchase.domain.bo.DrpProductionPlan;
import com.bonus.canteen.core.supply.purchase.domain.param.DrpProductionPlanPageDTO;
import com.bonus.canteen.core.supply.purchase.domain.vo.DrpProductionPlanDetailVO;
import com.bonus.canteen.core.supply.purchase.domain.vo.DrpProductionPlanMaterialCountVO;
import com.bonus.canteen.core.supply.purchase.domain.vo.DrpProductionPlanPageVO;
import com.bonus.canteen.core.supply.purchase.domain.vo.DrpProductionPlanTotalVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DrpProductionPlanMapper extends BaseMapper<DrpProductionPlan> {
   List<DrpProductionPlanPageVO> pageProductionPlan(@Param("content") DrpProductionPlanPageDTO content, @Param("delFlag") Integer delFlag);

   List<DrpProductionPlanMaterialCountVO> materialCount(@Param("content") DrpProductionPlanPageDTO content);

   DrpProductionPlanDetailVO queryByPlanId(@Param("productionPlanId") String productionPlanId);

//   DrpProductionPlanTotalVO queryTotal(@Param("crby") String crby);
}
