package com.njcn.product.terminal.oracleDevice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

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 org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * Description:
 * Date: 2025/06/19  下午 1:47【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
public interface PqDeviceMapper extends BaseMapper<PqDevice> {
    List<DeviceDTO> queryListByIds(@Param("ids") List<Integer> ids);

    Page<DeviceDTO> selectDeviceDTOPage(Page<DeviceDTO> pqsEventdetailPage, @Param("searchValue") String searchValue,@Param("devIndexs") List<Integer> devIndexs);

    Page<DeviceDTO> queryListByLineIds(Page<DeviceDTO> pqsEventdetailPage, @Param("searchValue") String searchValue,@Param("lineIds") List<Integer> lineIds);


    List<DeviceDeptDTO> selectDeviceDept();
}
