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, equipment_id, stages, max, min, operator, created_at, updated_at, rec_status
delete from t_threshold_value
where id = #{id,jdbcType=BIGINT}
delete from t_threshold_value
insert into t_threshold_value (id, equipment_id, stages,
max, min, operator,
created_at, updated_at, rec_status
)
values (#{id,jdbcType=BIGINT}, #{equipmentId,jdbcType=BIGINT}, #{stages,jdbcType=TINYINT},
#{max,jdbcType=INTEGER}, #{min,jdbcType=INTEGER}, #{operator,jdbcType=BIGINT},
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}
)
insert into t_threshold_value
id,
equipment_id,
stages,
max,
min,
operator,
created_at,
updated_at,
rec_status,
#{id,jdbcType=BIGINT},
#{equipmentId,jdbcType=BIGINT},
#{stages,jdbcType=TINYINT},
#{max,jdbcType=INTEGER},
#{min,jdbcType=INTEGER},
#{operator,jdbcType=BIGINT},
#{createdAt,jdbcType=TIMESTAMP},
#{updatedAt,jdbcType=TIMESTAMP},
#{recStatus,jdbcType=TINYINT},
update t_threshold_value
id = #{record.id,jdbcType=BIGINT},
equipment_id = #{record.equipmentId,jdbcType=BIGINT},
stages = #{record.stages,jdbcType=TINYINT},
max = #{record.max,jdbcType=INTEGER},
min = #{record.min,jdbcType=INTEGER},
operator = #{record.operator,jdbcType=BIGINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT},
update t_threshold_value
set id = #{record.id,jdbcType=BIGINT},
equipment_id = #{record.equipmentId,jdbcType=BIGINT},
stages = #{record.stages,jdbcType=TINYINT},
max = #{record.max,jdbcType=INTEGER},
min = #{record.min,jdbcType=INTEGER},
operator = #{record.operator,jdbcType=BIGINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT}
update t_threshold_value
equipment_id = #{equipmentId,jdbcType=BIGINT},
stages = #{stages,jdbcType=TINYINT},
max = #{max,jdbcType=INTEGER},
min = #{min,jdbcType=INTEGER},
operator = #{operator,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update t_threshold_value
set equipment_id = #{equipmentId,jdbcType=BIGINT},
stages = #{stages,jdbcType=TINYINT},
max = #{max,jdbcType=INTEGER},
min = #{min,jdbcType=INTEGER},
operator = #{operator,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}