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, org_id, v_cf_code, w_module, w_name, w_threshold, threshold, w_state, w_time,
w_update_time, data_source, w_remark, updatetime, is_send, w_mode, w_warning
delete from t_warning_threshold_history
insert into t_warning_threshold_history (id, org_id, v_cf_code,
w_module, w_name, w_threshold,
threshold, w_state, w_time,
w_update_time, data_source, w_remark,
updatetime, is_send, w_mode,
w_warning)
values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{vCfCode,jdbcType=VARCHAR},
#{wModule,jdbcType=VARCHAR}, #{wName,jdbcType=VARCHAR}, #{wThreshold,jdbcType=DECIMAL},
#{threshold,jdbcType=DECIMAL}, #{wState,jdbcType=INTEGER}, #{wTime,jdbcType=TIMESTAMP},
#{wUpdateTime,jdbcType=TIMESTAMP}, #{dataSource,jdbcType=VARCHAR}, #{wRemark,jdbcType=VARCHAR},
#{updatetime,jdbcType=TIMESTAMP}, #{isSend,jdbcType=VARCHAR}, #{wMode,jdbcType=VARCHAR},
#{wWarning,jdbcType=VARCHAR})
insert into t_warning_threshold_history
id,
org_id,
v_cf_code,
w_module,
w_name,
w_threshold,
threshold,
w_state,
w_time,
w_update_time,
data_source,
w_remark,
updatetime,
is_send,
w_mode,
w_warning,
#{id,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR},
#{vCfCode,jdbcType=VARCHAR},
#{wModule,jdbcType=VARCHAR},
#{wName,jdbcType=VARCHAR},
#{wThreshold,jdbcType=DECIMAL},
#{threshold,jdbcType=DECIMAL},
#{wState,jdbcType=INTEGER},
#{wTime,jdbcType=TIMESTAMP},
#{wUpdateTime,jdbcType=TIMESTAMP},
#{dataSource,jdbcType=VARCHAR},
#{wRemark,jdbcType=VARCHAR},
#{updatetime,jdbcType=TIMESTAMP},
#{isSend,jdbcType=VARCHAR},
#{wMode,jdbcType=VARCHAR},
#{wWarning,jdbcType=VARCHAR},
update t_warning_threshold_history
id = #{record.id,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=VARCHAR},
v_cf_code = #{record.vCfCode,jdbcType=VARCHAR},
w_module = #{record.wModule,jdbcType=VARCHAR},
w_name = #{record.wName,jdbcType=VARCHAR},
w_threshold = #{record.wThreshold,jdbcType=DECIMAL},
threshold = #{record.threshold,jdbcType=DECIMAL},
w_state = #{record.wState,jdbcType=INTEGER},
w_time = #{record.wTime,jdbcType=TIMESTAMP},
w_update_time = #{record.wUpdateTime,jdbcType=TIMESTAMP},
data_source = #{record.dataSource,jdbcType=VARCHAR},
w_remark = #{record.wRemark,jdbcType=VARCHAR},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
is_send = #{record.isSend,jdbcType=VARCHAR},
w_mode = #{record.wMode,jdbcType=VARCHAR},
w_warning = #{record.wWarning,jdbcType=VARCHAR},
update t_warning_threshold_history
set id = #{record.id,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=VARCHAR},
v_cf_code = #{record.vCfCode,jdbcType=VARCHAR},
w_module = #{record.wModule,jdbcType=VARCHAR},
w_name = #{record.wName,jdbcType=VARCHAR},
w_threshold = #{record.wThreshold,jdbcType=DECIMAL},
threshold = #{record.threshold,jdbcType=DECIMAL},
w_state = #{record.wState,jdbcType=INTEGER},
w_time = #{record.wTime,jdbcType=TIMESTAMP},
w_update_time = #{record.wUpdateTime,jdbcType=TIMESTAMP},
data_source = #{record.dataSource,jdbcType=VARCHAR},
w_remark = #{record.wRemark,jdbcType=VARCHAR},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
is_send = #{record.isSend,jdbcType=VARCHAR},
w_mode = #{record.wMode,jdbcType=VARCHAR},
w_warning = #{record.wWarning,jdbcType=VARCHAR}
insert into t_warning_threshold_history (id, org_id, v_cf_code,
w_module, w_name, w_threshold,
threshold, w_state, w_time,
w_update_time, data_source, w_remark,
updatetime, is_send, w_mode,
w_warning)
values
(#{th.id,jdbcType=VARCHAR}, #{th.orgId,jdbcType=VARCHAR}, #{th.vCfCode,jdbcType=VARCHAR},
#{th.wModule,jdbcType=VARCHAR}, #{th.wName,jdbcType=VARCHAR}, #{th.wThreshold,jdbcType=DECIMAL},
#{th.threshold,jdbcType=DECIMAL}, #{th.wState,jdbcType=INTEGER}, #{th.wTime,jdbcType=TIMESTAMP},
#{th.wUpdateTime,jdbcType=TIMESTAMP}, #{th.dataSource,jdbcType=VARCHAR}, #{th.wRemark,jdbcType=VARCHAR},
#{th.updatetime,jdbcType=TIMESTAMP}, #{th.isSend,jdbcType=VARCHAR}, #{th.wMode,jdbcType=VARCHAR},
#{th.wWarning,jdbcType=VARCHAR})