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); } }