|
|
@@ -11,7 +11,11 @@ import com.xjrsoft.common.enums.RoleCodeEnum;
|
|
|
import com.xjrsoft.common.model.result.RT;
|
|
|
import com.xjrsoft.common.page.ConventPage;
|
|
|
import com.xjrsoft.common.page.PageOutput;
|
|
|
+import com.xjrsoft.module.banding.dto.BandingTaskClassPageDto;
|
|
|
+import com.xjrsoft.module.banding.entity.BandingTaskClass;
|
|
|
+import com.xjrsoft.module.banding.service.IBandingTaskClassService;
|
|
|
import com.xjrsoft.module.banding.service.IBandingTaskClassStudentService;
|
|
|
+import com.xjrsoft.module.banding.vo.BandingTaskClassPageVo;
|
|
|
import com.xjrsoft.module.student.dto.ChangeBandingStatusDto;
|
|
|
import com.xjrsoft.module.student.dto.StudentReportRecordPageDto;
|
|
|
import com.xjrsoft.module.student.dto.StudentReportSignDto;
|
|
|
@@ -52,6 +56,7 @@ public class StudentTryReadingReportController {
|
|
|
private final IStudentReportRecordService recordService;
|
|
|
private final IBandingTaskClassStudentService classStudentService;
|
|
|
private final IStudentReportPlanService reportPlanService;
|
|
|
+ private final IBandingTaskClassService bandingTaskClassService;
|
|
|
|
|
|
|
|
|
@GetMapping(value = "/page")
|
|
|
@@ -123,6 +128,7 @@ public class StudentTryReadingReportController {
|
|
|
@PostMapping(value = "/export-query")
|
|
|
@ApiOperation(value="导出")
|
|
|
@SaCheckPermission("studentreportrecord:detail")
|
|
|
+ @XjrLog(value = "导出")
|
|
|
public ResponseEntity<byte[]> exportQuerty(@Valid @RequestBody StudentReportRecordPageDto dto){
|
|
|
List<StudentReportRecordExcelVo> dataList = new ArrayList<>();
|
|
|
|
|
|
@@ -154,5 +160,14 @@ public class StudentTryReadingReportController {
|
|
|
return RT.fileStream(bot.toByteArray(), fileName);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping(value = "/class-list")
|
|
|
+ @ApiOperation(value="查询班级信息")
|
|
|
+ @SaCheckPermission("studentreportrecord:detail")
|
|
|
+ @XjrLog(value = "导出")
|
|
|
+ public RT<List<BandingTaskClassPageVo>> classList(@Valid Long teacherId){
|
|
|
+ List<BandingTaskClassPageVo> list = bandingTaskClassService.getList(new BandingTaskClassPageDto());
|
|
|
+ return RT.ok(list);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|