|
@@ -911,17 +911,17 @@ public class StudentManageServiceImpl implements StudentManageService {
|
|
|
if(!activityCourseDetailDto.getVip2().equals(0) && !activityCourseDetailDto.getVip2().equals(1)){
|
|
|
throw new BizException("修改失败:排课次数异常");
|
|
|
}
|
|
|
- if(!activityCourseDetailDto.getFreeVip().equals(0) && !activityCourseDetailDto.getFreeVip().equals(1)){
|
|
|
+ if(!activityCourseDetailDto.getFree_vip().equals(0) && !activityCourseDetailDto.getFree_vip().equals(1)){
|
|
|
throw new BizException("修改失败:排课次数异常");
|
|
|
}
|
|
|
- if(!activityCourseDetailDto.getMusicTheory().equals(0) && !activityCourseDetailDto.getMusicTheory().equals(1)){
|
|
|
+ if(!activityCourseDetailDto.getMusic_theory().equals(0) && !activityCourseDetailDto.getMusic_theory().equals(1)){
|
|
|
throw new BizException("修改失败:排课次数异常");
|
|
|
}
|
|
|
- if(activityCourseDetailDto.getMusicTheory().equals(1)){
|
|
|
+ if(activityCourseDetailDto.getMusic_theory().equals(1)){
|
|
|
String activityCourseDetail = student.getActivityCourseDetail();
|
|
|
if(StringUtils.isNotEmpty(activityCourseDetail)){
|
|
|
ActivityCourseDetailDto detailDto = JSON.parseObject(activityCourseDetail, ActivityCourseDetailDto.class);
|
|
|
- if(detailDto.getMusicTheory() == null || detailDto.getMusicTheory().equals(0)){
|
|
|
+ if(detailDto.getMusic_theory() == null || detailDto.getMusic_theory().equals(0)){
|
|
|
SysUser sysUser = sysUserFeignService.queryUserById(student.getUserId());
|
|
|
if(sysUser == null){
|
|
|
throw new BizException("请登录");
|
|
@@ -930,9 +930,9 @@ public class StudentManageServiceImpl implements StudentManageService {
|
|
|
if(degreeCourseFee == null){
|
|
|
throw new BizException("学员所在分部未配置考级价格");
|
|
|
}
|
|
|
- activityCourseDetailDto.setMusicTheoryPrice(degreeCourseFee.getTheory());
|
|
|
+ activityCourseDetailDto.setMusic_theory_price(degreeCourseFee.getTheory());
|
|
|
}else {
|
|
|
- activityCourseDetailDto.setMusicTheoryPrice(detailDto.getMusicTheoryPrice());
|
|
|
+ activityCourseDetailDto.setMusic_theory_price(detailDto.getMusic_theory_price());
|
|
|
}
|
|
|
}else {
|
|
|
SysUser sysUser = sysUserFeignService.queryUserById(student.getUserId());
|
|
@@ -943,10 +943,10 @@ public class StudentManageServiceImpl implements StudentManageService {
|
|
|
if(degreeCourseFee == null){
|
|
|
throw new BizException("学员所在分部未配置考级价格");
|
|
|
}
|
|
|
- activityCourseDetailDto.setMusicTheoryPrice(degreeCourseFee.getTheory());
|
|
|
+ activityCourseDetailDto.setMusic_theory_price(degreeCourseFee.getTheory());
|
|
|
}
|
|
|
}else {
|
|
|
- activityCourseDetailDto.setMusicTheoryPrice(BigDecimal.ZERO);
|
|
|
+ activityCourseDetailDto.setMusic_theory_price(BigDecimal.ZERO);
|
|
|
}
|
|
|
activityCourseDetailDto.setUserId(null);
|
|
|
student.setActivityCourseDetail(JSON.toJSONString(activityCourseDetailDto));
|