/*
 * Copyright (c) 2024 codvision.com All Rights Reserved.
 */

package com.codvision.basic.service.patrol;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.codvision.basic.entity.patrol.PatrolPoint;
import com.codvision.basic.entity.vo.patrol.PatrolPointVO;
import com.codvision.webcore.bean.QueryPage;

import java.util.List;
import java.util.Map;

/**
 * @author codvision
 */
public interface PatrolPointService extends IService<PatrolPoint> {

    /**
     * 分页列表
     * @param queryPage 查询条件
     * @return 列表
     */
    IPage<PatrolPoint> getPageResult(QueryPage<Map<String, Object>> queryPage);

    List<PatrolPointVO> getPointByRecordId(Integer recordId, Integer routeId);

    void batchDel(List<Integer> pointIds);

}
