/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.equipment.mapper; import org.springblade.modules.equipment.entity.Equipment; import org.springblade.modules.equipment.vo.EquipmentVO; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import org.springblade.modules.equipment.vo.EquipmentVOS; import org.springblade.modules.system.vo.DeptVO; import java.util.List; import java.util.Map; /** * Mapper 接口 * * @author BladeX * @since 2020-07-01 */ public interface EquipmentMapper extends BaseMapper { List selectEquipmentPage(String deviceName, String addvcd, String dtype, String devicestate); void s(Equipment equipment); void updateOne(Equipment equipment); /** * 树形结构 * * @return */ List tree(); /** * 懒加载部门列表 * @param parentId * @param param * @return */ List lazyList(Long parentId, Map param); /** * 设备列表 * @param deviceType * @return */ List selectList(String deviceType); EquipmentVOS selectInfo(Equipment equipment); List> selectInfos(String deviceNumber); void updateChannel(String heartbeat,String deviceNumber); }