package org.jeecg.modules.deviceAsset.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.deviceAsset.dto.SwitchManagementQueryDTO;
import org.jeecg.modules.deviceAsset.entity.SwitchManagement;
import org.jeecg.modules.deviceAsset.vo.SwitchManagementQueryVO;

/**
 * @Description: 资产管理-道岔管理
 */
public interface SwitchManagementMapper extends BaseMapper<SwitchManagement> {

    Page<SwitchManagementQueryVO> queryPageList(Page<SwitchManagementQueryVO> pageData, SwitchManagementQueryDTO dto);

    Long checkSwitchCodeRepeat(String id, String lightRailId, String switchCode);
}
