com.diboot.core.service.DictionaryService Maven / Gradle / Ivy
package com.diboot.core.service;
import com.diboot.core.entity.Dictionary;
import com.diboot.core.util.IGetter;
import com.diboot.core.util.ISetter;
import com.diboot.core.vo.KeyValue;
import java.util.List;
/**
* 数据字典Service
* @author Mazhicheng
* @version 2.0
* @date 2019/01/01
*/
public interface DictionaryService extends BaseService{
/***
* 获取对应类型的键值对
* @param type
* @return
*/
List getKeyValueList(String type);
/***
* 绑定itemName字段到VoList
* @param voList
* @param setFieldLabelFn
* @param getFieldIdFn
* @param
* @param
* @param
*/
void bindItemLabel(List voList, ISetter setFieldLabelFn,
IGetter getFieldIdFn, String type);
/***
* 绑定itemName字段到VoList
* @param voList
* @param setFieldName
* @param getFieldName
*/
void bindItemLabel(List voList, String setFieldName, String getFieldName, String type);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy