From b0d02e4ea9d0aef8443ae1479bd46a364bdf0538 Mon Sep 17 00:00:00 2001 From: lijianlin Date: Thu, 22 Jan 2026 15:32:36 +0800 Subject: [PATCH] =?UTF-8?q?01-22=20=E6=94=B6=E6=AC=BE=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E6=89=8B=E7=BB=AD=E8=B4=B9=20=EF=BC=8C=E5=8E=9F=E5=A7=8B?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E4=BF=A1=E6=81=AF=E5=AD=98=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/example/demo/domain/entity/CashRecord.java | 8 +++++--- src/main/resources/cashMapper/CashCollectionMapper.xml | 4 ++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/example/demo/domain/entity/CashRecord.java b/src/main/java/com/example/demo/domain/entity/CashRecord.java index 37f9648..39ed86b 100644 --- a/src/main/java/com/example/demo/domain/entity/CashRecord.java +++ b/src/main/java/com/example/demo/domain/entity/CashRecord.java @@ -37,13 +37,15 @@ public class CashRecord implements Serializable { private String goodsName; // 商品名称 private Integer goodNum; // 产品数量 private String numUnit; // 数量单位 个/月/年 - private Integer permanentGold; // 永久金币数量 - private Integer freeGold; // 免费金币数量 - private String payload; //平台 + private Integer permanentGold; // 永久金币数量 + private Integer freeGold; // 免费金币数量 + private String payload; //平台 // 金额信息 private String paymentCurrency; // 付款币种 private BigDecimal paymentAmount; // 付款金额 + private String paymentCurrencyOrig; // 原始付款币种 + private BigDecimal paymentAmountOrig; // 原始付款金额 private String receivedCurrency; // 到账币种 private BigDecimal receivedAmount; // 到账金额 private BigDecimal handlingCharge; // 手续费 diff --git a/src/main/resources/cashMapper/CashCollectionMapper.xml b/src/main/resources/cashMapper/CashCollectionMapper.xml index befed17..38fdaee 100644 --- a/src/main/resources/cashMapper/CashCollectionMapper.xml +++ b/src/main/resources/cashMapper/CashCollectionMapper.xml @@ -72,6 +72,10 @@ payment_amount = #{cashRecordCollection.paymentAmount}, + payment_currency_orig = #{cashRecordCollection.paymentCurrencyOrig}, + + payment_amount_orig = #{cashRecordCollection.paymentAmountOrig}, + status = CASE WHEN