package com.chushang.inspection.work.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chushang.datascope.annotation.DataScope;
import com.chushang.inspection.terminal.query.TerminalQuery;
import com.chushang.inspection.terminal.vo.StoreTerminalVO;
import com.chushang.inspection.work.po.WrkInfoTerminalRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
  * @auther: zhao
  * @date: 2024/6/26 17:13
  */
public interface WrkInfoTerminalRecordMapper extends BaseMapper<WrkInfoTerminalRecord> {
    @DataScope(deptAlias = "i")
    List<StoreTerminalVO> minePageList(@Param("query") TerminalQuery query,
                                       Page<StoreTerminalVO> page);
}
