From 18e253dd44121dcc050fed06d5c08e524ddcb34f Mon Sep 17 00:00:00 2001 From: huangqizhen <15552608129@163.com> Date: Sun, 18 Jan 2026 16:18:57 +0800 Subject: [PATCH] =?UTF-8?q?1.18=20=E8=B5=84=E9=87=91=E6=B5=81=E6=B0=B4?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/cashMapper/CashRefundMapper.xml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/main/resources/cashMapper/CashRefundMapper.xml b/src/main/resources/cashMapper/CashRefundMapper.xml index 96ea21f..c43b871 100644 --- a/src/main/resources/cashMapper/CashRefundMapper.xml +++ b/src/main/resources/cashMapper/CashRefundMapper.xml @@ -423,17 +423,15 @@ crc.market, crc.order_code, crc.payment_currency, - -- payment_amount 除以100,保留2位小数 - CAST(crc.payment_amount / 100.00 AS DECIMAL(15,2)) as payment_amount, + FORMAT(crc.payment_amount / 100.0, 2) as paymentAmount, + crc.received_currency, - -- received_amount 除以100,保留2位小数 - CAST(crc.received_amount / 100.00 AS DECIMAL(15,2)) as received_amount, - -- handling_charge 除以100,保留2位小数 - CAST(crc.handling_charge / 100.00 AS DECIMAL(15,2)) as handling_charge, - -- permanent_gold 除以100,保留2位小数 - CAST(crc.permanent_gold / 100.00 AS DECIMAL(15,2)) as permanent_gold, - -- free_gold 除以100,保留2位小数 - CAST(crc.free_gold / 100.00 AS DECIMAL(15,2)) as free_gold, + FORMAT(crc.received_amount / 100.0, 2) as receivedAmount, + + FORMAT(crc.handling_charge / 100.0, 2) as handlingCharge, + FORMAT(crc.permanent_gold / 100.0, 2) as permanentGold, + FORMAT(crc.free_gold / 100.0, 2) as freeGold, + crc.pay_type, crc.pay_time, crc.status