1.调整
This commit is contained in:
		
							parent
							
								
									032e6b6d02
								
							
						
					
					
						commit
						c11c2de893
					
				|  | @ -14,7 +14,7 @@ public enum PayStatus { | |||
| 
 | ||||
|     SUCCESS("SUCCESS", "支付成功"), | ||||
|     NOTPAY("NOTPAY", "未支付"), | ||||
|     CLOSE("CLOSE", "已关闭"), | ||||
|     CLOSE("CLOSED", "已关闭"), | ||||
|     REVOKED("REVOKED", "已撤销"), | ||||
|     USERPAYING("USERPAYING", "用户支付中"), | ||||
|     PAYERROR("PAYERROR", "支付失败"), | ||||
|  |  | |||
|  | @ -1787,10 +1787,10 @@ public class AsDeviceServiceImpl extends ServiceImpl<AsDeviceMapper, AsDevice> i | |||
|                 throw new ServiceException("该订单状态非骑行中"); | ||||
|             } | ||||
|             EtOperatingArea area = etOperatingAreaService.selectEtOperatingAreaByAreaId(order.getAreaId()); | ||||
|             if(ServiceConstants.RETURN_TYPE_NORMAL.equals(returnType)){ | ||||
|                 if(ServiceConstants.RETURN_VERIFY_YES.equals(area.getReturnVerify()) && StrUtil.isBlank(order.getVideoUrl())){ | ||||
|                     throw new ServiceException("请先拍摄还车视频!"); | ||||
|                 } | ||||
|             if(ServiceConstants.RETURN_TYPE_NORMAL.equals(returnType)){ | ||||
|                 //判断是否在禁停区内,如果在禁停区内,不能还车。  noParkingArea | ||||
|                 if(isNoParkingArea(order.getSn(), order.getAreaId())){ | ||||
|                     throw new ServiceException("在禁停区内,不能还车"); | ||||
|  |  | |||
|  | @ -185,6 +185,9 @@ public class CallbackServiceImpl implements CallbackService { | |||
|     public void businessHandle(String outTradeNo,AttachVo attachVo,String payType) { | ||||
|         // 充值成功后的业务处理 | ||||
|         EtOrder order = orderService.selectEtOrderByOutTradeNo(outTradeNo); | ||||
|         if(order.getPaid().equals(ServiceConstants.ORDER_PAY_STATUS_PAID)){ | ||||
|             return; | ||||
|         } | ||||
|         EtOrder order1 = new EtOrder(); | ||||
|         order1.setOrderId(order.getOrderId()); | ||||
|         logger.info("【微信/太米支付回调】订单信息 : " + JSON.toJSONString(order)); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user