| | |
| | | |
| | | //条件拼接 |
| | | JSONObject dataJsonObject = new JSONObject(); |
| | | dataJsonObject.put("Numbers", "CGTL10124120003"); |
| | | dataJsonObject.put("ids", order.getPostFeeType()); |
| | | |
| | | JSONObject jsonObject = new JSONObject(); |
| | | jsonObject.put("data", dataJsonObject); |
| | | jsonObject.put("FormId", kingDeeUtilType.ruleId); |
| | | jsonObject.put("FormId", kingDeeUtilType.correspondingFormId); |
| | | String add = jsonObject.toJSONString(); |
| | | //上报 |
| | | String response = ""; |
| | |
| | | .setJson(add) |
| | | .build() |
| | | .doPost(); |
| | | JSONObject data = JSON.parseObject(response); |
| | | // JSONObject data = JSON.parseObject(response); |
| | | Object IsSuccess = findValueByKey(JSON.parseObject(response), "IsSuccess"); |
| | | String bool1 = IsSuccess.toString(); |
| | | |
| | |
| | | JsonNode rootNode = objectMapper.readTree(response); |
| | | boolean bool = rootNode.get("Result").get("ResponseStatus").get("IsSuccess").asBoolean(); |
| | | log.info("审核bool:" + bool); |
| | | //审核完成原订单3转4 4.审核完成 |
| | | //审核完成原订单4转5 5.审核完成 |
| | | if (bool) { |
| | | success = true; |
| | | order.setMemo("4");//审核完成 |
| | | order.setMemo("5");//审核完成 |
| | | order.setUpdateTime(new Date()); |
| | | |
| | | |
| | |
| | | try { |
| | | // 保存接口日志 |
| | | apiLogService.save( |
| | | " 审核", |
| | | "5.审核", |
| | | URL + outaddressAudit, |
| | | null, |
| | | "127.0.0.1", |