package com.patzn.lims.frame.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.patzn.lims.frame.entity.LmsYearPlan;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 年度总计划表 Mapper 接口
 * </p>
 *
 * @author patzn
 * @since 2018-06-26
 */
public interface LmsYearPlanMapper extends BaseMapper<LmsYearPlan> {

    List<LmsYearPlan> selectPageReport(Page page, @Param("plan") LmsYearPlan lmsYearPlan);

    int updateYearPlan(Long id, int status);


    List<LmsYearPlan> listYearPlan(Page page, @Param("plan") LmsYearPlan lmsYearPlan, @Param("end") int end, @Param("startDate") Date startDate, @Param("endDate") Date endDate);
}
