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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.api.householdapi.face.orm.houseapi.entity.hygf.JpInverter;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface JpInverterMapper extends BaseMapper<JpInverter> {
    @Select("SELECT sum(current_power) FROM hygf_jp_inverter WHERE third_code='HW'")
    Double getHuaWeiStationCurrentPower();

    @Select("select sn_code from hygf_jp_inverter where third_code='GOODWE'")
    List<String> getGoodWeSnCodes();
}
