| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.fgkj.dto.BattInf; |
| | | import com.fgkj.dto.Cmcc_Power_Data; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | public interface Cmcc_Power_DataMapper{ |
| | | |
| | | public boolean add(Object obj); |
| | |
| | | |
| | | public List searchAll(); |
| | | //根据电池组id查询cmcc实时表中的实时电流画柱状图 |
| | | public List serchByCondition(Object obj); |
| | | @Select("SELECT (binary curr1) as curr1,(binary curr2) as curr2,(binary curr3) as curr3,(binary curr4) as curr4,(binary curr5) as curr5 " + |
| | | "FROM db_ram_db.cmcc_power_data WHERE dev_id IN(SELECT DISTINCT(fbsdeviceid) FROM db_battinf.tb_battinf where stationid=#{stationId} ) LIMIT 1 ") |
| | | public List<Cmcc_Power_Data> serchByCondition(BattInf obj); |
| | | |
| | | public List serchByInfo(Object obj); |
| | | |