修改部分规则模块删除无用前端 新增前端界面
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
package com.solution.algo.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.solution.algo.domain.Algorithm;
|
||||
import com.solution.algo.domain.AlgorithmParam;
|
||||
|
||||
/**
|
||||
* 规则Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2026-02-06
|
||||
*/
|
||||
public interface AlgorithmMapper
|
||||
{
|
||||
/**
|
||||
* 查询规则
|
||||
*
|
||||
* @param id 规则主键
|
||||
* @return 规则
|
||||
*/
|
||||
public Algorithm selectAlgorithmById(Long id);
|
||||
|
||||
/**
|
||||
* 查询规则列表
|
||||
*
|
||||
* @param algorithm 规则
|
||||
* @return 规则集合
|
||||
*/
|
||||
public List<Algorithm> selectAlgorithmList(Algorithm algorithm);
|
||||
|
||||
/**
|
||||
* 新增规则
|
||||
*
|
||||
* @param algorithm 规则
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertAlgorithm(Algorithm algorithm);
|
||||
|
||||
/**
|
||||
* 修改规则
|
||||
*
|
||||
* @param algorithm 规则
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateAlgorithm(Algorithm algorithm);
|
||||
|
||||
/**
|
||||
* 删除规则
|
||||
*
|
||||
* @param id 规则主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAlgorithmById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除规则
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAlgorithmByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 批量删除算法参数定义
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAlgorithmParamByAlgorithmIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 批量新增算法参数定义
|
||||
*
|
||||
* @param algorithmParamList 算法参数定义列表
|
||||
* @return 结果
|
||||
*/
|
||||
public int batchAlgorithmParam(List<AlgorithmParam> algorithmParamList);
|
||||
|
||||
|
||||
/**
|
||||
* 通过规则主键删除算法参数定义信息
|
||||
*
|
||||
* @param id 规则ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAlgorithmParamByAlgorithmId(Long id);
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
package com.solution.algo.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.solution.algo.domain.SysAlgoConfig;
|
||||
|
||||
/**
|
||||
* 动态规则配置Mapper接口
|
||||
*
|
||||
* @author zouju
|
||||
* @date 2026-02-05
|
||||
*/
|
||||
public interface SysAlgoConfigMapper
|
||||
{
|
||||
/**
|
||||
* 查询动态规则配置
|
||||
*
|
||||
* @param id 动态规则配置主键
|
||||
* @return 动态规则配置
|
||||
*/
|
||||
public SysAlgoConfig selectSysAlgoConfigById(Long id);
|
||||
|
||||
/**
|
||||
* 查询动态规则配置列表
|
||||
*
|
||||
* @param sysAlgoConfig 动态规则配置
|
||||
* @return 动态规则配置集合
|
||||
*/
|
||||
public List<SysAlgoConfig> selectSysAlgoConfigList(SysAlgoConfig sysAlgoConfig);
|
||||
|
||||
/**
|
||||
* 新增动态规则配置
|
||||
*
|
||||
* @param sysAlgoConfig 动态规则配置
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertSysAlgoConfig(SysAlgoConfig sysAlgoConfig);
|
||||
|
||||
/**
|
||||
* 修改动态规则配置
|
||||
*
|
||||
* @param sysAlgoConfig 动态规则配置
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSysAlgoConfig(SysAlgoConfig sysAlgoConfig);
|
||||
|
||||
/**
|
||||
* 删除动态规则配置
|
||||
*
|
||||
* @param id 动态规则配置主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSysAlgoConfigById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除动态规则配置
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSysAlgoConfigByIds(Long[] ids);
|
||||
}
|
||||
Reference in New Issue
Block a user