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, group_name, description, start_age, end_age, sequence, type, created_at, updated_at,
rec_status, sex, max_age, min_age, group_remark
delete from t_compete_group
where id = #{id,jdbcType=BIGINT}
delete from t_compete_group
insert into t_compete_group (id, group_name, description,
start_age, end_age, sequence,
type, created_at, updated_at,
rec_status, sex, max_age,
min_age, group_remark)
values (#{id,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR},
#{startAge,jdbcType=INTEGER}, #{endAge,jdbcType=INTEGER}, #{sequence,jdbcType=INTEGER},
#{type,jdbcType=TINYINT}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
#{recStatus,jdbcType=TINYINT}, #{sex,jdbcType=TINYINT}, #{maxAge,jdbcType=TINYINT},
#{minAge,jdbcType=TINYINT}, #{groupRemark,jdbcType=TINYINT})
insert into t_compete_group
id,
group_name,
description,
start_age,
end_age,
sequence,
type,
created_at,
updated_at,
rec_status,
sex,
max_age,
min_age,
group_remark,
#{id,jdbcType=BIGINT},
#{groupName,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR},
#{startAge,jdbcType=INTEGER},
#{endAge,jdbcType=INTEGER},
#{sequence,jdbcType=INTEGER},
#{type,jdbcType=TINYINT},
#{createdAt,jdbcType=TIMESTAMP},
#{updatedAt,jdbcType=TIMESTAMP},
#{recStatus,jdbcType=TINYINT},
#{sex,jdbcType=TINYINT},
#{maxAge,jdbcType=TINYINT},
#{minAge,jdbcType=TINYINT},
#{groupRemark,jdbcType=TINYINT},
update t_compete_group
id = #{record.id,jdbcType=BIGINT},
group_name = #{record.groupName,jdbcType=VARCHAR},
description = #{record.description,jdbcType=VARCHAR},
start_age = #{record.startAge,jdbcType=INTEGER},
end_age = #{record.endAge,jdbcType=INTEGER},
sequence = #{record.sequence,jdbcType=INTEGER},
type = #{record.type,jdbcType=TINYINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT},
sex = #{record.sex,jdbcType=TINYINT},
max_age = #{record.maxAge,jdbcType=TINYINT},
min_age = #{record.minAge,jdbcType=TINYINT},
group_remark = #{record.groupRemark,jdbcType=TINYINT},
update t_compete_group
set id = #{record.id,jdbcType=BIGINT},
group_name = #{record.groupName,jdbcType=VARCHAR},
description = #{record.description,jdbcType=VARCHAR},
start_age = #{record.startAge,jdbcType=INTEGER},
end_age = #{record.endAge,jdbcType=INTEGER},
sequence = #{record.sequence,jdbcType=INTEGER},
type = #{record.type,jdbcType=TINYINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT},
sex = #{record.sex,jdbcType=TINYINT},
max_age = #{record.maxAge,jdbcType=TINYINT},
min_age = #{record.minAge,jdbcType=TINYINT},
group_remark = #{record.groupRemark,jdbcType=TINYINT}
update t_compete_group
group_name = #{groupName,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
start_age = #{startAge,jdbcType=INTEGER},
end_age = #{endAge,jdbcType=INTEGER},
sequence = #{sequence,jdbcType=INTEGER},
type = #{type,jdbcType=TINYINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT},
sex = #{sex,jdbcType=TINYINT},
max_age = #{maxAge,jdbcType=TINYINT},
min_age = #{minAge,jdbcType=TINYINT},
group_remark = #{groupRemark,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update t_compete_group
set group_name = #{groupName,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
start_age = #{startAge,jdbcType=INTEGER},
end_age = #{endAge,jdbcType=INTEGER},
sequence = #{sequence,jdbcType=INTEGER},
type = #{type,jdbcType=TINYINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT},
sex = #{sex,jdbcType=TINYINT},
max_age = #{maxAge,jdbcType=TINYINT},
min_age = #{minAge,jdbcType=TINYINT},
group_remark = #{groupRemark,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}