| | |
| | | package com.fgkj.mapper.impl; |
| | | |
| | | import java.util.LinkedList; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Description :电池实时数据,同时需要电池组/电池时使用 |
| | | * @date 2020/09/04 |
| | | **/ |
| | | import com.fgkj.dto.Batt_rtdata; |
| | | import com.fgkj.dto.Batt_rtstate; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | public interface Batt_rtMapper { |
| | | |
| | | |
| | | public Map searchByGroupId(int groupId); |
| | | @Select("select num,BattGroupId,batt_test_type,batt_state,online_vol,group_vol,group_curr,rec_datetime,batt_test_tlong,batt_test_cap,batt_real_cap,batt_rest_cap,batt_rest_power1_time,batt_rest_power2_time " + |
| | | "from db_ram_db.tb_batt_rtstate where BattGroupId=#{battGroupId}") |
| | | public LinkedList<Batt_rtstate> searchByGroupId(int groupId); |
| | | @Select("select mon_num,mon_vol,mon_res,mon_tmp,mon_ser,mon_JH_curr from db_ram_db.tb_batt_rtdata where BattGroupId=#{battGroupId}") |
| | | LinkedList<Batt_rtdata> searchByGroupId2(int groupId); |
| | | } |