package com.whyc.mapper; import com.whyc.pojo.db_batt.PowerInf; import org.apache.ibatis.annotations.Select; import java.util.List; public interface PowerInfMapper extends CustomMapper{ Integer selectMaxBattGroupId(); int getMaxPowerId(); @Select("select distinct producer from db_batt.power_inf where producer is not null") List getProducerList(); }