feat(tenant): 增加双站共享货架与跨站下单

This commit is contained in:
yml
2026-11-15 15:45:00 +08:00
parent abf0fce89b
commit 4eb2bc253b
20 changed files with 767 additions and 31 deletions
@@ -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,