package com.yeejoin.amos.api.householdapi.face.orm.mapper.tdengine;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.api.householdapi.face.orm.houseapi.entity.tdeingine.ImasterStationList;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

public interface ImasterStationMapper  extends BaseMapper<ImasterStationList> {
    @Select("select * from imaster_station_list")
    List<ImasterStationList> getStationInfo();

    @Select("select plant_code as plantCode  from imaster_station_list group by plant_code")
    List<String> getStationIds();
}
