Browse Source

1、服务指标导出增加作业提交时间;

Joburgess 5 năm trước cách đây
mục cha
commit
27d68024b2

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

@@ -1541,7 +1541,9 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 		}
 
         if(classStudentMapperByUserIdAndClassGroupId.getStatus().equals(ClassGroupStudentStatusEnum.QUIT_SCHOOL)){
-            throw new BizException("当前学生已是休学状态");
+			classStudentMapperByUserIdAndClassGroupId.setStatus(ClassGroupStudentStatusEnum.QUIT);
+			classGroupStudentMapperDao.update(classStudentMapperByUserIdAndClassGroupId);
+			return;
         }
 
 		sysUserCashAccountService.updateBalance(studentId, amount);