From 06fc641a5f273c734655a3f41ba43e36dd626ec6 Mon Sep 17 00:00:00 2001 From: zoujiangtao Date: Mon, 30 Dec 2024 10:34:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=86=85=E5=AE=B9=EF=BC=9ABI?= =?UTF-8?q?P=E8=81=94=E8=B0=83=E5=AD=97=E6=AE=B5=E6=95=B4=E4=BD=93?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4=20=E5=A4=87=E6=B3=A8=EF=BC=9ABIP=E8=81=94?= =?UTF-8?q?=E8=B0=83=E5=AD=97=E6=AE=B5=E6=95=B4=E4=BD=93=E7=BB=B4=E6=8A=A4?= =?UTF-8?q?=20=E6=8F=90=E4=BA=A4=E4=BA=BA=EF=BC=9A=E9=82=B9=E6=B1=9F?= =?UTF-8?q?=E6=B6=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/shkd/sys/sys/mservice/ApiService.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java index baa121c..53be593 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java @@ -551,6 +551,19 @@ public class ApiService { } } else if ("description1".equals(parts[0])) { value = billObject.getLocaleString("description").getLocaleValue(); + } else if ("payeebankname1".equals(parts[0])) { + String payeebankname = billObject.getString("payeebankname"); + if (payeebankname != null && !payeebankname.isEmpty()) { + int index = payeebankname.indexOf("银行"); + if (index != -1) { + String result = payeebankname.substring(0, index + 2); + System.out.println(result); + } else { + value = ""; + } + } else { + value = ""; + } } else { value = billObject.get(parts[0]); }