From 87532065ba0c304817c31628ebb1000f4e308f12 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 02 四月 2022 19:30:24 +0800 Subject: [PATCH] 功能完善 --- app/src/main/java/com/yeshi/makemoney/app/service/inter/config/SystemConfigService.java | 77 ++++++++++++++++++++------------------ 1 files changed, 41 insertions(+), 36 deletions(-) diff --git a/app/src/main/java/com/yeshi/makemoney/app/service/inter/config/SystemConfigService.java b/app/src/main/java/com/yeshi/makemoney/app/service/inter/config/SystemConfigService.java index c3a5d88..feef64d 100644 --- a/app/src/main/java/com/yeshi/makemoney/app/service/inter/config/SystemConfigService.java +++ b/app/src/main/java/com/yeshi/makemoney/app/service/inter/config/SystemConfigService.java @@ -6,8 +6,11 @@ import com.yeshi.makemoney.app.entity.SystemEnum; import com.yeshi.makemoney.app.entity.config.SystemConfigKey; +import com.yeshi.makemoney.app.entity.config.SystemConfigType; import org.yeshi.utils.bean.BeanUtil; + import java.util.List; + import com.yeshi.makemoney.app.entity.config.SystemConfig; import com.yeshi.makemoney.app.service.inter.config.SystemConfigService; import com.yeshi.makemoney.app.service.query.config.SystemConfigQuery; @@ -16,56 +19,58 @@ public interface SystemConfigService { - /** - * @author hxh - * @description 鑾峰彇缂撳瓨鍊� - * @date 11:50 2021/11/16 - * @param: system - * @param: key - * @return java.lang.String - **/ - public String getValueCache(SystemEnum system, SystemConfigKey key); - - + /** + * @return java.lang.String + * @author hxh + * @description 鑾峰彇缂撳瓨鍊� + * @date 11:50 2021/11/16 + * @param: system + * @param: key + **/ + public String getValueCache(SystemEnum system, SystemConfigKey key); /** - * 鑾峰彇鍒楄〃 - * @param systemConfigQuery - * @param page - * @param pageSize - * @return - */ - public List<SystemConfig> list(SystemConfigQuery systemConfigQuery, int page, int pageSize) ; + * 鑾峰彇鍒楄〃 + * + * @param systemConfigQuery + * @param page + * @param pageSize + * @return + */ + public List<SystemConfig> list(SystemConfigQuery systemConfigQuery, int page, int pageSize); + /** - * - */ - public long count(SystemConfigQuery systemConfigQuery) ; + * + */ + public long count(SystemConfigQuery systemConfigQuery); + + + public List<SystemConfig> listByType(SystemConfigType type); + /** - * - */ - public SystemConfig get(String id) ; + * + */ + public SystemConfig get(String id); /** - * - */ - public void add(SystemConfig systemConfig) throws Exception; + * + */ + public void add(SystemConfig systemConfig) throws Exception; - public void save(SystemConfig config); + public void save(SystemConfig config); /** - * - */ - public void update(SystemConfig systemConfig) ; + * + */ + public void update(SystemConfig systemConfig); /** - * - */ - public void delete(List<String> idList) ; - - + * + */ + public void delete(List<String> idList); } -- Gitblit v1.8.0