| | |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.whyc.dto.DevInfDto; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.mapper.A200RealStateMapper; |
| | | import com.whyc.mapper.DevA200RtStateMapper; |
| | | import com.whyc.mapper.ActmRealStateMapper; |
| | | import com.whyc.mapper.BattGroupBaojiGroupMapper; |
| | | import com.whyc.mapper.DevLithiumInfMapper; |
| | | import com.whyc.pojo.db_lithium_ram_db.A200RealState; |
| | | import com.whyc.pojo.db_lithium_ram_db.DevA200RtState; |
| | | import com.whyc.pojo.db_lithium_ram_db.ActmRealState; |
| | | import com.whyc.pojo.db_lithium_ram_db.DevLithiumInf; |
| | | import com.whyc.pojo.db_user.BattGroupBaojiGroup; |
| | |
| | | private DevLithiumInfMapper mapper; |
| | | |
| | | @Autowired(required = false) |
| | | private A200RealStateMapper a200Mapper; |
| | | private DevA200RtStateMapper a200Mapper; |
| | | |
| | | @Autowired(required = false) |
| | | private ActmRealStateMapper actmMapper; |
| | |
| | | QueryWrapper a200wrapper= Wrappers.query(); |
| | | a200wrapper.eq("dev_id",a200.getDevId()); |
| | | a200wrapper.last("limit 1"); |
| | | A200RealState a200state=a200Mapper.selectOne(a200wrapper); |
| | | DevA200RtState a200state=a200Mapper.selectOne(a200wrapper); |
| | | //a200.setA200sTate(a200state); |
| | | a200.setState(a200state!=null?a200state:null); |
| | | } |