From 14821e28286d773ad5ff2c13510e39c5eb117daf Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期五, 05 七月 2024 13:46:32 +0800
Subject: [PATCH] update

---
 exam-admin/src/main/java/com/gkhy/exam/admin/web/ExStudentStudyController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExStudentStudyController.java b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExStudentStudyController.java
index e97ba6f..470a514 100644
--- a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExStudentStudyController.java
+++ b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExStudentStudyController.java
@@ -4,6 +4,7 @@
 import com.gkhy.exam.common.annotation.Log;
 import com.gkhy.exam.common.annotation.RepeatSubmit;
 import com.gkhy.exam.common.api.CommonResult;
+import com.gkhy.exam.common.constant.UserConstant;
 import com.gkhy.exam.common.enums.BusinessType;
 import com.gkhy.exam.system.service.ExStudentStudyService;
 import io.swagger.annotations.Api;
@@ -35,7 +36,7 @@
     })
     @GetMapping("/getStudentStudy")
     public CommonResult getStudentStudy(@RequestParam(required = true) Long phaseId, @RequestParam(required = true)Long studentId){
-        return CommonResult.success(studentStudyService.selectStudyByPhaseAndStundentId(phaseId,studentId));
+        return CommonResult.success(studentStudyService.selectStudyByPhaseAndStundentId(phaseId,studentId, UserConstant.ENABLE));
     }
 
 

--
Gitblit v1.9.2