package cn.wizzer.app.web.commons.unit;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.nutz.ioc.loader.annotation.Inject;
import cn.wizzer.app.sys.modules.models.Sys_dict;
import cn.wizzer.app.sys.modules.services.SysDictService;
public class ConstHelper {
// @Inject
// private static SysDictService sysDictService;
/**
* 字典缓存
*/
@SuppressWarnings("rawtypes")
private static final Map<String, Map> typeMap = new HashMap<String, Map>();
@SuppressWarnings("unchecked")
public static List<Sys_dict> getConstByType(String typeName) {
List<Sys_dict> map = sysDictService.getSubListByCode("GRADE");
return map;
}
}
就是sysDictService这个的实现类怎么new出来