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, lesson_id, name, type, duration, start_time, end_time, full_point, passing_point, creator_id, create_time, remarks, status, trial delete from exam_definition where id = #{id,jdbcType=BIGINT} delete from exam_definition SELECT LAST_INSERT_ID() insert into exam_definition (lesson_id, name, type, duration, start_time, end_time, full_point, passing_point, creator_id, create_time, remarks, status, trial) values (#{lessonId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{fullPoint,jdbcType=INTEGER}, #{passingPoint,jdbcType=INTEGER}, #{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{trial,jdbcType=BIT}) SELECT LAST_INSERT_ID() insert into exam_definition lesson_id, name, type, duration, start_time, end_time, full_point, passing_point, creator_id, create_time, remarks, status, trial, #{lessonId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{duration,jdbcType=INTEGER}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{fullPoint,jdbcType=INTEGER}, #{passingPoint,jdbcType=INTEGER}, #{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{trial,jdbcType=BIT}, update exam_definition id = #{record.id,jdbcType=BIGINT}, lesson_id = #{record.lessonId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, type = #{record.type,jdbcType=VARCHAR}, duration = #{record.duration,jdbcType=INTEGER}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, full_point = #{record.fullPoint,jdbcType=INTEGER}, passing_point = #{record.passingPoint,jdbcType=INTEGER}, creator_id = #{record.creatorId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, remarks = #{record.remarks,jdbcType=VARCHAR}, status = #{record.status,jdbcType=VARCHAR}, trial = #{record.trial,jdbcType=BIT}, update exam_definition set id = #{record.id,jdbcType=BIGINT}, lesson_id = #{record.lessonId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, type = #{record.type,jdbcType=VARCHAR}, duration = #{record.duration,jdbcType=INTEGER}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, full_point = #{record.fullPoint,jdbcType=INTEGER}, passing_point = #{record.passingPoint,jdbcType=INTEGER}, creator_id = #{record.creatorId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, remarks = #{record.remarks,jdbcType=VARCHAR}, status = #{record.status,jdbcType=VARCHAR}, trial = #{record.trial,jdbcType=BIT} update exam_definition lesson_id = #{lessonId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, type = #{type,jdbcType=VARCHAR}, duration = #{duration,jdbcType=INTEGER}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, full_point = #{fullPoint,jdbcType=INTEGER}, passing_point = #{passingPoint,jdbcType=INTEGER}, creator_id = #{creatorId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, remarks = #{remarks,jdbcType=VARCHAR}, status = #{status,jdbcType=VARCHAR}, trial = #{trial,jdbcType=BIT}, where id = #{id,jdbcType=BIGINT} update exam_definition set lesson_id = #{lessonId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, type = #{type,jdbcType=VARCHAR}, duration = #{duration,jdbcType=INTEGER}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, full_point = #{fullPoint,jdbcType=INTEGER}, passing_point = #{passingPoint,jdbcType=INTEGER}, creator_id = #{creatorId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, remarks = #{remarks,jdbcType=VARCHAR}, status = #{status,jdbcType=VARCHAR}, trial = #{trial,jdbcType=BIT} where id = #{id,jdbcType=BIGINT}