| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.mapper.ActmRealStateMapper; |
| | | import com.whyc.pojo.db_lithium_ram_db.ActmRealstate; |
| | | import com.whyc.pojo.db_lithium_ram_db.ActmRealState; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | public Response getActmState(int devId) { |
| | | QueryWrapper wrapper=new QueryWrapper(); |
| | | wrapper.eq("dev_id",devId); |
| | | List<ActmRealstate> list=mapper.selectList(wrapper); |
| | | List<ActmRealState> list=mapper.selectList(wrapper); |
| | | return new Response().setII(1,list!=null,list,"均衡仪Actm实时数据"); |
| | | } |
| | | } |