change il y a 4 ans
Parent
commit
4076a510dc

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

@@ -57,7 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         LEFT JOIN major m ON l.id = m.label_id
         WHERE
         1 = 1
-        AND l.id =1
+        AND l.status =1
         <if test="status != null and status.size()!=0 ">
             AND l.status in
             <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
@@ -73,6 +73,5 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="id != null and id != ''">
             AND l.id = #{id}
         </if>
-
     </select>
 </mapper>