@ -28,7 +28,7 @@ public interface TeacherProjectAndCourseMapper {
// "</script>"})
// "</script>"})
@Select("select DISTINCT hpm.projectId,projectName,isOpenProject,isAttendance from hr_project_management hpm left join teacher_project tp on hpm.projectId=tp.projectId "+
@Select("select DISTINCT hpm.projectId,projectName,isOpenProject,isAttendance from hr_project_management hpm left join teacher_project tp on hpm.projectId=tp.projectId "+
" where tp.courseId=#{courseId} and tp.experimentalClassId=#{experimentalClassId}")
" where hpm.isdel=0 and tp.courseId=#{courseId} and tp.experimentalClassId=#{experimentalClassId}")
@ -47,13 +47,13 @@ public interface TeacherProjectAndCourseMapper {
@Select("select count(*) from hr_course_schedule where courseId=#{courseId}")
@Select("select count(*) from hr_course_schedule where courseId=#{courseId}")
IntegergetCourseSchedule(IntegercourseId);
IntegergetCourseSchedule(IntegercourseId);
@Select("select DISTINCT tc.projectId from hr_course_tc tc left join hr_project_management pm on tc.projectId=pm.projectId where tc.courseId=#{courseId} and pm.projectPermissions=0 ")
@Select("select DISTINCT tc.projectId from hr_course_tc tc left join hr_project_management pm on tc.projectId=pm.projectId where pm.isdel=0 and tc.courseId=#{courseId} and pm.projectPermissions=0 ")
List<Integer>queryProject(IntegercourseId);
List<Integer>queryProject(IntegercourseId);
@Insert({"<script>",
@Insert({"<script>",
"insert into teacher_project(courseId,experimentalClassId,projectId) values ",
"insert into teacher_project(courseId,experimentalClassId,projectId) values ",