package com.patzn.lims.frame.service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.patzn.lims.core.web.IBaseService;
import com.patzn.lims.frame.entity.LmsYearPlan;
import com.patzn.lims.frame.entity.LmsYearPlanRecord;

import com.patzn.lims.frame.enums.PlanStatusEnum;

import java.util.List;

/**
 * <p>
 * 年度不确定度计划主表操作记录表 服务类
 * </p>
 *
 * @author patzn
 * @since 2018-07-25
 */
public interface ILmsYearPlanRecordService extends IBaseService<LmsYearPlanRecord> {


    Page<LmsYearPlanRecord> page(Page<LmsYearPlanRecord> page, LmsYearPlanRecord lmsYearPlanRecord);


    List<LmsYearPlanRecord> list(LmsYearPlanRecord lmsYearPlanRecord);


    boolean saveYearPlanRecordByIds(LmsYearPlan plan, PlanStatusEnum fromStatus, Integer type, Long[] ids, String reason);
}
