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}
id, school_id, user_id, username, name, school_class_id, class_name, update_time,
stu_rank, score, scqxwj_score, scqxwj_weight, cpgh_score, cpgh_weight, cptfcs_score,
cptfcs_weight, qdgygl_score, qdgygl_weight, cppgkh_score, cppgkh_weight, visit_count_rank,
study_time_rank
delete from stu_rank
where id = #{id,jdbcType=VARCHAR}
delete from stu_rank
insert into stu_rank (id, school_id, user_id,
username, name, school_class_id,
class_name, update_time, stu_rank,
score, scqxwj_score, scqxwj_weight,
cpgh_score, cpgh_weight, cptfcs_score,
cptfcs_weight, qdgygl_score, qdgygl_weight,
cppgkh_score, cppgkh_weight, visit_count_rank,
study_time_rank)
values (#{id,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR},
#{username,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{schoolClassId,jdbcType=VARCHAR},
#{className,jdbcType=VARCHAR}, #{updateTime,jdbcType=VARCHAR}, #{stuRank,jdbcType=INTEGER},
#{score,jdbcType=DECIMAL}, #{scqxwjScore,jdbcType=DECIMAL}, #{scqxwjWeight,jdbcType=DECIMAL},
#{cpghScore,jdbcType=DECIMAL}, #{cpghWeight,jdbcType=DECIMAL}, #{cptfcsScore,jdbcType=DECIMAL},
#{cptfcsWeight,jdbcType=DECIMAL}, #{qdgyglScore,jdbcType=DECIMAL}, #{qdgyglWeight,jdbcType=DECIMAL},
#{cppgkhScore,jdbcType=DECIMAL}, #{cppgkhWeight,jdbcType=DECIMAL}, #{visitCountRank,jdbcType=INTEGER},
#{studyTimeRank,jdbcType=INTEGER})
insert into stu_rank
id,
school_id,
user_id,
username,
name,
school_class_id,
class_name,
update_time,
stu_rank,
score,
scqxwj_score,
scqxwj_weight,
cpgh_score,
cpgh_weight,
cptfcs_score,
cptfcs_weight,
qdgygl_score,
qdgygl_weight,
cppgkh_score,
cppgkh_weight,
visit_count_rank,
study_time_rank,
#{id,jdbcType=VARCHAR},
#{schoolId,jdbcType=VARCHAR},
#{userId,jdbcType=VARCHAR},
#{username,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{schoolClassId,jdbcType=VARCHAR},
#{className,jdbcType=VARCHAR},
#{updateTime,jdbcType=VARCHAR},
#{stuRank,jdbcType=INTEGER},
#{score,jdbcType=DECIMAL},
#{scqxwjScore,jdbcType=DECIMAL},
#{scqxwjWeight,jdbcType=DECIMAL},
#{cpghScore,jdbcType=DECIMAL},
#{cpghWeight,jdbcType=DECIMAL},
#{cptfcsScore,jdbcType=DECIMAL},
#{cptfcsWeight,jdbcType=DECIMAL},
#{qdgyglScore,jdbcType=DECIMAL},
#{qdgyglWeight,jdbcType=DECIMAL},
#{cppgkhScore,jdbcType=DECIMAL},
#{cppgkhWeight,jdbcType=DECIMAL},
#{visitCountRank,jdbcType=INTEGER},
#{studyTimeRank,jdbcType=INTEGER},
update stu_rank
id = #{record.id,jdbcType=VARCHAR},
school_id = #{record.schoolId,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
username = #{record.username,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
school_class_id = #{record.schoolClassId,jdbcType=VARCHAR},
class_name = #{record.className,jdbcType=VARCHAR},
update_time = #{record.updateTime,jdbcType=VARCHAR},
stu_rank = #{record.stuRank,jdbcType=INTEGER},
score = #{record.score,jdbcType=DECIMAL},
scqxwj_score = #{record.scqxwjScore,jdbcType=DECIMAL},
scqxwj_weight = #{record.scqxwjWeight,jdbcType=DECIMAL},
cpgh_score = #{record.cpghScore,jdbcType=DECIMAL},
cpgh_weight = #{record.cpghWeight,jdbcType=DECIMAL},
cptfcs_score = #{record.cptfcsScore,jdbcType=DECIMAL},
cptfcs_weight = #{record.cptfcsWeight,jdbcType=DECIMAL},
qdgygl_score = #{record.qdgyglScore,jdbcType=DECIMAL},
qdgygl_weight = #{record.qdgyglWeight,jdbcType=DECIMAL},
cppgkh_score = #{record.cppgkhScore,jdbcType=DECIMAL},
cppgkh_weight = #{record.cppgkhWeight,jdbcType=DECIMAL},
visit_count_rank = #{record.visitCountRank,jdbcType=INTEGER},
study_time_rank = #{record.studyTimeRank,jdbcType=INTEGER},
update stu_rank
set id = #{record.id,jdbcType=VARCHAR},
school_id = #{record.schoolId,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
username = #{record.username,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
school_class_id = #{record.schoolClassId,jdbcType=VARCHAR},
class_name = #{record.className,jdbcType=VARCHAR},
update_time = #{record.updateTime,jdbcType=VARCHAR},
stu_rank = #{record.stuRank,jdbcType=INTEGER},
score = #{record.score,jdbcType=DECIMAL},
scqxwj_score = #{record.scqxwjScore,jdbcType=DECIMAL},
scqxwj_weight = #{record.scqxwjWeight,jdbcType=DECIMAL},
cpgh_score = #{record.cpghScore,jdbcType=DECIMAL},
cpgh_weight = #{record.cpghWeight,jdbcType=DECIMAL},
cptfcs_score = #{record.cptfcsScore,jdbcType=DECIMAL},
cptfcs_weight = #{record.cptfcsWeight,jdbcType=DECIMAL},
qdgygl_score = #{record.qdgyglScore,jdbcType=DECIMAL},
qdgygl_weight = #{record.qdgyglWeight,jdbcType=DECIMAL},
cppgkh_score = #{record.cppgkhScore,jdbcType=DECIMAL},
cppgkh_weight = #{record.cppgkhWeight,jdbcType=DECIMAL},
visit_count_rank = #{record.visitCountRank,jdbcType=INTEGER},
study_time_rank = #{record.studyTimeRank,jdbcType=INTEGER}
update stu_rank
school_id = #{schoolId,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
username = #{username,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
school_class_id = #{schoolClassId,jdbcType=VARCHAR},
class_name = #{className,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=VARCHAR},
stu_rank = #{stuRank,jdbcType=INTEGER},
score = #{score,jdbcType=DECIMAL},
scqxwj_score = #{scqxwjScore,jdbcType=DECIMAL},
scqxwj_weight = #{scqxwjWeight,jdbcType=DECIMAL},
cpgh_score = #{cpghScore,jdbcType=DECIMAL},
cpgh_weight = #{cpghWeight,jdbcType=DECIMAL},
cptfcs_score = #{cptfcsScore,jdbcType=DECIMAL},
cptfcs_weight = #{cptfcsWeight,jdbcType=DECIMAL},
qdgygl_score = #{qdgyglScore,jdbcType=DECIMAL},
qdgygl_weight = #{qdgyglWeight,jdbcType=DECIMAL},
cppgkh_score = #{cppgkhScore,jdbcType=DECIMAL},
cppgkh_weight = #{cppgkhWeight,jdbcType=DECIMAL},
visit_count_rank = #{visitCountRank,jdbcType=INTEGER},
study_time_rank = #{studyTimeRank,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update stu_rank
set school_id = #{schoolId,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
username = #{username,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
school_class_id = #{schoolClassId,jdbcType=VARCHAR},
class_name = #{className,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=VARCHAR},
stu_rank = #{stuRank,jdbcType=INTEGER},
score = #{score,jdbcType=DECIMAL},
scqxwj_score = #{scqxwjScore,jdbcType=DECIMAL},
scqxwj_weight = #{scqxwjWeight,jdbcType=DECIMAL},
cpgh_score = #{cpghScore,jdbcType=DECIMAL},
cpgh_weight = #{cpghWeight,jdbcType=DECIMAL},
cptfcs_score = #{cptfcsScore,jdbcType=DECIMAL},
cptfcs_weight = #{cptfcsWeight,jdbcType=DECIMAL},
qdgygl_score = #{qdgyglScore,jdbcType=DECIMAL},
qdgygl_weight = #{qdgyglWeight,jdbcType=DECIMAL},
cppgkh_score = #{cppgkhScore,jdbcType=DECIMAL},
cppgkh_weight = #{cppgkhWeight,jdbcType=DECIMAL},
visit_count_rank = #{visitCountRank,jdbcType=INTEGER},
study_time_rank = #{studyTimeRank,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}