package jnpf.base.service;
|
|
import jnpf.base.entity.DictionaryTypeEntity;
|
|
import java.util.List;
|
|
/**
|
* 字典分类
|
*
|
* @author JNPF开发平台组
|
* @version V3.1.0
|
* @copyright 引迈信息技术有限公司
|
* @date 2019年9月27日 上午9:18
|
*/
|
public interface DictionaryTypeService extends SuperService<DictionaryTypeEntity> {
|
|
/**
|
* 列表
|
*
|
* @return ignore
|
*/
|
List<DictionaryTypeEntity> getList();
|
|
/**
|
* 信息
|
*
|
* @param enCode 代码
|
* @return ignore
|
*/
|
DictionaryTypeEntity getInfoByEnCode(String enCode);
|
|
/**
|
* 信息
|
*
|
* @param id 主键值
|
* @return ignore
|
*/
|
DictionaryTypeEntity getInfo(String id);
|
|
/**
|
* 验证名称
|
*
|
* @param fullName 名称
|
* @param id 主键值
|
* @return ignore
|
*/
|
boolean isExistByFullName(String fullName, String id);
|
|
/**
|
* 验证编码
|
*
|
* @param enCode 编码
|
* @param id 主键值
|
* @return ignore
|
*/
|
boolean isExistByEnCode(String enCode, String id);
|
|
/**
|
* 创建
|
*
|
* @param entity 实体对象
|
*/
|
void create(DictionaryTypeEntity entity);
|
|
/**
|
* 更新
|
*
|
* @param id 主键值
|
* @param entity 实体对象
|
* @return ignore
|
*/
|
boolean update(String id, DictionaryTypeEntity entity);
|
|
/**
|
* 删除
|
*
|
* @param entity 实体对象
|
* @return ignore
|
*/
|
boolean delete(DictionaryTypeEntity entity);
|
}
|