|
@@ -16,7 +16,7 @@
|
16
|
16
|
<!--行政直播课对应的课程已开课数量-->
|
17
|
17
|
<select id="getXzSectionKsNum" resultType="java.lang.Integer">
|
18
|
18
|
select count(*) from l_course c left join l_xz_kj k on c.kjid = k.kjid
|
19
|
|
- where k.xzid = #{xzid} and c.coursestate>0
|
|
19
|
+ where k.xzid = #{xzid} and c.deleted=1 and c.coursestate>0
|
20
|
20
|
</select>
|
21
|
21
|
|
22
|
22
|
<!--获取行政直播信息-->
|
|
@@ -80,13 +80,13 @@
|
80
|
80
|
left join t_user u on c.teacherid=u.userid
|
81
|
81
|
left join t_subject s on c.subjectid=s.subjectid left join l_xz_kj k on c.kjid=k.kjid
|
82
|
82
|
where c.begindate=#{selectdate} and c.courseclass=1 and k.xzid=#{xzid} and cc.classid=#{classid}
|
83
|
|
- order by k.kjorder, lc.classtype, lc.classorder
|
|
83
|
+ and c.deleted=1 order by k.kjorder, lc.classtype, lc.classorder
|
84
|
84
|
</select>
|
85
|
85
|
|
86
|
86
|
<!--获取指定课节班级对应的课程的日期-->
|
87
|
87
|
<select id="getAllDatesForKj" resultType="java.lang.String">
|
88
|
88
|
select c.enddate from l_course c left join l_course_class cc on c.courseid=cc.courseid
|
89
|
|
- WHERE c.kjid=#{kjid} and cc.classid=#{classid} and c.begindate<![CDATA[ >= ]]>#{seldate}
|
|
89
|
+ WHERE c.kjid=#{kjid} and cc.classid=#{classid} and c.deleted=1 and c.begindate<![CDATA[ >= ]]>#{seldate}
|
90
|
90
|
</select>
|
91
|
91
|
|
92
|
92
|
<!--根据课节id获取行政直播详情-->
|