From 033a93443e552943c82ce53e7ef6e3a3254ed561 Mon Sep 17 00:00:00 2001 From: wangguorui <2069821375@qq.com> Date: Sun, 25 Jan 2026 09:52:07 +0800 Subject: [PATCH] =?UTF-8?q?1=E6=9C=8825=E6=97=A5=EF=BC=8C=E6=94=B6?= =?UTF-8?q?=E6=AC=BE=E6=8F=90=E4=BA=A4=E5=8F=8D=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/controller/cash/CashCollectionController.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/com/example/demo/controller/cash/CashCollectionController.java b/src/main/java/com/example/demo/controller/cash/CashCollectionController.java index f174ebe..57c399a 100644 --- a/src/main/java/com/example/demo/controller/cash/CashCollectionController.java +++ b/src/main/java/com/example/demo/controller/cash/CashCollectionController.java @@ -492,6 +492,20 @@ public class CashCollectionController { cashCollection.getPaymentCurrency(), languageCode); cashCollection.setPaymentCurrency(chineseCurrency); } + + // 转换提交人地区 + if (cashCollection.getSubmitterMarket() != null && !cashCollection.getSubmitterMarket().isEmpty()) { + String chineseMarket = translationService.findChineseSimplifiedByTranslation( + cashCollection.getSubmitterMarket(), languageCode); + cashCollection.setSubmitterMarket(chineseMarket); + } + + // 转换所属地区名称 + if (cashCollection.getMarketName() != null && !cashCollection.getMarketName().isEmpty()) { + String chineseMarketName = translationService.findChineseSimplifiedByTranslation( + cashCollection.getMarketName(), languageCode); + cashCollection.setMarketName(chineseMarketName); + } } }