From 5e73d743995979014eb9f9f17cf0cc161b603d8c Mon Sep 17 00:00:00 2001
From: xiaoCJ <406612557@qq.com>
Date: Thu, 15 Aug 2024 10:00:37 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E6=AC=A1=E6=96=87?=
 =?UTF-8?q?=E4=BB=B6=E5=A4=A7=E5=B0=8F=E4=B8=BA300M?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../com/sztzjy/resource_center/controller/api/ObjectiveApi.java | 2 +-
 .../sztzjy/resource_center/mapper/SysThreeCatalogMapper.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/sztzjy/resource_center/controller/api/ObjectiveApi.java b/src/main/java/com/sztzjy/resource_center/controller/api/ObjectiveApi.java
index 05fc03c..27dd146 100644
--- a/src/main/java/com/sztzjy/resource_center/controller/api/ObjectiveApi.java
+++ b/src/main/java/com/sztzjy/resource_center/controller/api/ObjectiveApi.java
@@ -435,7 +435,7 @@ public class ObjectiveApi {
      * return:List<SysObjectiveQuestions>
      */
     @AnonymousAccess
-    @ApiOperation("根据章节I查询所有内置题目")
+    @ApiOperation("根据章节ID查询所有内置题目")
     @PostMapping("selectObjectQuestionListByChapterId")
     private List<SysObjectiveQuestions> selectObjectQuestionListByChapterId(@RequestParam String chapterId) {
         SysTopicAndCourseExample example = new SysTopicAndCourseExample();
diff --git a/src/main/java/com/sztzjy/resource_center/mapper/SysThreeCatalogMapper.java b/src/main/java/com/sztzjy/resource_center/mapper/SysThreeCatalogMapper.java
index b1e358b..980419c 100644
--- a/src/main/java/com/sztzjy/resource_center/mapper/SysThreeCatalogMapper.java
+++ b/src/main/java/com/sztzjy/resource_center/mapper/SysThreeCatalogMapper.java
@@ -49,7 +49,7 @@ public interface SysThreeCatalogMapper {
     List<String> selectNameByCourseID(@Param("oneId") String oneId,
                                       @Param("source") String source);
 
-    @Select("select three_id from sys_three_catalog where three_name =#{threeName} and two_name ={twoName}")
+    @Select("select three_id from sys_three_catalog where three_name =#{threeName} and two_name =#{twoName}")
     String getIdByName(@Param("threeName") String threeName,
                        @Param("twoName") String twoName);
 }
\ No newline at end of file