package com.njcn.product.event.devcie.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.product.event.devcie.pojo.dto.DeviceDTO;
import com.njcn.product.event.devcie.pojo.dto.DeviceDeptDTO;
import org.springframework.stereotype.Service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njcn.product.event.devcie.pojo.po.PqDevice;
import com.njcn.product.event.devcie.mapper.PqDeviceMapper;
import com.njcn.product.event.devcie.service.PqDeviceService;
/**
 *
 * 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();
    }
}
