and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
user_id, student_id, name, password, role_id, class_id, class_name, major, school_id,
school_name, total_rank, total_score, create_time, del_state, update_time, attendance_score,
exam_results_for_homework_assignments, results_of_practical_case_studies
delete from stu_user
where user_id = #{userId,jdbcType=VARCHAR}
delete from stu_user
insert into stu_user (user_id, student_id, name,
password, role_id, class_id,
class_name, major, school_id,
school_name, total_rank, total_score,
create_time, del_state, update_time,
attendance_score, exam_results_for_homework_assignments,
results_of_practical_case_studies)
values (#{userId,jdbcType=VARCHAR}, #{studentId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{password,jdbcType=VARCHAR}, #{roleId,jdbcType=INTEGER}, #{classId,jdbcType=VARCHAR},
#{className,jdbcType=VARCHAR}, #{major,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR},
#{schoolName,jdbcType=VARCHAR}, #{totalRank,jdbcType=INTEGER}, #{totalScore,jdbcType=DECIMAL},
#{createTime,jdbcType=TIMESTAMP}, #{delState,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP},
#{attendanceScore,jdbcType=DECIMAL}, #{examResultsForHomeworkAssignments,jdbcType=DECIMAL},
#{resultsOfPracticalCaseStudies,jdbcType=DECIMAL})
insert IGNORE into stu_user
user_id,
student_id,
name,
password,
role_id,
class_id,
class_name,
major,
school_id,
school_name,
total_rank,
total_score,
create_time,
del_state,
update_time,
attendance_score,
exam_results_for_homework_assignments,
results_of_practical_case_studies,
#{userId,jdbcType=VARCHAR},
#{studentId,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{password,jdbcType=VARCHAR},
#{roleId,jdbcType=INTEGER},
#{classId,jdbcType=VARCHAR},
#{className,jdbcType=VARCHAR},
#{major,jdbcType=VARCHAR},
#{schoolId,jdbcType=VARCHAR},
#{schoolName,jdbcType=VARCHAR},
#{totalRank,jdbcType=INTEGER},
#{totalScore,jdbcType=DECIMAL},
#{createTime,jdbcType=TIMESTAMP},
#{delState,jdbcType=INTEGER},
#{updateTime,jdbcType=TIMESTAMP},
#{attendanceScore,jdbcType=DECIMAL},
#{examResultsForHomeworkAssignments,jdbcType=DECIMAL},
#{resultsOfPracticalCaseStudies,jdbcType=DECIMAL},
update stu_user
user_id = #{record.userId,jdbcType=VARCHAR},
student_id = #{record.studentId,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
password = #{record.password,jdbcType=VARCHAR},
role_id = #{record.roleId,jdbcType=INTEGER},
class_id = #{record.classId,jdbcType=VARCHAR},
class_name = #{record.className,jdbcType=VARCHAR},
major = #{record.major,jdbcType=VARCHAR},
school_id = #{record.schoolId,jdbcType=VARCHAR},
school_name = #{record.schoolName,jdbcType=VARCHAR},
total_rank = #{record.totalRank,jdbcType=INTEGER},
total_score = #{record.totalScore,jdbcType=DECIMAL},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
del_state = #{record.delState,jdbcType=INTEGER},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
attendance_score = #{record.attendanceScore,jdbcType=DECIMAL},
exam_results_for_homework_assignments = #{record.examResultsForHomeworkAssignments,jdbcType=DECIMAL},
results_of_practical_case_studies = #{record.resultsOfPracticalCaseStudies,jdbcType=DECIMAL},
update stu_user
set user_id = #{record.userId,jdbcType=VARCHAR},
student_id = #{record.studentId,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
password = #{record.password,jdbcType=VARCHAR},
role_id = #{record.roleId,jdbcType=INTEGER},
class_id = #{record.classId,jdbcType=VARCHAR},
class_name = #{record.className,jdbcType=VARCHAR},
major = #{record.major,jdbcType=VARCHAR},
school_id = #{record.schoolId,jdbcType=VARCHAR},
school_name = #{record.schoolName,jdbcType=VARCHAR},
total_rank = #{record.totalRank,jdbcType=INTEGER},
total_score = #{record.totalScore,jdbcType=DECIMAL},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
del_state = #{record.delState,jdbcType=INTEGER},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
attendance_score = #{record.attendanceScore,jdbcType=DECIMAL},
exam_results_for_homework_assignments = #{record.examResultsForHomeworkAssignments,jdbcType=DECIMAL},
results_of_practical_case_studies = #{record.resultsOfPracticalCaseStudies,jdbcType=DECIMAL}
update stu_user
student_id = #{studentId,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
role_id = #{roleId,jdbcType=INTEGER},
class_id = #{classId,jdbcType=VARCHAR},
class_name = #{className,jdbcType=VARCHAR},
major = #{major,jdbcType=VARCHAR},
school_id = #{schoolId,jdbcType=VARCHAR},
school_name = #{schoolName,jdbcType=VARCHAR},
total_rank = #{totalRank,jdbcType=INTEGER},
total_score = #{totalScore,jdbcType=DECIMAL},
create_time = #{createTime,jdbcType=TIMESTAMP},
del_state = #{delState,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=TIMESTAMP},
attendance_score = #{attendanceScore,jdbcType=DECIMAL},
exam_results_for_homework_assignments = #{examResultsForHomeworkAssignments,jdbcType=DECIMAL},
results_of_practical_case_studies = #{resultsOfPracticalCaseStudies,jdbcType=DECIMAL},
where user_id = #{userId,jdbcType=VARCHAR}
update stu_user
set student_id = #{studentId,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
role_id = #{roleId,jdbcType=INTEGER},
class_id = #{classId,jdbcType=VARCHAR},
class_name = #{className,jdbcType=VARCHAR},
major = #{major,jdbcType=VARCHAR},
school_id = #{schoolId,jdbcType=VARCHAR},
school_name = #{schoolName,jdbcType=VARCHAR},
total_rank = #{totalRank,jdbcType=INTEGER},
total_score = #{totalScore,jdbcType=DECIMAL},
create_time = #{createTime,jdbcType=TIMESTAMP},
del_state = #{delState,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=TIMESTAMP},
attendance_score = #{attendanceScore,jdbcType=DECIMAL},
exam_results_for_homework_assignments = #{examResultsForHomeworkAssignments,jdbcType=DECIMAL},
results_of_practical_case_studies = #{resultsOfPracticalCaseStudies,jdbcType=DECIMAL}
where user_id = #{userId,jdbcType=VARCHAR}