From 0cb79eca80e992f84658a664bda45a2eaba0a44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=8E?= <125556714+Topfunplus@users.noreply.github.com> Date: Wed, 4 Jun 2025 16:19:08 +0800 Subject: [PATCH] =?UTF-8?q?refactor(so):=20=E7=A7=BB=E9=99=A4=E4=B8=8D?= =?UTF-8?q?=E5=BF=85=E8=A6=81=E7=9A=84=E4=BB=A3=E7=A0=81=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了 AfterApprovingSynchronizeRuleMES.java 文件中的冗余注释 -移除了未使用的 JSONObject property3 对象的创建和配置 -优化了代码结构,提高了代码的可读性和维护性 --- .../m30/rule/approve/AfterApprovingSynchronizeRuleMES.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/so/src/private/nc/bs/so/m30/rule/approve/AfterApprovingSynchronizeRuleMES.java b/so/src/private/nc/bs/so/m30/rule/approve/AfterApprovingSynchronizeRuleMES.java index bd20ee4..30bc2d4 100644 --- a/so/src/private/nc/bs/so/m30/rule/approve/AfterApprovingSynchronizeRuleMES.java +++ b/so/src/private/nc/bs/so/m30/rule/approve/AfterApprovingSynchronizeRuleMES.java @@ -201,19 +201,14 @@ public class AfterApprovingSynchronizeRuleMES implements IRule { // ֶ ۶ͱ JSONObject property1 = new JSONObject(); JSONObject property2 = new JSONObject(); - JSONObject property3 = new JSONObject(); property1.put("propertyFiled", "SXZF19"); property1.put("propertyValue", head.getVtrantypecode()); // ͱ // ۶ property2.put("propertyFiled", "SXZF20"); property2.put("propertyValue", head.getCsaleorderid()); // ͷ -// // ۶ӱ -// property3.put("propertyFiled", "SXZF21"); -// property3.put("propertyValue", body.getCsaleorderbid()); // properties.add(property); properties.add(property1); properties.add(property2); - properties.add(property3); detailItem.put("properties", properties); details.add(detailItem); }