| | |
| | | import com.whyc.dto.Param.ParamAlmDto; |
| | | import com.whyc.dto.Real.QuarterDto; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.dto.SocreHehaviorDto; |
| | | import com.whyc.dto.Statistic.*; |
| | | import com.whyc.factory.InfoFactory; |
| | | import com.whyc.mapper.BattInfMapper; |
| | |
| | | return mapper.getBattgroupIdInf(battgroupId); |
| | | } |
| | | //查询电源下所有的电池组id |
| | | public List<Integer> getBattgroupIdListByPowerId(Integer powerId) { |
| | | public List<BattInf> getBattgroupIdListByPowerId(Integer powerId) { |
| | | return mapper.getBattgroupIdListByPowerId(powerId); |
| | | } |
| | | //查询设备下所有的电池组id |
| | | public List<Integer> getBattgroupIdListByDevId(Integer devId) { |
| | | public List<BattInf> getBattgroupIdListByDevId(Integer devId) { |
| | | return mapper.getBattgroupIdListByDevId(devId); |
| | | } |
| | | //询符合条件的电池组权重表格评分 |
| | | public List<BattInf> getScoreByHehavior(SocreHehaviorDto dto) { |
| | | return mapper.getScoreByHehavior(dto); |
| | | } |
| | | } |