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, map_id, training_type, operate_type, training_name, training_remark, min_duration,
max_duration, product_types
config
delete from operate_definition
where id = #{id,jdbcType=BIGINT}
delete from operate_definition
insert into operate_definition (map_id, training_type, operate_type,
training_name, training_remark, min_duration,
max_duration, product_types, config
)
values (#{mapId,jdbcType=BIGINT}, #{trainingType,jdbcType=VARCHAR}, #{operateType,jdbcType=VARCHAR},
#{trainingName,jdbcType=VARCHAR}, #{trainingRemark,jdbcType=VARCHAR}, #{minDuration,jdbcType=INTEGER},
#{maxDuration,jdbcType=INTEGER}, #{productTypes,jdbcType=VARCHAR}, #{config,jdbcType=LONGVARCHAR}
)
insert into operate_definition
map_id,
training_type,
operate_type,
training_name,
training_remark,
min_duration,
max_duration,
product_types,
config,
#{mapId,jdbcType=BIGINT},
#{trainingType,jdbcType=VARCHAR},
#{operateType,jdbcType=VARCHAR},
#{trainingName,jdbcType=VARCHAR},
#{trainingRemark,jdbcType=VARCHAR},
#{minDuration,jdbcType=INTEGER},
#{maxDuration,jdbcType=INTEGER},
#{productTypes,jdbcType=VARCHAR},
#{config,jdbcType=LONGVARCHAR},
update operate_definition
id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
training_type = #{record.trainingType,jdbcType=VARCHAR},
operate_type = #{record.operateType,jdbcType=VARCHAR},
training_name = #{record.trainingName,jdbcType=VARCHAR},
training_remark = #{record.trainingRemark,jdbcType=VARCHAR},
min_duration = #{record.minDuration,jdbcType=INTEGER},
max_duration = #{record.maxDuration,jdbcType=INTEGER},
product_types = #{record.productTypes,jdbcType=VARCHAR},
config = #{record.config,jdbcType=LONGVARCHAR},
update operate_definition
set id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
training_type = #{record.trainingType,jdbcType=VARCHAR},
operate_type = #{record.operateType,jdbcType=VARCHAR},
training_name = #{record.trainingName,jdbcType=VARCHAR},
training_remark = #{record.trainingRemark,jdbcType=VARCHAR},
min_duration = #{record.minDuration,jdbcType=INTEGER},
max_duration = #{record.maxDuration,jdbcType=INTEGER},
product_types = #{record.productTypes,jdbcType=VARCHAR},
config = #{record.config,jdbcType=LONGVARCHAR}
update operate_definition
set id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
training_type = #{record.trainingType,jdbcType=VARCHAR},
operate_type = #{record.operateType,jdbcType=VARCHAR},
training_name = #{record.trainingName,jdbcType=VARCHAR},
training_remark = #{record.trainingRemark,jdbcType=VARCHAR},
min_duration = #{record.minDuration,jdbcType=INTEGER},
max_duration = #{record.maxDuration,jdbcType=INTEGER},
product_types = #{record.productTypes,jdbcType=VARCHAR}
update operate_definition
map_id = #{mapId,jdbcType=BIGINT},
training_type = #{trainingType,jdbcType=VARCHAR},
operate_type = #{operateType,jdbcType=VARCHAR},
training_name = #{trainingName,jdbcType=VARCHAR},
training_remark = #{trainingRemark,jdbcType=VARCHAR},
min_duration = #{minDuration,jdbcType=INTEGER},
max_duration = #{maxDuration,jdbcType=INTEGER},
product_types = #{productTypes,jdbcType=VARCHAR},
config = #{config,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=BIGINT}
update operate_definition
set map_id = #{mapId,jdbcType=BIGINT},
training_type = #{trainingType,jdbcType=VARCHAR},
operate_type = #{operateType,jdbcType=VARCHAR},
training_name = #{trainingName,jdbcType=VARCHAR},
training_remark = #{trainingRemark,jdbcType=VARCHAR},
min_duration = #{minDuration,jdbcType=INTEGER},
max_duration = #{maxDuration,jdbcType=INTEGER},
product_types = #{productTypes,jdbcType=VARCHAR},
config = #{config,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=BIGINT}
update operate_definition
set map_id = #{mapId,jdbcType=BIGINT},
training_type = #{trainingType,jdbcType=VARCHAR},
operate_type = #{operateType,jdbcType=VARCHAR},
training_name = #{trainingName,jdbcType=VARCHAR},
training_remark = #{trainingRemark,jdbcType=VARCHAR},
min_duration = #{minDuration,jdbcType=INTEGER},
max_duration = #{maxDuration,jdbcType=INTEGER},
product_types = #{productTypes,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}