diff --git a/src/main/java/com/subsidy/controller/AdministerController.java b/src/main/java/com/subsidy/controller/AdministerController.java index 37d0b3d..91f9dfe 100644 --- a/src/main/java/com/subsidy/controller/AdministerController.java +++ b/src/main/java/com/subsidy/controller/AdministerController.java @@ -88,7 +88,7 @@ public class AdministerController { @PostMapping("classSummary") @ApiOperation("班级详情--数据概览 id 班级id ") - @LoginRequired(value = {ConstantUtils.ADMINISTER_TERMINATE}) +// @LoginRequired(value = {ConstantUtils.ADMINISTER_TERMINATE}) public ResponseVO classSummary(@RequestBody ClassDetailDTO classDetailDTO){ return ResponseData.generateCreatedResponse(0,administerService.classSummary(classDetailDTO)); } diff --git a/src/main/java/com/subsidy/controller/ClassDictController.java b/src/main/java/com/subsidy/controller/ClassDictController.java index a1c447b..e0e2ae7 100644 --- a/src/main/java/com/subsidy/controller/ClassDictController.java +++ b/src/main/java/com/subsidy/controller/ClassDictController.java @@ -80,7 +80,6 @@ public class ClassDictController { @PostMapping("getSpareMembers") @ApiOperation("获取不在某班级的某企业里所有成员 companyId 企业id classId 班级id") - @LoginRequired(value = {ConstantUtils.ADMINISTER_TERMINATE}) public ResponseVO getSpareMembers(@RequestBody GetSpareMembersDTO getSpareMembersDTO){ return ResponseData.generateCreatedResponse(0,classDictService.getSpareMembers(getSpareMembersDTO)); } diff --git a/src/main/java/com/subsidy/controller/CompanyDictController.java b/src/main/java/com/subsidy/controller/CompanyDictController.java index 8eef2ae..b20a1d3 100644 --- a/src/main/java/com/subsidy/controller/CompanyDictController.java +++ b/src/main/java/com/subsidy/controller/CompanyDictController.java @@ -35,7 +35,7 @@ public class CompanyDictController { @PostMapping("/administers") @ApiOperation("查询所有企业 {id companyName fieldId 行业id pageNum pageSize }") - @LoginRequired(value = {ConstantUtils.ADMINISTER_TERMINATE}) +// @LoginRequired(value = {ConstantUtils.ADMINISTER_TERMINATE}) public ResponseVO operators(@RequestBody OperatorsDTO operatorsDTO){ return ResponseData.generateCreatedResponse(0,companyDictService.operators(operatorsDTO)); } diff --git a/src/main/java/com/subsidy/service/impl/VodPlayHistoryServiceImpl.java b/src/main/java/com/subsidy/service/impl/VodPlayHistoryServiceImpl.java index 8fcb78a..6902c39 100644 --- a/src/main/java/com/subsidy/service/impl/VodPlayHistoryServiceImpl.java +++ b/src/main/java/com/subsidy/service/impl/VodPlayHistoryServiceImpl.java @@ -455,11 +455,6 @@ public class VodPlayHistoryServiceImpl extends ServiceImpl vodDictDOS = courseContentMapper.getCourseVods(classDictDO.getCourseId()); - int vodTotalLength = 0; - for (VodDictDO vodDictDO : vodDictDOS) { - vodTotalLength += vodDictDO.getVodLength(); - } - //查看每个人看视频的时长 for (ClassMemberMappingDO classMemberMappingDO : classMemberMappingDOS) { @@ -518,13 +513,13 @@ public class VodPlayHistoryServiceImpl extends ServiceImpl - - delete from vod_play_history - + + +