public String checkByTeachid() throws Exception{
		dataMap = new HashMap<String,Object>();	
		Work work = new Work();
		work.setTeachid1(teachid);
		work.setTeachid2(teachid);
		List<HashMap<Integer, Object>> list1 = new ArrayList<HashMap<Integer,Object>>();
		list1 = workService.query1(work.getTeachid1());
		List<HashMap<Integer, Object>> list2 = new ArrayList<HashMap<Integer,Object>>();
		list2 = workService.query2(work.getTeachid2());
		if((list1.isEmpty()) && (list2.isEmpty())){
			dataMap.put("status", "1004");      //work is not exist
			return ERROR;
		}else if(list1.isEmpty()){             //teachid1作品为空
			dataMap.put("work_info", list2);
			return SUCCESS;
		}else if(list2.isEmpty()){             //teachid2作品为空
			dataMap.put("work_info", list1);
			return SUCCESS;
		}else{                                 //都不为空，则把所有对应的所有作品检索出来
			List<HashMap<Integer, Object>> list = new ArrayList<HashMap<Integer,Object>>();
			list.addAll(list1);
			list.addAll(list2);
			dataMap.put("work_info", list);
			/*	dataMap.put("name", work1.getWname());
			dataMap.put("detail", work1.getWintro());
			dataMap.put("score1",work1.getMark1());
			dataMap.put("score2",work1.getMark2());
			dataMap.put("name", work2.getWname());
			dataMap.put("detail", work2.getWintro());
			dataMap.put("score1",work2.getMark1());
			dataMap.put("score2",work2.getMark2());*/
			return SUCCESS;
		}
	}