package com.inspect.exec.service.impl;

import com.inspect.exec.domain.DBPatrolPoint;
import com.inspect.exec.mapper.DBPatrolPointMapper;
import com.inspect.exec.service.IDBPatrolPointService;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DBPatrolPointServiceImpl implements IDBPatrolPointService {
    private final DBPatrolPointMapper dbPatrolPointMapper;

    public DBPatrolPointServiceImpl(DBPatrolPointMapper dbPatrolPointMapper) {
        this.dbPatrolPointMapper = dbPatrolPointMapper;
    }

    public DBPatrolPoint selectBasedataPatrolPointByPatrolPointId(Long patrolPointId) {
        return this.dbPatrolPointMapper.selectBasedataPatrolPointByPatrolPointId(patrolPointId);
    }

    public List<DBPatrolPoint> selectBasedataPatrolPointList(DBPatrolPoint basedataPatrolPoint) {
        return this.dbPatrolPointMapper.selectBasedataPatrolPointList(basedataPatrolPoint);
    }
}
