From 123f9363d7f09c26211bbc4430fb99a3fcfeae9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E6=98=8E=E6=85=A7?= <1191093413@qq.com> Date: Tue, 12 Nov 2024 14:35:51 +0800 Subject: [PATCH] =?UTF-8?q?feature:=E6=94=BE=E5=BC=80=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E7=BA=A2=E5=AD=97=E7=A1=AE=E8=AE=A4=E5=8D=95?= =?UTF-8?q?=E8=BD=AC=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/ElephantInvoiceApiV6ByInspurServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ByInspurServiceImpl.java b/jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ByInspurServiceImpl.java index 61a719b..ed1b64c 100644 --- a/jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ByInspurServiceImpl.java +++ b/jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ByInspurServiceImpl.java @@ -1733,11 +1733,11 @@ public class ElephantInvoiceApiV6ByInspurServiceImpl implements IInvoiceApiServi json = JSONUtil.parseObj(data); } // 键值转小写 -// JSONObject lowerCaseJson = new JSONObject(); -// json.forEach((key, value) -> { -// String lowerCaseKey = key.toLowerCase(); -// lowerCaseJson.put(lowerCaseKey, value); -// }); + JSONObject lowerCaseJson = new JSONObject(); + json.forEach((key, value) -> { + String lowerCaseKey = key.toLowerCase(); + lowerCaseJson.put(lowerCaseKey, value); + }); return new HXResponse(code, "", json, true); } else { return new HXResponse(ztdm, ztxx, "", true);