You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
977 B
32 lines
977 B
package com.zc.business.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.zc.business.domain.DcDevice;
|
|
import com.zc.business.domain.DcSwitch;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 交换机Mapper接口
|
|
*
|
|
* @author wangjiabao
|
|
*/
|
|
@Mapper
|
|
public interface DcSwitchMapper extends BaseMapper<DcSwitch> {
|
|
List<DcSwitch> getSwitchList(DcSwitch dcSwitch);
|
|
|
|
int updateBatchByNetWorkStatus(List<DcSwitch> list);
|
|
|
|
//查询交换机ip存在的设备id
|
|
List<DcSwitch> getSwitchIPDeviceId();
|
|
//根据设备ip查询设备id
|
|
List<DcDevice> getDcDeviceId(String deviceIp);
|
|
//依据交换机ip查询交换机名称
|
|
List<DcSwitch> getSwitchName(String switchIp);
|
|
//根据交换机ip查询对应的桩号
|
|
DcSwitch getStakeMark(String switchIp);
|
|
//根据桩号查询设备箱的物联id
|
|
DcDevice getIotDeviceIdAndIp(String stakeMark);
|
|
}
|
|
|