|
@@ -240,14 +240,15 @@ public class StudentOrderController extends BaseController {
|
|
|
}
|
|
|
} else if (orderByOrderNo.getGroupType().equals(GroupType.SPORADIC)) {
|
|
|
if (Objects.nonNull(orderByOrderNo.getMusicGroupId())) {
|
|
|
- SporadicChargeInfo info = sporadicChargeInfoService.get(Integer.valueOf(orderByOrderNo.getMusicGroupId()));
|
|
|
+ List<SporadicChargeInfo> info = sporadicChargeInfoService.findByIds(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());
|
|
|
} else if (OrderTypeEnum.DEGREE_REGISTRATION.equals(orderByOrderNo.getType())) {
|
|
|
- DegreeRegistration degreeRegistration = degreeRegistrationDao.get(orderByOrderNo.getClassGroupId());
|
|
|
+ List<DegreeRegistration> degreeRegistration = degreeRegistrationDao.findByByOrderId(orderByOrderNo.getOrderNo());
|
|
|
+// DegreeRegistration degreeRegistration = degreeRegistrationDao.get(orderByOrderNo.getClassGroupId());
|
|
|
orderDetail.put("degree", degreeRegistration);
|
|
|
List<StudentPaymentOrderDetail> studentPaymentOrderDetails = studentPaymentOrderDetailService.getOrderDetail(orderByOrderNo.getId());
|
|
|
if (!CollectionUtils.isEmpty(studentPaymentOrderDetails)) {
|