package com.tongran.mtragent.mapper;

import com.tongran.mtragent.domain.RmMtrClientRegistration;

import java.util.List;

/**
 * MTR客户端注册Mapper接口
 * 
 * @author tongran
 * @date 2025-11-18
 */
public interface RmMtrClientRegistrationMapper 
{
    /**
     * 查询MTR客户端注册
     * 
     * @param id MTR客户端注册主键
     * @return MTR客户端注册
     */
    public RmMtrClientRegistration selectRmMtrClientRegistrationById(Long id);

    /**
     * 查询MTR客户端注册列表
     * 
     * @param rmMtrClientRegistration MTR客户端注册
     * @return MTR客户端注册集合
     */
    public List<RmMtrClientRegistration> selectRmMtrClientRegistrationList(RmMtrClientRegistration rmMtrClientRegistration);

    /**
     * 新增MTR客户端注册
     * 
     * @param rmMtrClientRegistration MTR客户端注册
     * @return 结果
     */
    public int insertRmMtrClientRegistration(RmMtrClientRegistration rmMtrClientRegistration);

    /**
     * 修改MTR客户端注册
     * 
     * @param rmMtrClientRegistration MTR客户端注册
     * @return 结果
     */
    public int updateRmMtrClientRegistration(RmMtrClientRegistration rmMtrClientRegistration);

    /**
     * 删除MTR客户端注册
     * 
     * @param id MTR客户端注册主键
     * @return 结果
     */
    public int deleteRmMtrClientRegistrationById(Long id);

    /**
     * 批量删除MTR客户端注册
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRmMtrClientRegistrationByIds(Long[] ids);

    /**
     * 获取所有标识
     * @param rmMtrClientRegistration
     * @return
     */
    List<RmMtrClientRegistration> getAllLogicalNode(RmMtrClientRegistration rmMtrClientRegistration);

    /**
     * 根据mtrClientId查询mtr管理信息
     * @param rmMtrClientRegistration
     * @return
     */
    RmMtrClientRegistration getMsgByMtrClientId(RmMtrClientRegistration rmMtrClientRegistration);
}
