소스 검색

Merge branch 'feature/0704-stat' into test

yuanliang 1 년 전
부모
커밋
3d23921be8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      mec-application/src/main/java/com/ym/mec/web/controller/StudentCoursewarePlayRecordController.java

+ 1 - 0
mec-application/src/main/java/com/ym/mec/web/controller/StudentCoursewarePlayRecordController.java

@@ -113,6 +113,7 @@ public class StudentCoursewarePlayRecordController extends BaseController {
     @PostMapping("/exportStatList")
     @PreAuthorize("@pcs.hasPermissions('studentCoursewarePlayRecord/exportStatList')")
     public HttpResponseResult exportStatList(@RequestBody StudentCoursewarePlayRecordWrapper.StatQuery statQuery) {
+        statQuery.setOrganizationId(organizationService.getEmployeeOrgan(statQuery.getOrganizationId()));
         return exportService.getExportManageFuncMap().get(ExportEnum.VIDEO_PLAY_STAT).apply(JSON.parseObject(JSON.toJSONString(statQuery), Map.class));
     }