refactor(so): 移除不必要的代码注释

- 删除了 AfterApprovingSynchronizeRuleMES.java 文件中的冗余注释
-移除了未使用的 JSONObject property3 对象的创建和配置
-优化了代码结构,提高了代码的可读性和维护性
This commit is contained in:
张明 2025-06-04 16:19:08 +08:00
parent 7f4a704b36
commit 0cb79eca80
1 changed files with 0 additions and 5 deletions

View File

@ -201,19 +201,14 @@ public class AfterApprovingSynchronizeRuleMES implements IRule<SaleOrderVO> {
// 新增三个字段属性 销售订单交易类型编码 // 新增三个字段属性 销售订单交易类型编码
JSONObject property1 = new JSONObject(); JSONObject property1 = new JSONObject();
JSONObject property2 = new JSONObject(); JSONObject property2 = new JSONObject();
JSONObject property3 = new JSONObject();
property1.put("propertyFiled", "SXZF19"); property1.put("propertyFiled", "SXZF19");
property1.put("propertyValue", head.getVtrantypecode()); // 订单类型编码 property1.put("propertyValue", head.getVtrantypecode()); // 订单类型编码
// 销售订单主键 // 销售订单主键
property2.put("propertyFiled", "SXZF20"); property2.put("propertyFiled", "SXZF20");
property2.put("propertyValue", head.getCsaleorderid()); // 表头主键 property2.put("propertyValue", head.getCsaleorderid()); // 表头主键
// // 饋簡땐데綾깊寮숩
// property3.put("propertyFiled", "SXZF21");
// property3.put("propertyValue", body.getCsaleorderbid()); // 깊竟寮숩
properties.add(property); properties.add(property);
properties.add(property1); properties.add(property1);
properties.add(property2); properties.add(property2);
properties.add(property3);
detailItem.put("properties", properties); detailItem.put("properties", properties);
details.add(detailItem); details.add(detailItem);
} }