liujunchi 2 роки тому
батько
коміт
a6241268c3

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/PracticeGroupServiceImpl.java

@@ -3472,7 +3472,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
         practiceBuyResult.setType(order.getType().getCode());
         practiceBuyResult.setFinanceChops(financeChops);
 
-        if (order.getGroupType().equals(GroupType.GOODS_SELL)) {
+        if (order.getGroupType().equals(GroupType.GOODS_SELL) || order.getGroupType().equals(GroupType.MALL_SELL)) {
             practiceBuyResult.setDetail(studentGoodsSellDao.getStudentGoodsSellDto(orderNo));
         }
 

+ 1 - 1
mec-student/src/main/java/com/ym/mec/student/controller/StudentOrderController.java

@@ -305,7 +305,7 @@ public class StudentOrderController extends BaseController {
                     orderDetail.put("additionCourseInfo", studentPaymentOrderDetails.get(0).getGoodsIdList());
                 }
             }
-        } else if (orderByOrderNo.getGroupType().equals(GroupType.GOODS_SELL)) {
+        } else if (orderByOrderNo.getGroupType().equals(GroupType.GOODS_SELL)|| orderByOrderNo.getGroupType().equals(GroupType.MALL_SELL)) {
             orderDetail.put("detail", studentGoodsSellDao.getStudentGoodsSellDto(orderNo));
         } else if (orderByOrderNo.getGroupType().equals(GroupType.REPLACEMENT)) {
             orderDetail.put("detail", replacementInstrumentActivityDao.getInfo(Integer.parseInt(orderByOrderNo.getMusicGroupId())));