| | |
| | | List<BattInf> list=mapper.getBattByUid(uid,provice,city,country,stationName); |
| | | return new Response().setII(1,list.size()>0,list,"获取站点下的电池组(下拉)"); |
| | | } |
| | | //根据查询条件获取电池组集合 |
| | | public BattInf getBattgroupIdList(Integer battgroupId) { |
| | | return mapper.getBattgroupIdList(battgroupId); |
| | | //根据查询条件获取电池组 |
| | | public BattInf getBattgroupIdInf(Integer battgroupId) { |
| | | return mapper.getBattgroupIdInf(battgroupId); |
| | | } |
| | | //查询电源下所有的电池组id |
| | | public List<Integer> getBattgroupIdList(Integer powerId) { |
| | | return mapper.getBattgroupIdList(powerId); |
| | | } |
| | | } |