Преглед на файлове

1、新增学员兼容赠课

Joburgess преди 5 години
родител
ревизия
331fe10611
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/CourseScheduleStudentPaymentServiceImpl.java

+ 0 - 2
mec-biz/src/main/java/com/ym/mec/biz/service/impl/CourseScheduleStudentPaymentServiceImpl.java

@@ -54,13 +54,11 @@ public class CourseScheduleStudentPaymentServiceImpl extends BaseServiceImpl<Lon
 			throw new BizException("未获取到排课信息");
 		}
 
-        boolean hasGiveClass=false;
         int giveClassTimes=0;
         if(vipGroupApplyBaseInfoDto.getStatus().equals(VipGroupStatusEnum.APPLYING)
                 &&Objects.nonNull(vipGroupActivity)
                 &&vipGroupActivity.getType().equals(VipGroupActivityTypeEnum.GIVE_CLASS)
                 &&vipGroupCourseSchedules.size()>=Integer.parseInt(vipGroupActivity.getAttribute1())){
-            hasGiveClass=true;
             giveClassTimes=Integer.parseInt(vipGroupActivity.getAttribute2());
         }