You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.1 KiB
27 lines
1.1 KiB
/**
|
|
* 定义包名,表明该类所属的模块和目录结构,此包下存放系统相关的服务类
|
|
*/
|
|
package com.yf.exam.modules.sys.system.service;
|
|
|
|
/**
|
|
* 数据字典工具类
|
|
* 该接口定义了与数据字典查找相关的方法,可被不同的实现类实现以提供具体的查找逻辑。
|
|
* @author bool
|
|
*/
|
|
public interface SysDictService {
|
|
|
|
/**
|
|
* 查找数据字典
|
|
* 该方法用于根据传入的表名、文本、键和值,在对应的数据字典中查找匹配的结果。
|
|
* @param table 数据字典所在的表名,指定从哪个表中进行查找操作。
|
|
* @param text 查找时匹配的文本信息,可用于筛选符合条件的数据。
|
|
* @param key 数据字典中的键,用于定位特定的数据项。
|
|
* @param value 数据字典中的值,与键配合使用,进一步精确查找。
|
|
* @return 返回查找到的数据字典值,如果未找到则可能返回 null。
|
|
*/
|
|
String findDict(String table,
|
|
String text,
|
|
String key,
|
|
String value);
|
|
}
|