// 获取在线订单 @Transactional(readOnly = true) public OnlineOrder getEntity(Long id) { return orderDao.get(id); // 获取订单对象 }