2627282930313233343536
*/ @Override @Transactional public void deleteMessageById(Integer id) throws MessageException { try { Message message = (Message) baseDao.findById(Message.class, id); baseDao.delete(message); } catch (Exception e) { throw new MessageException("Message删除异常"); } }