forked from rongchao/epmet-cloud-rizhao
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
2.2 KiB
97 lines
2.2 KiB
/**
|
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
|
*
|
|
* https://www.renren.io
|
|
*
|
|
* 版权所有,侵权必究!
|
|
*/
|
|
|
|
package com.epmet.service;
|
|
|
|
import com.epmet.commons.mybatis.service.BaseService;
|
|
import com.epmet.commons.tools.dto.result.DictListResultDTO;
|
|
import com.epmet.commons.tools.dto.result.DictTreeResultDTO;
|
|
import com.epmet.commons.tools.dto.result.OptionResultDTO;
|
|
import com.epmet.commons.tools.page.PageData;
|
|
import com.epmet.dto.SysDictDataDTO;
|
|
import com.epmet.entity.SysDictDataEntity;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 数据字典
|
|
*
|
|
* @author Mark sunlightcs@gmail.com
|
|
*/
|
|
public interface SysDictDataService extends BaseService<SysDictDataEntity> {
|
|
|
|
PageData<SysDictDataDTO> page(Map<String, Object> params);
|
|
|
|
SysDictDataDTO get(Long id);
|
|
|
|
void save(SysDictDataDTO dto);
|
|
|
|
void update(SysDictDataDTO dto);
|
|
|
|
void delete(Long[] ids);
|
|
/**
|
|
* 九小场所
|
|
* @Param
|
|
* @Return {@link List<OptionResultDTO>}
|
|
* @Author zhaoqifeng
|
|
* @Date 2021/10/26 17:11
|
|
*/
|
|
List<OptionResultDTO> getNineSmallPlacesOption();
|
|
|
|
/**
|
|
* 文化程度
|
|
* @Param
|
|
* @Return {@link List<OptionResultDTO>}
|
|
* @Author zhaoqifeng
|
|
* @Date 2021/10/26 17:12
|
|
*/
|
|
List<OptionResultDTO> getEducationOption();
|
|
|
|
/**
|
|
* 民族
|
|
* @Param
|
|
* @Return {@link List<OptionResultDTO>}
|
|
* @Author zhaoqifeng
|
|
* @Date 2021/10/26 17:12
|
|
*/
|
|
List<OptionResultDTO> getNationOption();
|
|
|
|
/**
|
|
* 人员关系
|
|
* @Param
|
|
* @Return {@link List<OptionResultDTO>}
|
|
* @Author zhaoqifeng
|
|
* @Date 2021/10/26 17:12
|
|
*/
|
|
List<OptionResultDTO> getRelationshipOption();
|
|
|
|
/**
|
|
* 住房性质
|
|
* @Param
|
|
* @Return {@link List<OptionResultDTO>}
|
|
* @Author zhaoqifeng
|
|
* @Date 2021/10/26 17:12
|
|
*/
|
|
List<OptionResultDTO> getHouseOption();
|
|
|
|
/**
|
|
* @Description 字典数据查询通用接口
|
|
* @Author sun
|
|
*/
|
|
List<DictListResultDTO> dictList(String dictType);
|
|
|
|
|
|
Map<String, String> dictMap(String dictType);
|
|
|
|
List<DictTreeResultDTO> dictListTree(String dictType);
|
|
|
|
List<SysDictDataDTO> getDictDataList(String dictType);
|
|
|
|
List<OptionResultDTO> getDictOption(String dictType);
|
|
}
|
|
|