You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.1 KiB
Java

package com.sztzjy.linkCommerce.mapper;
import com.sztzjy.linkCommerce.entity.StudentTrainingAnswer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
@Mapper
public interface StudentTrainingAnswerMapper {
int insertSelective(StudentTrainingAnswer record);
int updateByPrimaryKeySelective(StudentTrainingAnswer record);
StudentTrainingAnswer selectByPrimaryKey(String id);
StudentTrainingAnswer selectByStudentClassAndTask(@Param("studentUserId") String studentUserId,
@Param("teachingClassId") String teachingClassId,
@Param("taskId") String taskId);
int deleteByStudentClassAndTask(@Param("studentUserId") String studentUserId,
@Param("teachingClassId") String teachingClassId,
@Param("taskId") String taskId);
int updateAiAssessmentScore(@Param("id") String id,
@Param("score") Integer score,
@Param("updateTime") Date updateTime);
}