Browse Source

1.18 资金流水修改金额

lijianlin/feature-20260113-现金管理0109
huangqizhen 1 month ago
parent
commit
18e253dd44
  1. 18
      src/main/resources/cashMapper/CashRefundMapper.xml

18
src/main/resources/cashMapper/CashRefundMapper.xml

@ -423,17 +423,15 @@
crc.market, crc.market,
crc.order_code, crc.order_code,
crc.payment_currency, 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, 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_type,
crc.pay_time, crc.pay_time,
crc.status crc.status

Loading…
Cancel
Save