新增机器人配置实体类、Mapper、Service及Controller,实现机器人配置的增删改查功能, 支持树形结构配置管理,包含配置ID、类型、父节点ID及节点名称等字段。
62 lines
1.3 KiB
Java
62 lines
1.3 KiB
Java
package com.cmvr.device.mapper;
|
|
|
|
import java.util.List;
|
|
import com.cmvr.device.domain.DeRobotConfig;
|
|
|
|
/**
|
|
* 机器人配置Mapper接口
|
|
*
|
|
* @author cmvr-iot
|
|
* @date 2025-09-09
|
|
*/
|
|
public interface DeRobotConfigMapper
|
|
{
|
|
/**
|
|
* 查询机器人配置
|
|
*
|
|
* @param id 机器人配置主键
|
|
* @return 机器人配置
|
|
*/
|
|
public DeRobotConfig selectDeRobotConfigById(String id);
|
|
|
|
/**
|
|
* 查询机器人配置列表
|
|
*
|
|
* @param deRobotConfig 机器人配置
|
|
* @return 机器人配置集合
|
|
*/
|
|
public List<DeRobotConfig> selectDeRobotConfigList(DeRobotConfig deRobotConfig);
|
|
|
|
/**
|
|
* 新增机器人配置
|
|
*
|
|
* @param deRobotConfig 机器人配置
|
|
* @return 结果
|
|
*/
|
|
public int insertDeRobotConfig(DeRobotConfig deRobotConfig);
|
|
|
|
/**
|
|
* 修改机器人配置
|
|
*
|
|
* @param deRobotConfig 机器人配置
|
|
* @return 结果
|
|
*/
|
|
public int updateDeRobotConfig(DeRobotConfig deRobotConfig);
|
|
|
|
/**
|
|
* 删除机器人配置
|
|
*
|
|
* @param id 机器人配置主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteDeRobotConfigById(String id);
|
|
|
|
/**
|
|
* 批量删除机器人配置
|
|
*
|
|
* @param ids 需要删除的数据主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteDeRobotConfigByIds(String[] ids);
|
|
}
|