@ -86,8 +86,8 @@ public interface ExperimentallearningMapper {
*@paramcourseId
*@paramcourseId
*@return
*@return
*/
*/
@Select("SELECT id,experimentId,experimentalClassId,classId FROM assessment WHERE id in (SELECT id FROM assessment ass,hr_project_management pm WHERE assesmentState=1 AND ass.experimentId=pm.projectId AND ass.experimentId in "
@Select("select id,experimentId,experimentalClassId,classId from assessment a left join hr_project_management pm on a.experimentId=pm.projectId left join hr_course_tc tc on pm.systemId=tc.systemId\n"+
+"(SELECT projectId FROM hr_project_management WHERE isdel=0 AND projectPermissions=1 AND systemId in (SELECT systemId FROM course WHERE courseId=#{courseId})))")
"where a.assesmentState=1 AND pm.state=1 and pm.isdel=0 AND pm.projectPermissions=1 and a.courseId=tc.courseId and tc.courseId=#{courseId} GROUP BY tc.systemId")