修复代管订单押金赔付待打款金额
This commit is contained in:
@@ -94,7 +94,8 @@ func (r *Repository) baseQuery(ctx context.Context) *gorm.DB {
|
||||
o.owner_id, o.renter_id, o.extra_item_original_amount_cent,
|
||||
owner.phone AS owner_phone, renter.phone AS renter_phone,
|
||||
l.listing_no, a.title, c.coin_consumed_m AS checkout_coin_consumed_m,
|
||||
c.consumable_amount_cent AS checkout_consumable_amount_cent`)
|
||||
c.consumable_amount_cent AS checkout_consumable_amount_cent,
|
||||
CASE WHEN c.deposit_deduct_amount_cent > 0 THEN c.deposit_deduct_amount_cent ELSE c.other_amount_cent END AS checkout_deposit_deduct_amount_cent`)
|
||||
}
|
||||
|
||||
func (r *Repository) adminFilterQuery(ctx context.Context) *gorm.DB {
|
||||
|
||||
Reference in New Issue
Block a user