All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.frameworkset.dictionary.service.impl.DictManagerImpl Maven / Gradle / Ivy

There is a newer version: 5.6.4
Show newest version
package com.frameworkset.dictionary.service.impl;


import java.util.List;
import com.frameworkset.common.poolman.ConfigSQLExecutor;
import com.frameworkset.dictionary.bean.Item;
import com.frameworkset.dictionary.service.DictManager;

/**
 * 数据字典管理接口实现
 * @author qingl2
 * @version 2013-07-04
 */
public class DictManagerImpl implements DictManager{
	private ConfigSQLExecutor executor;
	/**
	 * Description:通过字典ID获取字典内容
	 * @author qingl2
	 * @version 2013-07-04
	 */
	@Override
	public List getDictItemsById(String did) throws Exception {
		List datas = executor.queryList(Item.class, "getDictItemsById", did);
		return datas;
	}
	/**
	 * Description:通过字典ID获取字典名称
	 * @author qingl2
	 * @version 2013-07-04
	 */
	@Override
	public List getDictTypeById(String did) throws Exception {
		List datas = executor.queryList(String.class, "getDictTypeById", did);
		return datas;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy