From 1775bb71f952106c58657cf02891cbe2a286c8f8 Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期三, 22 九月 2021 11:30:47 +0800 Subject: [PATCH] Merge branch 'test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into test --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/SysConfService.java | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/SysConfService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/SysConfService.java index 29d8e63..dbd0f20 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/SysConfService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/SysConfService.java @@ -1,6 +1,7 @@ package com.panzhihua.service_community.service; import com.baomidou.mybatisplus.extension.service.IService; +import com.panzhihua.common.model.vos.R; import com.panzhihua.service_community.model.dos.SysConfDO; /** @@ -10,4 +11,30 @@ */ public interface SysConfService extends IService<SysConfDO> { + /** + * 根据系统code以及社区id查询配置表value值 + * + * @param key 系统code + * @param communityId 社区id + * @return 系统配置value值 + */ + R getSysConfValue(String key, Long communityId); + + /** + * 新增系统code配置数据 + * + * @param key 系统code + * @param communityId 社区id + * @return 新增结果 + */ + R addSysConfValue(String key, Long communityId, String name, String value); + + /** + * 编辑系统配置 + * @param communityId 社区id + * @param status 配置值 + * @return 编辑结果 + */ + R editSysConfValue(Long communityId, Integer status); + } -- Gitblit v1.7.1