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.FastenerManagementDTO;
import org.jeecg.modules.deviceAsset.entity.FastenerManagement;
import org.jeecg.modules.deviceAsset.vo.FastenerManagementVO;

/**
 * <p>
 * 资产管理-扣件管理 Mapper 接口
 * </p>
 *
 * @author hkl
 * @since 2023-07-06
 */
public interface FastenerManagementMapper extends BaseMapper<FastenerManagement> {

    Page<FastenerManagementVO> queryPageList(Page<FastenerManagementVO> pageData, FastenerManagementDTO dto);

    Long checkFastenerCodeRepeat(String id, String lightRailId, String fastenerCode);
}
