36 lines
589 B
Java
36 lines
589 B
Java
package com.solution.rule.service;
|
|
|
|
import com.solution.rule.domain.Rule;
|
|
import java.util.List;
|
|
|
|
public interface IRuleService {
|
|
/**
|
|
* 根据ID查询规则
|
|
*/
|
|
Rule selectRuleById(Integer id);
|
|
|
|
/**
|
|
* 查询规则列表
|
|
*/
|
|
List<Rule> selectRuleList(Rule rule);
|
|
|
|
/**
|
|
* 新增规则
|
|
*/
|
|
int insertRule(Rule rule);
|
|
|
|
/**
|
|
* 修改规则
|
|
*/
|
|
int updateRule(Rule rule);
|
|
|
|
/**
|
|
* 删除规则
|
|
*/
|
|
int deleteRuleById(Integer id);
|
|
|
|
/**
|
|
* 批量删除规则
|
|
*/
|
|
int deleteRuleByIds(Integer[] ids);
|
|
} |