| 
					
				 | 
			
			
				@@ -789,19 +789,21 @@ public class OmsPortalOrderServiceImpl implements OmsPortalOrderService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             orderPayment.setStatus(TradeStatusEnum.succeeded.getCode()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             userOrderPaymentService.saveOrUpdate(orderPayment); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Map<String,Object> notifyMap = new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            notifyMap.put("channelType", payChannel); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            notifyMap.put("tradeState", "1"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            notifyMap.put("totalMoney", payAmount); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            notifyMap.put("merOrderNo",orderNo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            HttpResponseResult httpResponseResult = webFeignService.updateOrder(notifyMap); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!httpResponseResult.getStatus()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                throw new BizException(httpResponseResult.getMsg()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             LOG.error("汇付支付回调,订单状态异常。 req is {}", detail.getOrderSn()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // 金额退回 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        Map<String,Object> notifyMap = new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        notifyMap.put("channelType", payChannel); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        notifyMap.put("tradeState", "1"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        notifyMap.put("totalMoney", payAmount); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        notifyMap.put("merOrderNo",orderNo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        HttpResponseResult httpResponseResult = webFeignService.updateOrder(notifyMap); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (!httpResponseResult.getStatus()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            throw new BizException(httpResponseResult.getMsg()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -829,15 +831,13 @@ public class OmsPortalOrderServiceImpl implements OmsPortalOrderService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 修改用户付款状态 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             orderPayment.setStatus(TradeStatusEnum.failed.getCode()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             userOrderPaymentService.saveOrUpdate(orderPayment); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            HttpResponseResult httpResponseResult = webFeignService.updateOrder(notifyMap); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!httpResponseResult.getStatus()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                throw new BizException(httpResponseResult.getMsg()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             LOG.error("汇付支付回调,订单状态异常。 req is {}", orderNo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        HttpResponseResult httpResponseResult = webFeignService.updateOrder(notifyMap); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (!httpResponseResult.getStatus()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            throw new BizException(httpResponseResult.getMsg()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 |