perf: 优化查询写法

优化查询时使用LambdaQueryWrapper查询
部分注释补全,格式化
This commit is contained in:
胡少翔
2024-07-31 10:06:29 +08:00
parent dbf9cca78f
commit cee4651e12
6 changed files with 19 additions and 26 deletions

View File

@@ -33,7 +33,7 @@ public interface SysConfigService extends IService<SysConfig> {
* 获取系统配置表单数据
*
* @param id 系统配置ID
* @return
* @return 系统配置表单数据
*/
ConfigForm getConfigFormData(Long id);
@@ -52,7 +52,6 @@ public interface SysConfigService extends IService<SysConfig> {
*/
boolean delete(Long ids);
/**
* 刷新系统配置缓存
* @return 是否刷新成功
@@ -62,7 +61,7 @@ public interface SysConfigService extends IService<SysConfig> {
/**
* 获取系统配置
* @param key 配置键
* @return 配置value
* @return 配置
*/
Object getSystemConfig(String key);