Пример #1
0
 @Override
 public List<Message> queryMessagebyUid(long uid) throws Exception {
   final String SQL = property.getSql("queryMessagebyUid", uid);
   return jdbcTemplate.query(SQL, messageMapper);
 }
Пример #2
0
 @Override
 public void insertMessage(Message message) throws Exception {
   final String SQL = property.getSql("insertMessage", message.getUserinfo_test_id());
   jdbcTemplate.update(SQL, new Object[] {message.getMessage()});
 }