瀏覽代碼

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

Joburgess 5 年之前
父節點
當前提交
27d68024b2
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

+ 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);