| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.jfpt.alarm.vo.AlarmVO; |
| | | import org.springblade.jfpt.equipment.entity.Equipment; |
| | | import org.springblade.jfpt.equipment.vo.EquipmentVO; |
| | |
| | | |
| | | List<EquipmentVO> selectEquipmentPage(IPage page, EquipmentVO equipment,List childList); |
| | | |
| | | List<EquipmentVO> selectDeptPages(IPage page, EquipmentVO equipment,List childList,String dxtype); |
| | | List<EquipmentVO> selectDeptPages(IPage page, EquipmentVO equipment,@Param("pid") String pid,String dxtype); |
| | | |
| | | void s(Equipment equipment); |
| | | void updateOne(Equipment equipment); |
| | | void saveImg(EquipmentVO equipment); |
| | | void updataType(String arr); |
| | | void updataTypeC(String arr); |
| | | /** |
| | |
| | | */ |
| | | List<EquipmentVOS> tree(); |
| | | |
| | | List<EquipmentVO> listAll(); |
| | | List<EquipmentVO> listAll(@Param("equipment") EquipmentVO equipment); |
| | | |
| | | List<EquipmentVO> listAlls(); |
| | | |
| | | /** |
| | | * 懒加载部门列表 |
| | |
| | | List<Map<String, Object>> selectInfos(String deviceNumber); |
| | | void updateChannel(String heartbeat, String deviceNumber); |
| | | void updateexpireTime(String expireTime, String deviceNumber); |
| | | void updateExstate(String state,String reason, String deviceNumber); |
| | | |
| | | /** |
| | | * 修改设备状态 2021-5-6 arsn修改 |
| | | * @param dtype 设备状态 |
| | | * @param reason 原因 |
| | | * @param deviceNumber 设备编号 |
| | | */ |
| | | void updateExstate(String dtype,String reason, String deviceNumber); |
| | | Integer selectEqCz(); |
| | | Integer selectEqCd(); |
| | | List<Map<String, Object>> selectEqCy(String time); |
| | | Integer selectEqCg(); |
| | | |
| | | /** |
| | | * 当前预警设备数量 |
| | | * @return |
| | | */ |
| | | Integer selectEqCys(); |
| | | |
| | | /** |
| | | * 查询所有的设备,不包含故障和警情状态 |
| | | * @return |
| | | */ |
| | | List<Equipment> selAllEq(); |
| | | |
| | | /** |
| | | * 批量更新设备状态改为在线 |
| | | * @param equipmentListz 设备信息集合 |
| | | */ |
| | | void updateEqListz(@Param("equipmentListz") List<Long> equipmentListz); |
| | | |
| | | /** |
| | | * 批量更新设备状态改为离线 |
| | | * @param equipmentListl 设备信息集合 |
| | | */ |
| | | void updateEqListl(@Param("equipmentListl") List<Long> equipmentListl); |
| | | } |