|
@@ -278,11 +278,7 @@ public class EduPracticeGroupController extends BaseController {
|
|
|
if (sysUser == null) {
|
|
|
return failed(HttpStatus.FORBIDDEN, "请登录");
|
|
|
}
|
|
|
- int studentIngTrialPracticeNum = practiceGroupDao.countStudentIngTrialPractices(studentId);
|
|
|
- Map<String, Object> result=new HashMap<>();
|
|
|
- result.put("practices", eduPracticeGroupService.getStudentTrialPractices(studentId));
|
|
|
- result.put("existIngTrialPractices", studentIngTrialPracticeNum>0?1:0);
|
|
|
- return succeed(result);
|
|
|
+ return succeed(eduPracticeGroupService.getStudentTrialPractices(studentId));
|
|
|
}
|
|
|
|
|
|
@ApiOperation("更新课程组信息")
|