浏览代码

团队类型下 fix保存订单

qh 2 年之前
父节点
当前提交
69eec2a117

+ 1 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/service/impl/BusRoomBookingOrdersServiceImpl.java

@@ -168,6 +168,7 @@ public class BusRoomBookingOrdersServiceImpl extends ServiceImpl<BusRoomBookingO
                 throw new JeecgBootException("请填写团队名称");
             if(item.getBatchRooms() == null || item.getBatchRooms().size() == 0)
                 throw  new JeecgBootException("请添加批次信息");
+            save(item.getOrderInfo());
             item.getBatchRooms().forEach(c->{
                 if(c.getArrivalTime() == null || c.getDueOutTime() == null)
                     throw new JeecgBootException("预抵时间和预离时间不能为空");