|
@@ -1070,17 +1070,17 @@ public class TopOldOrderServiceImpl extends ServiceImpl<TopOldOrderMapper, TopOl
|
|
|
//底单在新系统 查询新系统订单号
|
|
|
Map<String, String> params1 = new HashMap<>();
|
|
|
Long nowTime1 = DateUtils.getNowTime();
|
|
|
- String sign1 = ToolsUtils.EncoderByMd5(nowTime.toString() + "pubilc2022");
|
|
|
+ String sign1 = ToolsUtils.EncoderByMd5(nowTime1.toString() + "pubilc2022");
|
|
|
params1.put("stamp", nowTime1.toString());
|
|
|
params1.put("sign", sign1);
|
|
|
params1.put("orderSn", oldOrder.getOrderSn());
|
|
|
String respone1 = "";
|
|
|
try {
|
|
|
- respone1 = HttpUtils.postFormBody(INPUT_ORDER, params);
|
|
|
- if (!respone.contains("\"Status\":true")) {
|
|
|
+ respone1 = HttpUtils.postFormBody(INPUT_ORDER, params1);
|
|
|
+ if (!respone1.contains("\"Status\":true")) {
|
|
|
throw new CustomException("旧系统查询新系统订单号接口请求错误");
|
|
|
}
|
|
|
- JSONObject jsonObject = JSONObject.parseObject(respone);
|
|
|
+ JSONObject jsonObject = JSONObject.parseObject(respone1);
|
|
|
Object data = jsonObject.get("Data");
|
|
|
if (ObjectUtils.isNull(data)) {
|
|
|
//data 为空
|
|
@@ -1090,7 +1090,7 @@ public class TopOldOrderServiceImpl extends ServiceImpl<TopOldOrderMapper, TopOl
|
|
|
updateById(oldOrder);
|
|
|
}
|
|
|
} catch (IOException e) {
|
|
|
- log.error("旧系统查询新系统订单号接口请求错误" + respone);
|
|
|
+ log.error("旧系统查询新系统订单号接口请求错误" + respone1);
|
|
|
throw new CustomException("旧系统查询新系统订单号接口请求错误");
|
|
|
}
|
|
|
}
|