package com.ktg.iscs.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ktg.common.mapper.BaseMapperX;
import com.ktg.iscs.domain.IsMaterialsCheckRecord;
import com.ktg.iscs.domain.dto.checkRecord.CheckRecordPageDTO;
import com.ktg.iscs.domain.vo.checkRecord.IsMaterialsCheckRecordVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 物资检查记录Mapper接口
 *
 * @author cgj
 * @date 2025-01-14
 */
@Mapper
public interface IsMaterialsCheckRecordMapper extends BaseMapperX<IsMaterialsCheckRecord> {

    Page<IsMaterialsCheckRecordVO> getIsMaterialsCheckRecordPage(Page<IsMaterialsCheckRecord> page, @Param(value = "dto") CheckRecordPageDTO dto);

    List<IsMaterialsCheckRecord> getCheckMaterialsByCabinetCode(@Param(value = "planId") Long planId, @Param(value = "cabinetId") Long cabinetId);
}
