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, v_cf_code, v_data_time, v_dec_data, v_enc_data, f_wd_out, f_sd_out, f_wd_in,
f_sd_in, f_max, f_min, f_avg, f_avg_zbc, f_avg_dnc
delete from t_lqdata
where id = #{id,jdbcType=VARCHAR}
delete from t_lqdata
insert into t_lqdata (id, v_cf_code, v_data_time,
v_dec_data, v_enc_data, f_wd_out,
f_sd_out, f_wd_in, f_sd_in,
f_max, f_min, f_avg, f_avg_zbc,
f_avg_dnc)
values (#{id,jdbcType=VARCHAR}, #{vCfCode,jdbcType=VARCHAR}, #{vDataTime,jdbcType=TIMESTAMP},
#{vDecData,jdbcType=VARCHAR}, #{vEncData,jdbcType=VARCHAR}, #{fWdOut,jdbcType=DECIMAL},
#{fSdOut,jdbcType=DECIMAL}, #{fWdIn,jdbcType=DECIMAL}, #{fSdIn,jdbcType=DECIMAL},
#{fMax,jdbcType=DECIMAL}, #{fMin,jdbcType=DECIMAL}, #{fAvg,jdbcType=DECIMAL}, #{fAvgZbc,jdbcType=DECIMAL},
#{fAvgDnc,jdbcType=DECIMAL})
insert into t_lqdata
id,
v_cf_code,
v_data_time,
v_dec_data,
v_enc_data,
f_wd_out,
f_sd_out,
f_wd_in,
f_sd_in,
f_max,
f_min,
f_avg,
f_avg_zbc,
f_avg_dnc,
#{id,jdbcType=VARCHAR},
#{vCfCode,jdbcType=VARCHAR},
#{vDataTime,jdbcType=TIMESTAMP},
#{vDecData,jdbcType=VARCHAR},
#{vEncData,jdbcType=VARCHAR},
#{fWdOut,jdbcType=DECIMAL},
#{fSdOut,jdbcType=DECIMAL},
#{fWdIn,jdbcType=DECIMAL},
#{fSdIn,jdbcType=DECIMAL},
#{fMax,jdbcType=DECIMAL},
#{fMin,jdbcType=DECIMAL},
#{fAvg,jdbcType=DECIMAL},
#{fAvgZbc,jdbcType=DECIMAL},
#{fAvgDnc,jdbcType=DECIMAL},
update t_lqdata
id = #{record.id,jdbcType=VARCHAR},
v_cf_code = #{record.vCfCode,jdbcType=VARCHAR},
v_data_time = #{record.vDataTime,jdbcType=TIMESTAMP},
v_dec_data = #{record.vDecData,jdbcType=VARCHAR},
v_enc_data = #{record.vEncData,jdbcType=VARCHAR},
f_wd_out = #{record.fWdOut,jdbcType=DECIMAL},
f_sd_out = #{record.fSdOut,jdbcType=DECIMAL},
f_wd_in = #{record.fWdIn,jdbcType=DECIMAL},
f_sd_in = #{record.fSdIn,jdbcType=DECIMAL},
f_max = #{record.fMax,jdbcType=DECIMAL},
f_min = #{record.fMin,jdbcType=DECIMAL},
f_avg = #{record.fAvg,jdbcType=DECIMAL},
f_avg_zbc = #{record.fAvgZbc,jdbcType=DECIMAL},
f_avg_dnc = #{record.fAvgDnc,jdbcType=DECIMAL},
update t_lqdata
set id = #{record.id,jdbcType=VARCHAR},
v_cf_code = #{record.vCfCode,jdbcType=VARCHAR},
v_data_time = #{record.vDataTime,jdbcType=TIMESTAMP},
v_dec_data = #{record.vDecData,jdbcType=VARCHAR},
v_enc_data = #{record.vEncData,jdbcType=VARCHAR},
f_wd_out = #{record.fWdOut,jdbcType=DECIMAL},
f_sd_out = #{record.fSdOut,jdbcType=DECIMAL},
f_wd_in = #{record.fWdIn,jdbcType=DECIMAL},
f_sd_in = #{record.fSdIn,jdbcType=DECIMAL},
f_max = #{record.fMax,jdbcType=DECIMAL},
f_min = #{record.fMin,jdbcType=DECIMAL},
f_avg = #{record.fAvg,jdbcType=DECIMAL},
f_avg_zbc = #{record.fAvgZbc,jdbcType=DECIMAL},
f_avg_dnc = #{record.fAvgDnc,jdbcType=DECIMAL}
update t_lqdata
v_cf_code = #{vCfCode,jdbcType=VARCHAR},
v_data_time = #{vDataTime,jdbcType=TIMESTAMP},
v_dec_data = #{vDecData,jdbcType=VARCHAR},
v_enc_data = #{vEncData,jdbcType=VARCHAR},
f_wd_out = #{fWdOut,jdbcType=DECIMAL},
f_sd_out = #{fSdOut,jdbcType=DECIMAL},
f_wd_in = #{fWdIn,jdbcType=DECIMAL},
f_sd_in = #{fSdIn,jdbcType=DECIMAL},
f_max = #{fMax,jdbcType=DECIMAL},
f_min = #{fMin,jdbcType=DECIMAL},
f_avg = #{fAvg,jdbcType=DECIMAL},
f_avg_zbc = #{fAvgZbc,jdbcType=DECIMAL},
f_avg_dnc = #{fAvgDnc,jdbcType=DECIMAL},
where id = #{id,jdbcType=VARCHAR}
update t_lqdata
set v_cf_code = #{vCfCode,jdbcType=VARCHAR},
v_data_time = #{vDataTime,jdbcType=TIMESTAMP},
v_dec_data = #{vDecData,jdbcType=VARCHAR},
v_enc_data = #{vEncData,jdbcType=VARCHAR},
f_wd_out = #{fWdOut,jdbcType=DECIMAL},
f_sd_out = #{fSdOut,jdbcType=DECIMAL},
f_wd_in = #{fWdIn,jdbcType=DECIMAL},
f_sd_in = #{fSdIn,jdbcType=DECIMAL},
f_max = #{fMax,jdbcType=DECIMAL},
f_min = #{fMin,jdbcType=DECIMAL},
f_avg = #{fAvg,jdbcType=DECIMAL},
f_avg_zbc = #{fAvgZbc,jdbcType=DECIMAL},
f_avg_dnc = #{fAvgDnc,jdbcType=DECIMAL}
where id = #{id,jdbcType=VARCHAR}