|
@@ -11,6 +11,7 @@ import cn.afterturn.easypoi.excel.entity.ExportParams;
|
|
|
import cn.afterturn.easypoi.excel.entity.enmus.ExcelType;
|
|
import cn.afterturn.easypoi.excel.entity.enmus.ExcelType;
|
|
|
import cn.hutool.core.lang.Validator;
|
|
import cn.hutool.core.lang.Validator;
|
|
|
import com.github.pagehelper.PageInfo;
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
|
+import com.zhongzheng.common.core.domain.entity.SysRole;
|
|
|
import com.zhongzheng.common.core.redis.RedisCache;
|
|
import com.zhongzheng.common.core.redis.RedisCache;
|
|
|
import com.zhongzheng.common.utils.SecurityUtils;
|
|
import com.zhongzheng.common.utils.SecurityUtils;
|
|
|
import com.zhongzheng.common.utils.ServletUtils;
|
|
import com.zhongzheng.common.utils.ServletUtils;
|
|
@@ -143,6 +144,18 @@ public class ClassGradeController extends BaseController {
|
|
|
return getDataTable(list);
|
|
return getDataTable(list);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 导出班级学员列表
|
|
|
|
|
+ */
|
|
|
|
|
+ @ApiOperation("导出班级学员列表")
|
|
|
|
|
+// @PreAuthorize("@ss.hasPermi('grade:grade:list')")
|
|
|
|
|
+ @GetMapping("/exportListGrade")
|
|
|
|
|
+ public AjaxResult exportListGrade(ClassGradeUserQueryBo bo) {
|
|
|
|
|
+ List<ClassGradeStudentVo> list = iClassGradeService.listGrade(bo);
|
|
|
|
|
+ ExcelUtil<ClassGradeStudentVo> util = new ExcelUtil<ClassGradeStudentVo>(ClassGradeStudentVo.class);
|
|
|
|
|
+ return util.exportExcel(list, "班级学员列表");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 学员进入新的班级
|
|
* 学员进入新的班级
|
|
|
*/
|
|
*/
|