package com.panzhihua.service_community.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.panzhihua.common.model.vos.R;
|
import com.panzhihua.common.model.vos.community.CommunityPublicityVO;
|
import com.panzhihua.service_community.model.dos.SysConfDO;
|
|
/**
|
* @auther lyq
|
* @create 2021-06-23 10:41:36
|
* @describe 系统配置表服务类
|
*/
|
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);
|
|
|
/**
|
* 获取社区宣传
|
* @param communityId
|
* @return
|
*/
|
CommunityPublicityVO getData(String communityId);
|
|
/**
|
* 新增社区宣传
|
* @param item
|
* @return
|
*/
|
int addDate(CommunityPublicityVO item);
|
|
/**
|
* 编辑社区宣传
|
* @param item
|
* @return
|
*/
|
int editDate(CommunityPublicityVO item);
|
|
/**
|
* 删除社区宣传
|
* @param communityId
|
* @return
|
*/
|
int deleteData(String communityId);
|
}
|