package com.yuchen.saas.park.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yuchen.saas.park.api.entity.park.FireInspectPointEntity;
import com.yuchen.saas.park.api.response.FireInspectPlanLogResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName FireInspectPointMapper
 * @Description 消防巡查点映射
 * @Author 肖祥
 * @Date 2022/10/19 11:45
 * @Version 1.0。0
 **/
@Mapper
public interface FireInspectPointMapper extends BaseMapper<FireInspectPointEntity> {

    /**
     * 分页查询巡查点关联的计划任务数据
     * @param page
     * @param pointId
     * @return
     */
    IPage<FireInspectPlanLogResponse> queryPage(IPage<FireInspectPlanLogResponse> page, @Param("pointId") Long pointId, @Param("list")List<Long> parkIdList);

}
