package com.chushang.inspection.terminal.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.po.FiveStore;
import com.chushang.inspection.terminal.query.FiveUnifiedStoreDetailsQuery;
import com.chushang.inspection.terminal.vo.FiveStoreVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
  * @auther: zhao
  * @date: 2024/6/21 16:39
  */
public interface FiveStoreMapper extends BaseMapper<FiveStore> {
    @DataScope(deptAlias = "t")
    List<FiveStoreVO> pageList(@Param("query") FiveUnifiedStoreDetailsQuery query,
                               Page<FiveStoreVO> page);
}
