From 7de8f3f56c539cdb4a4b82ad6db1cdc71d62a75e Mon Sep 17 00:00:00 2001 From: Alan <3052806735@qq.com> Date: Mon, 29 Jul 2024 17:53:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E7=9B=AE=E6=A0=87=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=20=E5=8A=A0=E5=85=A5=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/teaching/backend/utils/CourseCode.java | 2 +- src/main/resources/mapper/CourseObjectivesMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/teaching/backend/utils/CourseCode.java b/src/main/java/com/teaching/backend/utils/CourseCode.java index 5d52ae7..d736cd4 100644 --- a/src/main/java/com/teaching/backend/utils/CourseCode.java +++ b/src/main/java/com/teaching/backend/utils/CourseCode.java @@ -9,7 +9,7 @@ public enum CourseCode { SI_ZHENG_EXIT(1, "思政目标存在"), KNOWS_EXIT(0, "存在关联的知识点"), TEACHER_ROLE_ID(1, "教师的角色id是1"), - TOTAL_OBJECTIVE_TYPE(5, "课程总目标"), + TOTAL_OBJECTIVE_TYPE(0, "课程总目标"), Total_EXIT(0, "课程总目标"), diff --git a/src/main/resources/mapper/CourseObjectivesMapper.xml b/src/main/resources/mapper/CourseObjectivesMapper.xml index 2acf2b7..602226f 100644 --- a/src/main/resources/mapper/CourseObjectivesMapper.xml +++ b/src/main/resources/mapper/CourseObjectivesMapper.xml @@ -10,7 +10,7 @@ select t2.* from course_objectives t2 inner join t1 on t1.id = t2.pid ) select * from t1 - order by t1.pid + order by t1.type