修复预计 截止时间
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
func (row orderRow) toAdminDTO() OrderDTO {
|
||||
rentedAt := row.RentedAt
|
||||
durationHours := orderDurationHours(row.RentalOrder)
|
||||
estimatedEndAt := orderEstimatedEndAt(row.RentalOrder)
|
||||
rentAmountCent := row.RentAmountCent
|
||||
ownerRentAmountCent := row.OwnerRentAmountCent
|
||||
platformFeeCent := row.PlatformFeeCent
|
||||
@@ -29,6 +30,7 @@ func (row orderRow) toAdminDTO() OrderDTO {
|
||||
LoginPlatform: row.LoginPlatform,
|
||||
RentedAt: rentedAt,
|
||||
EstimatedDurationHours: durationHours,
|
||||
EstimatedEndAt: estimatedEndAt,
|
||||
PriceRole: "admin",
|
||||
DisplayAmountCent: row.RentAmountCent,
|
||||
RentAmountCent: &rentAmountCent,
|
||||
|
||||
Reference in New Issue
Block a user