change 4 lat temu
rodzic
commit
c6b0c7f58a

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

@@ -31,16 +31,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             major_label l
         where 1=1
         <if test="status != null and status.size()!=0 ">
-            AND b.status in
+            AND l.status in
             <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
                 #{item}
             </foreach>
         </if>
         <if test="encoder != null and encoder != ''">
-            AND b.encoder = #{encoder}
+            AND l.encoder = #{encoder}
         </if>
         <if test="labelName != null and labelName != ''">
-            AND b.label_name = #{labelName}
+            AND l.label_name = #{labelName}
         </if>
 
     </select>

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/course/MajorProjectMapper.xml

@@ -7,7 +7,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <resultMap type="com.zhongzheng.modules.course.domain.MajorProject" id="MajorProjectResult">
         <result property="id" column="id"/>
         <result property="projectId" column="project_id"/>
-        <result property="subjectId" column="subject_id"/>
+        <result property="majorId" column="subject_id"/>
         <result property="createTime" column="create_time"/>
         <result property="updateTime" column="update_time"/>
     </resultMap>