From 2bb1b2b7e9df9a8aca4752b5c5d160469f100077 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期一, 25 十二月 2023 13:15:30 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/task/kingdee/handler/PushDowmOrderSyncHandler.java | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/kingdee/handler/PushDowmOrderSyncHandler.java b/src/main/java/com/zy/asrs/task/kingdee/handler/PushDowmOrderSyncHandler.java index c052da7..7bc72b9 100644 --- a/src/main/java/com/zy/asrs/task/kingdee/handler/PushDowmOrderSyncHandler.java +++ b/src/main/java/com/zy/asrs/task/kingdee/handler/PushDowmOrderSyncHandler.java @@ -47,6 +47,9 @@ @Transactional public ReturnT<String> start(Order order) { + String orderNo = order.getOrderNo(); + String[] split = orderNo.split("-"); + String orderNoS = split[0]; //鐧诲綍閲戣澏r ReturnT<String> start = loginAuthenticationHandler.start(); DocType docType = docTypeService.selectById(order.getDocType()); @@ -57,11 +60,14 @@ //鏉′欢鎷兼帴 JSONObject dataJsonObject = new JSONObject(); - dataJsonObject.put("Numbers",order.getOrderNo()); + dataJsonObject.put("Numbers",orderNoS); + dataJsonObject.put("EntryIds",""); + dataJsonObject.put("RuleId",kingDeeUtilType.ruleId); + dataJsonObject.put("TargetFormId",kingDeeUtilType.correspondingFormId); JSONObject jsonObject = new JSONObject(); - jsonObject.put("data", dataJsonObject); jsonObject.put("FormId",kingDeeUtilType.formId); + jsonObject.put("data", dataJsonObject); String add = jsonObject.toJSONString(); //涓嬫帹 String response = ""; -- Gitblit v1.9.1