|
@@ -1807,8 +1807,8 @@ public class FsStoreOrderServiceImpl implements IFsStoreOrderService
|
|
order=fsStoreOrderMapper.selectFsStoreOrderById(storePayment.getOrderId());
|
|
order=fsStoreOrderMapper.selectFsStoreOrderById(storePayment.getOrderId());
|
|
|
|
|
|
|
|
|
|
- if(order!=null&&!order.getPaid().equals(0)){
|
|
|
|
- throw new CustomException("当前订单未找到! paycode:"+payCode);
|
|
|
|
|
|
+ if(order==null || !order.getPaid().equals(0)){
|
|
|
|
+ throw new CustomException("当前订单未找到或者订单状态不为待支付! paycode:"+payCode);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
else if(type.equals(2)){
|
|
else if(type.equals(2)){
|