|
@@ -292,6 +292,14 @@ public class LeYunFuController {
|
|
|
|
|
|
|
|
JSONObject responseJson = new JSONObject(response);
|
|
JSONObject responseJson = new JSONObject(response);
|
|
|
|
|
|
|
|
|
|
+ if ("ORDER_NOT_EXIST".equals(responseJson.getString("return_code"))) {
|
|
|
|
|
+ wxpayTemp.setResultCode("ORDER_NOT_EXIST");
|
|
|
|
|
+ wxpayTempMapper.updateByPrimaryKeySelective(wxpayTemp);
|
|
|
|
|
+
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
Map<String, String> notifyMap = new HashMap<>();
|
|
Map<String, String> notifyMap = new HashMap<>();
|
|
|
|
|
|
|
|
notifyMap.put("return_code", responseJson.getString("return_code"));
|
|
notifyMap.put("return_code", responseJson.getString("return_code"));
|
|
@@ -307,8 +315,10 @@ public class LeYunFuController {
|
|
|
notifyMap.put("amount", String.valueOf(responseJson.getInt("amount")));
|
|
notifyMap.put("amount", String.valueOf(responseJson.getInt("amount")));
|
|
|
notifyMap.put("sign", responseJson.getString("sign"));
|
|
notifyMap.put("sign", responseJson.getString("sign"));
|
|
|
|
|
|
|
|
|
|
+
|
|
|
payResultChange(notifyMap);
|
|
payResultChange(notifyMap);
|
|
|
|
|
|
|
|
|
|
+
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
logger.error("查询支付结果异常", e);
|
|
logger.error("查询支付结果异常", e);
|
|
|
}
|
|
}
|