Browse Source

活动排课

zouxuan 3 years ago
parent
commit
a38ab0b664

+ 11 - 0
mec-biz/src/main/java/com/ym/mec/biz/dal/dto/ReturnFeeDto.java

@@ -10,6 +10,9 @@ public class ReturnFeeDto {
     @ApiModelProperty(value = "课程组编号",required = false)
     private Long vipGroupId;
 
+    @ApiModelProperty(value = "课程组编号",required = false)
+    private Long groupId;
+
     @ApiModelProperty(value = "退费学员",required = false)
     private Integer studentId;
 
@@ -21,6 +24,14 @@ public class ReturnFeeDto {
 
     private GroupType groupType;
 
+    public Long getGroupId() {
+        return groupId;
+    }
+
+    public void setGroupId(Long groupId) {
+        this.groupId = groupId;
+    }
+
     public GroupType getGroupType() {
         return groupType;
     }

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

@@ -150,7 +150,7 @@ public class GroupClassServiceImpl implements GroupClassService {
     @Override
     @Transactional(rollbackFor = Exception.class, isolation = Isolation.READ_COMMITTED)
     public HttpResponseResult cancelGroup(ReturnFeeDto returnFeeDto) {
-        Long groupId = returnFeeDto.getVipGroupId();
+        Long groupId = returnFeeDto.getGroupId();
         if (Objects.isNull(groupId)) {
             throw new BizException("请指定课程组");
         }