修改预定单字段

This commit is contained in:
Jack 2025-10-23 02:17:31 +08:00
parent ea4d5f334e
commit 8fcfbe2c5e
2 changed files with 2 additions and 1 deletions

View File

@ -214,7 +214,7 @@ public class ShopOrderInfo implements Serializable {
private Date booking_end_time;
@ApiModelProperty(value = "预订单到达时间戳(秒)")
private Date booking_at;
private Long booking_at;
@ApiModelProperty(value = "新建时间")
private Date created_at;

View File

@ -6638,6 +6638,7 @@ public class ShopOrderBaseServiceImpl extends BaseServiceImpl<ShopOrderBaseMappe
Date bookingEndTime = DateTimeUtils.tryParseDateTimeToDate(Convert.toStr(cart_data.get("booking_end_time")));
if (CommonConstant.Order_Booking_State_YY.equals(bookingState) && bookingBeginTime != null && bookingEndTime != null) {
info_row.setBooking_state(bookingState);
info_row.setBooking_at(bookingBeginTime.getTime() / 1000); // 预订单到达时间戳
info_row.setBooking_begin_time(bookingBeginTime);
info_row.setBooking_end_time(bookingEndTime);
}