@@ -1020,7 +1020,7 @@ public class BusRoomBookingOrdersServiceImpl extends ServiceImpl<BusRoomBookingO
throw new JeecgBootException("收款项目不存在,请核对后操作");
}
});
- feeService.saveBatch(livingData.getOrderFees());
+ if(findRoomFees.size() > 0) feeService.saveBatch(findRoomFees);
// 另外每个房间还要在入住时生成每日房费账单
BusOrderFee roomFee = new BusOrderFee();