Commit 2a8c5234 by zhiwj

bug

parent 30e9437e
......@@ -84,7 +84,7 @@ public class BillingOrderController {
vo.setCouponCardVO(EntityUtil.changeEntityByJSON(BillingCouponCardVO.class, couponCardDTO));
}
}
if(dto.getPayType().intValue() == PayTypeEnum.OFFLINE_PAY.getCode()){
if(dto.getPayType() != null && dto.getPayType() == PayTypeEnum.OFFLINE_PAY.getCode()){
ServiceResponse<TransferAccountsApprovalDTO> byOrderNumber = this.transferAccountsApprovalApiService.
getByOrderNumber(dto.getSerialNumber());
if(byOrderNumber.isSuccess()){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment