- 创建行为树主对象实体类Behaviortree,包含ID、名称、描述、创建时间、更新时间、英文名和XML内容字段 - 实现行为树控制器BehaviortreeController,提供增删改查和导出功能接口 - 开发行为树数据访问层,包括Mapper接口和MyBatis XML映射文件 - 构建行为树服务层接口及实现类,封装业务逻辑处理 - 添加节点连接、节点参数、节点模板、模板参数定义和行为树实例节点等相关实体和服务接口 - 实现节点连接管理功能,支持父子节点关系建立和执行顺序配置 - 提供完整的CRUD操作和权限控制,集成Excel导出功能
62 lines
1.3 KiB
Java
62 lines
1.3 KiB
Java
package com.solution.system.service;
|
|
|
|
import java.util.List;
|
|
import com.solution.system.domain.Nodetemplate;
|
|
|
|
/**
|
|
* 节点模板Service接口
|
|
*
|
|
* @author ruoyi
|
|
* @date 2026-02-05
|
|
*/
|
|
public interface INodetemplateService
|
|
{
|
|
/**
|
|
* 查询节点模板
|
|
*
|
|
* @param id 节点模板主键
|
|
* @return 节点模板
|
|
*/
|
|
public Nodetemplate selectNodetemplateById(Long id);
|
|
|
|
/**
|
|
* 查询节点模板列表
|
|
*
|
|
* @param nodetemplate 节点模板
|
|
* @return 节点模板集合
|
|
*/
|
|
public List<Nodetemplate> selectNodetemplateList(Nodetemplate nodetemplate);
|
|
|
|
/**
|
|
* 新增节点模板
|
|
*
|
|
* @param nodetemplate 节点模板
|
|
* @return 结果
|
|
*/
|
|
public int insertNodetemplate(Nodetemplate nodetemplate);
|
|
|
|
/**
|
|
* 修改节点模板
|
|
*
|
|
* @param nodetemplate 节点模板
|
|
* @return 结果
|
|
*/
|
|
public int updateNodetemplate(Nodetemplate nodetemplate);
|
|
|
|
/**
|
|
* 批量删除节点模板
|
|
*
|
|
* @param ids 需要删除的节点模板主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteNodetemplateByIds(Long[] ids);
|
|
|
|
/**
|
|
* 删除节点模板信息
|
|
*
|
|
* @param id 节点模板主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteNodetemplateById(Long id);
|
|
}
|