1、 点击页面保存按钮,提交表单 访问 waybillAction 的 save 方法
错误:
Caused by: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing :
cn.itcast.bos.domain.take_delivery.WayBill.order -> cn.itcast.bos.domain.take_delivery.Order
分析: WayBill 对象 关联没有 id 的 Order 对象 解决: 修改 WayBillAction 的 save 方法
2、 修改页面代码 异步提交