| | |
| | | |
| | | @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()); |
| | |
| | | |
| | | //条件拼接 |
| | | 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 = ""; |