|
|
@@ -298,6 +298,7 @@ public class BusRoomBookingOrdersServiceImpl extends ServiceImpl<BusRoomBookingO
|
|
|
throw new JeecgBootException("钟点房计费项目不能为空");
|
|
|
}
|
|
|
// 【添加客人信息 Start】
|
|
|
+ LoginUser user = TokenUtils.getAuthUser();
|
|
|
if(item.getContactName() != null && !item.getContactName().isEmpty() && item.getPhone() != null && !item.getPhone().isEmpty()){
|
|
|
BusCustomer customer = customerService.getOne(Wrappers.<BusCustomer>query().eq("name",item.getContactName())
|
|
|
.eq("phone",item.getPhone()));
|
|
|
@@ -338,7 +339,7 @@ public class BusRoomBookingOrdersServiceImpl extends ServiceImpl<BusRoomBookingO
|
|
|
item.getOrderInfo().setCreateTime(order.getCreateTime());
|
|
|
item.getOrderInfo().setCreateUser(order.getCreateUser());
|
|
|
item.getOrderInfo().setUpdateTime(new Date());
|
|
|
- LoginUser user = TokenUtils.getAuthUser();
|
|
|
+
|
|
|
item.getOrderInfo().setUpdateUser(user.getId());
|
|
|
updateById(item.getOrderInfo());
|
|
|
String bookingId = item.getOrderInfo().getId();
|