Przeglądaj źródła

course_schedule 添加逻辑删除

zouxuan 3 tygodni temu
rodzic
commit
6b91f2dadf

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/CourseScheduleMapper.xml

@@ -3857,7 +3857,7 @@
     </select>
     <select id="getUnderwayCourseNum" resultType="int">
         SELECT COUNT(*) FROM course_schedule WHERE music_group_id_ = #{musicGroupId}
-        AND group_type_ = #{groupType} AND status_=#{status} AND pre_course_flag_ = 0 AND cs.del_flag_ = '0'
+        AND group_type_ = #{groupType} AND status_=#{status} AND pre_course_flag_ = 0 AND del_flag_ = '0'
     </select>
 
     <select id="getMusicGroupCourseInfo" resultMap="CourseSchedule"><![CDATA[