change hace 4 años
padre
commit
58c398acf4

+ 3 - 9
zhongzheng-system/src/main/resources/mapper/modules/course/TeacherProjectMapper.xml

@@ -10,16 +10,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="teacherId" column="teacher_id"/>
         <result property="createTime" column="create_time"/>
         <result property="updateTime" column="update_time"/>
-        <result property="educationId" column="education_id"/>
+
     </resultMap>
     <resultMap type="com.zhongzheng.modules.course.vo.TeacherProjectVo" id="TeacherProjectVo">
         <result property="id" column="id"/>
         <result property="projectId" column="project_id"/>
         <result property="teacherId" column="teacher_id"/>
-        <result property="educationId" column="education_id"/>
-        <result property="projectName" column="project_name"/>
-        <result property="educationName" column="education_name"/>
-        <result property="educationId" column="education_id"/>
+
     </resultMap>
 
 
@@ -27,13 +24,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         SELECT
         p.*,
         t.project_name,
-        t.id as project_id,
-        e.id as education_id,
-        e.education_name
+        t.id as project_id
         FROM
         teacher_project p
         LEFT JOIN course_project_type t on p.project_id=t.id
-        LEFT JOIN course_education_type e on t.education_id = e.id
         WHERE
         1 =1
         <if test="id != null and id!=0 ">