package com.shlanbao.tzsc.base.dao.impl; import java.util.Hashtable; import java.util.List; import org.springframework.stereotype.Repository; import com.shlanbao.tzsc.base.dao.CosIncompleteCoefficientDaoI; import com.shlanbao.tzsc.base.mapping.CosIncompleteCoefficient; /** * @ClassName: CosIncompleteCoefficientDaoImpl * @Description: 参演是考核系数管理 * @author luo * @date 2015年1月22日 下午1:52:22 * */ @Repository public class CosIncompleteCoefficientDaoImpl extends BaseDaoImpl implements CosIncompleteCoefficientDaoI{ /** * 查询 */ @Override public Hashtable queryModulusHT() { String hql="from CosIncompleteCoefficient o where 1=1 "; List list = this.query(hql); Hashtable ht=new Hashtable(); for(CosIncompleteCoefficient b:list){ ht.put(b.getCode(), b.getModulus()); } return ht; } }