|
@@ -380,6 +380,12 @@
|
|
|
<if test="param.status != null and param.status != ''">
|
|
|
AND cg.status_ = #{param.status}
|
|
|
</if>
|
|
|
+ <if test="param.studentId != null">
|
|
|
+ AND sp.user_id_ = #{param.studentId}
|
|
|
+ </if>
|
|
|
+ <if test="param.teacherId != null">
|
|
|
+ AND cg.teacher_id_ = #{param.teacherId}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
<select id="selectPracticeGroupDetail"
|
|
|
resultType="com.yonge.cooleshow.biz.dal.vo.CourseGroupPracticeDetailVo">
|
|
@@ -447,6 +453,12 @@
|
|
|
<if test="param.endTime != null">
|
|
|
AND endTime >= #{param.endTime}
|
|
|
</if>
|
|
|
+ <if test="param.studentId != null">
|
|
|
+ AND studentId = #{param.studentId}
|
|
|
+ </if>
|
|
|
+ <if test="param.teacherId != null">
|
|
|
+ AND teacherId = #{param.teacherId}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
<select id="selectLiveGroup" resultType="com.yonge.cooleshow.biz.dal.vo.CourseGroupLiveVo">
|