|
@@ -252,7 +252,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
if (studentRegistration.getTemporaryCourseFee() != null) {
|
|
|
List<StudentPaymentOrderDetail> orderDetails = studentPaymentOrderDetailService.findUserApplyOrder(studentRegistration.getUserId(), DealStatusEnum.WAIT_PAY);
|
|
|
for (StudentPaymentOrderDetail orderDetail : orderDetails) {
|
|
|
- if (orderDetail == null || orderDetail.getPrice() == null){
|
|
|
+ if (orderDetail == null || orderDetail.getPrice() == null || orderDetail.getGoodsIdList() != null){
|
|
|
continue;
|
|
|
}
|
|
|
MusicGroupSubjectGoodsGroup musicGroupSubjectGoodsGroup = new MusicGroupSubjectGoodsGroup();
|
|
@@ -401,7 +401,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
if (studentRegistration.getTemporaryCourseFee() != null) {
|
|
|
List<StudentPaymentOrderDetail> orderDetails = studentPaymentOrderDetailService.findUserApplyOrder(studentRegistration.getUserId(), DealStatusEnum.WAIT_PAY);
|
|
|
for (StudentPaymentOrderDetail orderDetail : orderDetails) {
|
|
|
- if (orderDetail == null || orderDetail.getPrice() == null){
|
|
|
+ if (orderDetail == null || orderDetail.getPrice() == null || orderDetail.getGoodsIdList() != null){
|
|
|
continue;
|
|
|
}
|
|
|
MusicGroupSubjectGoodsGroup musicGroupSubjectGoodsGroup = new MusicGroupSubjectGoodsGroup();
|