@ -76,6 +79,7 @@ public interface AssesmentMapper {
/**
/**
*创建考核
*创建考核
*
*@paramassesment
*@paramassesment
*/
*/
@Insert("insert into assessment (assesmentName,releaseType,creationTime,endTime,timesum,experimentId,classId,assesmentState,assessmentSize,experimentalClassId,staffId,courseId,assessmentNumber)"
@Insert("insert into assessment (assesmentName,releaseType,creationTime,endTime,timesum,experimentId,classId,assesmentState,assessmentSize,experimentalClassId,staffId,courseId,assessmentNumber)"
@ -86,6 +90,7 @@ public interface AssesmentMapper {
/**
/**
*修改考核
*修改考核
*
*@paramassesment
*@paramassesment
*/
*/
@Update("update assessment set assesmentName=#{assesmentName},releaseType=#{releaseType},creationTime=#{creationTime},endTime=#{endTime},timesum=#{timesum},assessmentSize=#{assessmentSize},assessmentNumber=#{assessmentNumber}"
@Update("update assessment set assesmentName=#{assesmentName},releaseType=#{releaseType},creationTime=#{creationTime},endTime=#{endTime},timesum=#{timesum},assessmentSize=#{assessmentSize},assessmentNumber=#{assessmentNumber}"
@ -106,6 +111,7 @@ public interface AssesmentMapper {
/**
/**
*根据考核id查询数据
*根据考核id查询数据
*
*@paramid
*@paramid
*@return
*@return
*/
*/
@ -117,6 +123,7 @@ public interface AssesmentMapper {
/**
/**
*查询行政班级id
*查询行政班级id
*
*@paramstudentIds
*@paramstudentIds
*@return
*@return
*/
*/
@ -129,6 +136,7 @@ public interface AssesmentMapper {
/**
/**
*创建考核时选中的学生
*创建考核时选中的学生
*
*@paramassesmentId
*@paramassesmentId
*@return
*@return
*/
*/
@ -138,6 +146,7 @@ public interface AssesmentMapper {
/**
/**
*删除多余的记录信息
*删除多余的记录信息
*
*@paramassesmentId
*@paramassesmentId
*@paramstudents
*@paramstudents
*/
*/
@ -151,6 +160,7 @@ public interface AssesmentMapper {
/**
/**
*正在参与考核的学生
*正在参与考核的学生
*
*@return
*@return
*/
*/
@Select("select studentId from record re left join assessment ass on re.assesmentId=ass.id where ass.assesmentState=1 and re.assesmentId is not null")
@Select("select studentId from record re left join assessment ass on re.assesmentId=ass.id where ass.assesmentState=1 and re.assesmentId is not null")
@ -169,33 +179,33 @@ public interface AssesmentMapper {
voidupdateAssesmentState(Assesmentassesment);
voidupdateAssesmentState(Assesmentassesment);
/**
/**
*查询实验班级一级标题:创建时间
*查询实验班级一级标题:创建时间
*@paramschoolId
*
*@paramstaffId
*@return
*@return
*/
*/
@Select("select creationTime from experimental_class_ning WHERE isdel=0 and schoolId = #{schoolId} GROUP BY creationTime ORDER BY creationTime desc")
@Select("select creationTime from experimental_class_ning WHERE isdel=0 and founder=(select staffName from staff where staffId=#{staffId}) GROUP BY creationTime ORDER BY creationTime desc")
@Select("select experimentalClassId,experimentalClassName from experimental_class_ning where isdel=0 and creationTime=#{creationTime} and schoolId = #{schoolId})")
@Select("select experimentalClassId,experimentalClassName from experimental_class_ning where isdel=0 and creationTime=#{creationTime} and founder=(select staffName from staff where staffId=#{staffId})")