package com.patzn.lims.drug.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.patzn.lims.core.web.Account;
import com.patzn.lims.core.web.IBaseService;
import com.patzn.lims.drug.entity.DrugItemRecord;
import com.patzn.lims.drug.eunms.ItemStatusEnum;

/**
 * <p>
 * 食药检测项目操作日志表 服务类
 * </p>
 *
 * @author wwd
 * @since 2020-02-29
 */
public interface IDrugItemRecordService extends IBaseService<DrugItemRecord> {

    Page<DrugItemRecord> page(Page<DrugItemRecord> page, DrugItemRecord drugItemRecord);


    boolean record(Account account, ItemStatusEnum draft, ItemStatusEnum make, Long[] ids);


    boolean record(Account account, ItemStatusEnum draft, ItemStatusEnum make, Long[] ids,String remark);


    boolean record(Account account, ItemStatusEnum draft, ItemStatusEnum make, Long[] ids,int type,String remark);
}
