@Test
public void testQueryTemplate() {

	Map<String,Object> parameters = new HashMap<String,Object>();
	parameters.put("beginTime", new Date());
	parameters.put("endTime", new Date());
	parameters.put("keywords", "baidu");
	List<LetterTemplate> query = letterTemplateDAO.queryTemplate(parameters);
	Assert.assertNotNull(query.size());
}