| | |
| | | import com.whyc.mapper.StationInfMapper; |
| | | import com.whyc.pojo.db_station.BattInf; |
| | | import com.whyc.pojo.db_station.PowerInf; |
| | | import com.whyc.pojo.db_station.PowerInfChange; |
| | | import com.whyc.pojo.db_station.StationInf; |
| | | import com.whyc.pojo.db_user.BaojigroupPower; |
| | | import com.whyc.pojo.db_user.BaojigroupUsr; |
| | |
| | | |
| | | @Autowired(required = false) |
| | | private BaojigroupPowerMapper bjPowerMapper; |
| | | |
| | | @Autowired(required = false) |
| | | private InfoChangeService changeService; |
| | | |
| | | /*添加电源 |
| | | 1.判断当前用户是否是包组用户 |
| | |
| | | wrapper.eq("power_id",powerId); |
| | | wrapper.last("limit 1"); |
| | | PowerInf pinf=mapper.selectOne(wrapper); |
| | | List<PowerInfChange> pinfChangeList=changeService.getPinfChange(powerId); |
| | | pinf.setPinfChangeList(pinfChangeList); |
| | | return pinf; |
| | | } |
| | | //电源信息统计 |