|
@@ -762,13 +762,13 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public Integer activityGive(Integer vipGroupActivityId, StudentPaymentOrder studentPaymentOrder, Long vipGroupId, Long practiceGroupId, Integer teacherId) {
|
|
|
+ public Integer activityGive(Integer vipGroupActivityId, StudentPaymentOrder studentPaymentOrder, String vipGroupId, String practiceGroupId, Integer teacherId) {
|
|
|
Integer activityUserMapperId = null;
|
|
|
if (vipGroupActivityId != null) {
|
|
|
VipGroupActivity activity = vipGroupActivityDao.get(vipGroupActivityId);
|
|
|
ActivityUserMapper activityUserMapper = new ActivityUserMapper();
|
|
|
- activityUserMapper.setVipGroupId(vipGroupId.toString());
|
|
|
- activityUserMapper.setPracticeGroupId(practiceGroupId.toString());
|
|
|
+ activityUserMapper.setVipGroupId(vipGroupId);
|
|
|
+ activityUserMapper.setPracticeGroupId(practiceGroupId);
|
|
|
activityUserMapper.setPaymentOrderId(studentPaymentOrder.getId());
|
|
|
activityUserMapper.setUserId(studentPaymentOrder.getUserId());
|
|
|
activityUserMapper.setActivityId(vipGroupActivityId);
|