@SuppressWarnings({ "unchecked", "rawtypes" })
	public List chooseZb() throws SQLException {
		Map p=new HashMap();
		p.put("cBxh", "DEP");
		List<Map> list=dmDao.queryAllInfo(p);
		for (int i = 0; i < list.size(); i++) {
			Map tp=list.get(i);
			tp.put("text", tp.get("cMc"));
			Map ctp=new HashMap();
			ctp.put("cYhz", tp.get("cDm"));
			List<Map> clist=userDao.queryAllInfo(ctp);
			for (int j = 0; j < clist.size(); j++) {
				Map cp=clist.get(j);
				
				if("2".equals(cp.get("cJb"))){
					cp.put("text", cp.get("cXm")+"(带班)");
				}else{
					cp.put("text", cp.get("cXm"));
				}
				cp.put("value", cp.get("userId"));
				cp.put("id", cp.get("userId"));
				cp.put("tel", cp.get("cDhhm"));
			}
			tp.put("children", clist);
		}
		return list;
	}
	@SuppressWarnings({ "unchecked", "rawtypes" })
	public List chooseOnlyUser() throws SQLException {
		Map ctp=new HashMap();
		List<Map> clist=userDao.queryAllInfo(ctp);
			for (int j = 0; j < clist.size(); j++) {
				Map cp=clist.get(j);
				cp.put("text", cp.get("cXm"));
				cp.put("value", cp.get("userId"));
				cp.put("id", cp.get("userId"));
		}
		return clist;
	}
	@SuppressWarnings({ "rawtypes", "unchecked" })
	public List<Map> chooseWithDep() throws SQLException {
		
		List<Map> rlist=new ArrayList();
		Map p=new HashMap();
		p.put("cBxh", "DEP");
		List<Map> list=dmDao.queryAllInfo(p);
		for (int i = 0; i < list.size(); i++) {
			Map tp=list.get(i);
			Map ctp=new HashMap();
			ctp.put("cYhz", tp.get("cDm"));
			List<Map> clist=userDao.queryAllInfo(ctp);
			for (int j = 0; j < clist.size(); j++) {
				Map cp=clist.get(j);
				cp.put("text", tp.get("cMc")+"----"+cp.get("cXm"));
				cp.put("value", cp.get("userId"));
				cp.put("id", cp.get("userId"));
				rlist.add(cp);
			}
		}
		return rlist;
	}
	@SuppressWarnings("rawtypes")
	public List queryAll(Map p) throws SQLException {
		return userDao.queryAllInfo(p);
	}