| | |
| | | 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; |
| | | |
| | | /** |
| | |
| | | */ |
| | | 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); |
| | | |
| | | } |