예제 #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()});
 }