|
@@ -136,8 +136,10 @@ public class StudentOrderController extends BaseController {
|
|
|
VipBuyResultDto vipBuyResultInfo = vipGroupService.findVipBuyResultInfo(Integer.valueOf(orderByOrderNo.getMusicGroupId()));
|
|
|
orderDetail.put("detail", vipBuyResultInfo);
|
|
|
} else if (orderByOrderNo.getGroupType().equals(GroupType.SPORADIC)) {
|
|
|
- SporadicChargeInfo info = sporadicChargeInfoService.get(Integer.valueOf(orderByOrderNo.getMusicGroupId()));
|
|
|
- orderDetail.put("detail", info);
|
|
|
+ if(Objects.nonNull(orderByOrderNo.getMusicGroupId())){
|
|
|
+ SporadicChargeInfo info = sporadicChargeInfoService.get(Integer.valueOf(orderByOrderNo.getMusicGroupId()));
|
|
|
+ orderDetail.put("detail", info);
|
|
|
+ }
|
|
|
if (orderByOrderNo.getType().equals(OrderTypeEnum.DOUBLE_ELEVEN2020)) {
|
|
|
LuckDrawCount luckDrawCount = luckDrawCountService.get(orderByOrderNo.getUserId().longValue());
|
|
|
orderDetail.put("drawTimes", luckDrawCount==null? 0: luckDrawCount.getAvailableCount());
|