|
@@ -222,7 +222,7 @@ public class WxOrderServiceImpl extends ServiceImpl<WxOrderMapper, WxOrder> impl
|
|
throw new CustomException("该订单不存在");
|
|
throw new CustomException("该订单不存在");
|
|
}
|
|
}
|
|
//幂等性判定
|
|
//幂等性判定
|
|
- if (StringUtils.isEmpty(wxOrder.getTradeState())){
|
|
|
|
|
|
+ if (!StringUtils.isEmpty(wxOrder.getTradeState())){
|
|
return ;
|
|
return ;
|
|
}
|
|
}
|
|
wxOrder.setTransactionId(jsonObject.getString("transaction_id"));
|
|
wxOrder.setTransactionId(jsonObject.getString("transaction_id"));
|