From f839f77e6423b296938c3bbd16e5166f8e80be5c Mon Sep 17 00:00:00 2001 From: wangchaoxu Date: Sat, 2 Sep 2023 00:27:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E9=85=8D=E7=BD=AE=E7=9B=B8?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ms-biz/src/main/java/com/ms/api/tool/PurchaseTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ms-biz/src/main/java/com/ms/api/tool/PurchaseTool.java b/ms-biz/src/main/java/com/ms/api/tool/PurchaseTool.java index d3251ce8..c9a93bba 100644 --- a/ms-biz/src/main/java/com/ms/api/tool/PurchaseTool.java +++ b/ms-biz/src/main/java/com/ms/api/tool/PurchaseTool.java @@ -66,7 +66,7 @@ public class PurchaseTool { List list = JSON.parseObject(tpl, new TypeReference>() {}); List newList = new ArrayList<>(); for (AppendVenderRemarkTplItemDTO item : list) { - if (!item.getName().equals("receiver_mobile")) { + if (!"receiver_mobile".equals(item.getName())) { newList.add(item); } }