package cn.wise.sc.cement.business.mapper;

import cn.wise.sc.cement.business.entity.PlanStandardPurchase;
import cn.wise.sc.cement.business.model.vo.PlanEquipmentPurchaseVo;
import cn.wise.sc.cement.business.model.vo.PlanStandardPurchaseVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author ztw
 * @since 2020-09-28
 */
public interface PlanStandardPurchaseMapper extends BaseMapper<PlanStandardPurchase> {

	IPage<PlanStandardPurchaseVo> getPage(@Param("page") Page page, @Param("params") Map<String, Object> params);

	List<Map<String, Object>> exportList(@Param("params") Map<String, Object> params);

	PlanStandardPurchaseVo getDetail(Integer id);

	List<PlanStandardPurchaseVo> wordList( @Param("params") Map<String, Object> params);

}
