package com.doumee.service.system;
|
|
import com.doumee.service.business.third.model.PageData;
|
import com.doumee.service.business.third.model.PageWrap;
|
import com.doumee.dao.system.dto.PlatformConfigDTO;
|
import com.doumee.dao.system.dto.QuerySystemDictDataDTO;
|
import com.doumee.dao.system.dto.VisitConfigDTO;
|
import com.doumee.dao.system.model.SystemDictData;
|
import com.doumee.dao.system.vo.SystemDictDataListVO;
|
|
import java.util.List;
|
|
/**
|
* 字典数据Service定义
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
public interface SystemDictDataService {
|
|
/**
|
* 创建
|
*
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
Integer create(SystemDictData systemDictData);
|
|
/**
|
* 主键删除
|
*
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 批量主键删除
|
*
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void updateById(SystemDictData systemDictData);
|
|
/**
|
* 批量主键更新
|
*
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void updateByIdInBatch(List<SystemDictData> systemDictDatas);
|
|
/**
|
* 主键查询
|
*
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
SystemDictData findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
SystemDictData findOne(SystemDictData systemDictData);
|
|
/**
|
* 条件查询
|
*
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
List<SystemDictData> findList(SystemDictData systemDictData);
|
|
/**
|
* 分页查询
|
*
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
PageData<SystemDictDataListVO> findPage(PageWrap<QuerySystemDictDataDTO> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
long count(SystemDictData systemDictData);
|
|
|
/**
|
* 根据label获取字典值 dicId 可以不传需要自己做好处理
|
*
|
* @param dicId
|
* @param codes
|
* @return
|
*/
|
List<SystemDictData> findList(Integer dicId, List<String> codes);
|
|
/**
|
* 访客来访配置
|
* @return
|
*/
|
VisitConfigDTO getVisitConfigDTO();
|
|
/**
|
* 修改访客来访配置
|
* @param miniProgrammeDTO
|
*/
|
void updateVisitConfig(VisitConfigDTO miniProgrammeDTO);
|
|
PlatformConfigDTO getPlatformConfigDTO();
|
|
void updatePlatformConfig(PlatformConfigDTO visitConfigDTO);
|
}
|