|
@@ -716,7 +716,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public Integer activityGive(Integer vipGroupActivityId, Integer userId, Long paymentOrderId,Long vipGroupId,Long practiceGroupId,Integer buyNum) {
|
|
|
+ public Integer activityGive(Integer vipGroupActivityId, Integer userId, Long paymentOrderId,Long vipGroupId,Long practiceGroupId,Integer buyNum,Integer organId) {
|
|
|
Integer activityUserMapperId = null;
|
|
|
if(vipGroupActivityId != null){
|
|
|
ActivityUserMapper activityUserMapper = new ActivityUserMapper();
|
|
@@ -757,6 +757,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
cloudTeacherOrder.setLevel(activity.getGiveMemberRankId());
|
|
|
cloudTeacherOrder.setStudentId(userId);
|
|
|
cloudTeacherOrder.setType(2);
|
|
|
+ cloudTeacherOrder.setOrganId(organId);
|
|
|
PeriodEnum periodEnum = activity.getGivePeriodEnum();
|
|
|
switch (periodEnum){
|
|
|
case DAY:
|