package com.njcn.device.pq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.device.biz.pojo.po.PqsDeviceUnit;
import com.njcn.device.pq.pojo.vo.PqsDeviceUnitVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wr
 * @since 2023-08-21
 */
public interface PqsDeviceUnitMapper extends BaseMapper<PqsDeviceUnit> {

    /**
     * @Description: 查询终端单位信息
     * @param devFlag
     * @return: java.util.List<com.njcn.device.pq.pojo.vo.PqsDeviceUnitVo.DeviceUnit>
     * @Author: wr
     * @Date: 2023/8/21 14:17
     */
    List<PqsDeviceUnitVo.DeviceUnit> deviceUnitList(@Param("devFlag") String devFlag);

    /**
     * @Description: 根据监测点信息查询
     * @param ids
     * @return: java.util.List<com.njcn.device.biz.pojo.po.PqsDeviceUnit>
     * @Author: wr
     * @Date: 2023/8/21 14:17
     */
    PqsDeviceUnit deviceUnitByID(@Param("ids") String ids);

}
