| | |
| | | wrapper.in("alm_id",dto.getAlmIdList()); |
| | | } |
| | | wrapper.orderByAsc("alm_id"); |
| | | PageHelper.startPage(dto.getPageNum(),dto.getPageSize()); |
| | | //PageHelper.startPage(dto.getPageNum(),dto.getPageSize()); |
| | | List<BattAlmparam> list = mapper.selectList(wrapper); |
| | | PageInfo<BattAlmparam> pageInfo=new PageInfo<>(list); |
| | | return new Response().setII(1,list!=null,pageInfo,"获取电池告警参数"); |
| | | //PageInfo<BattAlmparam> pageInfo=new PageInfo<>(list); |
| | | return new Response().setII(1,list!=null,list,"获取电池告警参数"); |
| | | } |
| | | //修改电池告警参数 |
| | | public Response setBattAlmParam(List<BattAlmparam> almparamList) { |
| | |
| | | wrapper.in("alm_id",dto.getAlmIdList()); |
| | | } |
| | | wrapper.orderByAsc("alm_id"); |
| | | PageHelper.startPage(dto.getPageNum(),dto.getPageSize()); |
| | | //PageHelper.startPage(dto.getPageNum(),dto.getPageSize()); |
| | | List<PwrdevAlarmParam> list = mapper.selectList(wrapper); |
| | | if(list!=null && list.size()>0){ |
| | | for (PwrdevAlarmParam alm:list) { |
| | |
| | | }*/ |
| | | } |
| | | } |
| | | PageInfo<PwrdevAlarmParam> pageInfo=new PageInfo(list); |
| | | return new Response().setII(1,list!=null,pageInfo,"获取电源告警参数"); |
| | | // PageInfo<PwrdevAlarmParam> pageInfo=new PageInfo(list); |
| | | return new Response().setII(1,list!=null,list,"获取电源告警参数"); |
| | | } |
| | | //修改电源告警参数 |
| | | public Response setPwrAlmParam(List<PwrdevAlarmParam> almparamList) { |