| | |
| | | //条件拼接 |
| | | JSONObject dataJsonObject = new JSONObject(); |
| | | dataJsonObject.put("Numbers",order.getOrderNo()); |
| | | 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 = ""; |
| | |
| | | JSONObject data = JSON.parseObject(response); |
| | | Object IsSuccess = findValueByKey(JSON.parseObject(response), "IsSuccess"); |
| | | String bool=IsSuccess.toString(); |
| | | //审核完成原订单4转6 6.上报完成 |
| | | //下推完成原订单4转6 6.上报完成 |
| | | if(bool.equals("true")){ |
| | | success = true; |
| | | order.setSettle(6L); |
| | |
| | | try { |
| | | // 保存接口日志 |
| | | apiLogService.save( |
| | | "审核", |
| | | "下推", |
| | | URL+ pushDowmAudit, |
| | | null, |
| | | "127.0.0.1", |