LetterUserMessageDAO extends BaseIbatisDAO { public List<LetterUserMessage> queryMessage(Map<String, Object> parameters) { return (List<LetterUserMessage>)super.queryForList("ONLINE_LETTER_USER_MESSAGE.queryMessage", parameters); }  List<LetterUserMessage> batchInsertUserLetter(final List<LetterUserMessage> list); int updateUserLetter(Long id); int batchDeleteUserLetter(Map<String, Object> parameters); List<LetterUserMessage> queryMessage(Map<String, Object> parameters); Long countMessage(Map<String, Object> parameters);  }
@Test public void testQueryMessage() { Map<String,Object> parameters = new HashMap<String,Object>(); parameters.put("maxResult",15); parameters.put("skipResult",0); parameters.put("endTime", new Date()); letterUserMessageDAO.queryMessage(parameters); }