package com.inspect.patrol.service.impl;

import com.inspect.patrol.domain.LinkageTaskInfo;
import com.inspect.patrol.domain.PatrolLinkageStrategyRef;
import com.inspect.patrol.mapper.PatrolDeviceMapper;
import com.inspect.patrol.service.IPatrolDeviceService;

import java.util.List;

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

@Service
public class PatrolDeviceServiceImpl implements IPatrolDeviceService {
    private final PatrolDeviceMapper patrolDeviceMapper;

    public PatrolDeviceServiceImpl(PatrolDeviceMapper patrolDeviceMapper) {
        this.patrolDeviceMapper = patrolDeviceMapper;
    }

    public List<LinkageTaskInfo> selectPatrolDeviceList(List<PatrolLinkageStrategyRef> patrolLinkageStrategyRefs) {
        return this.patrolDeviceMapper.selectPatrolDeviceList(patrolLinkageStrategyRefs);
    }
}
