|
@@ -614,7 +614,7 @@ public class YqPayController extends BaseController {
|
|
schoolService.sendPayMsg(applyInfo.getPatriarchPhone(), order.getAmount().toString());
|
|
schoolService.sendPayMsg(applyInfo.getPatriarchPhone(), order.getAmount().toString());
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (order.getPromotionType().equals(1)) {
|
|
|
|
|
|
+ if (order.getPromotionType() != null && order.getPromotionType().equals(1)) {
|
|
RenewBean renewBean = new RenewBean();
|
|
RenewBean renewBean = new RenewBean();
|
|
renewBean.setUserId(order.getUserId());
|
|
renewBean.setUserId(order.getUserId());
|
|
renewBean.setType(101);
|
|
renewBean.setType(101);
|