package com.njcn.product.terminal.oracleDevice.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.njcn.product.terminal.oracleDevice.mapper.PqDeviceMapper;
import com.njcn.product.terminal.oracleDevice.pojo.dto.DeviceDTO;
import com.njcn.product.terminal.oracleDevice.pojo.dto.DeviceDeptDTO;
import com.njcn.product.terminal.oracleDevice.pojo.po.PqDevice;
import com.njcn.product.terminal.oracleDevice.service.PqDeviceService;
import org.springframework.stereotype.Service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 *
 * Description:
 * Date: 2025/06/19  下午 1:47【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Service
public class PqDeviceServiceImpl extends ServiceImpl<PqDeviceMapper, PqDevice> implements PqDeviceService {

    @Override
    public List<DeviceDTO> queryListByIds(List<Integer> lineIds) {
        return this.baseMapper.queryListByIds(lineIds);
    }

    @Override
    public Page<DeviceDTO> selectDeviceDTOPage(Page<DeviceDTO> pqsEventdetailPage, String searchValue, List<Integer> devIndexs) {
        return this.baseMapper.selectDeviceDTOPage(pqsEventdetailPage,searchValue,devIndexs);
    }

    @Override
    public List<DeviceDeptDTO> selectDeviceDept() {
        return this.baseMapper.selectDeviceDept();
    }
}
