|
@@ -96,7 +96,9 @@ public class CallBackServiceImpl implements ICallBackService {
|
|
|
resultMap.put("amount", amountList);
|
|
|
if (Objects.equals(callBackTypeEnum, CallBackTypeEnum.CALL_BACK_PAY_ORDER)) {
|
|
|
PlatformOrderDTO platformOrderDTO = orderService.getByOrderId(param.getOrderId());
|
|
|
- resultMap.put("amount", Collections.singletonList(platformOrderDTO.getAmount()));
|
|
|
+ if (platformOrderDTO != null) {
|
|
|
+ resultMap.put("amount", Collections.singletonList(platformOrderDTO.getAmount()));
|
|
|
+ }
|
|
|
}
|
|
|
return resultMap;
|
|
|
}
|