feat(tenant): 增加双站共享货架与跨站下单
This commit is contained in:
@@ -67,6 +67,9 @@ func (row orderRow) toAdminDTO() OrderDTO {
|
||||
platformFeeCent := row.PlatformFeeCent
|
||||
return OrderDTO{
|
||||
ID: row.ID,
|
||||
BuyerTenantID: row.BuyerTenantID,
|
||||
SourceTenantID: row.SourceTenantID,
|
||||
PaymentTenantID: row.PaymentTenantID,
|
||||
OrderNo: row.OrderNo,
|
||||
ListingID: row.ListingID,
|
||||
ListingNo: row.ListingNo,
|
||||
@@ -85,6 +88,7 @@ func (row orderRow) toAdminDTO() OrderDTO {
|
||||
DisplayAmountCent: row.RentAmountCent,
|
||||
RentAmountCent: &rentAmountCent,
|
||||
OwnerRentAmountCent: &ownerRentAmountCent,
|
||||
SourceAmountCent: row.SourceAmountCent,
|
||||
DepositAmountCent: row.DepositAmountCent,
|
||||
DepositOriginalAmountCent: effectiveDepositOriginalAmountCent(row.RentalOrder),
|
||||
DepositWaivedAmountCent: row.DepositWaivedAmountCent,
|
||||
|
||||
Reference in New Issue
Block a user