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, windturbineId, year, month, monthDeviationRate, yearDeviationRate, standardDeviationRate,
deviationRate1, deviationRate2, deviationRate3
delete from curvefittingmonthmain
where id = #{id,jdbcType=VARCHAR}
delete from curvefittingmonthmain
insert into curvefittingmonthmain (id, windturbineId, year,
month, monthDeviationRate, yearDeviationRate,
standardDeviationRate, deviationRate1,
deviationRate2, deviationRate3)
values (#{id,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{year,jdbcType=VARCHAR},
#{month,jdbcType=VARCHAR}, #{monthdeviationrate,jdbcType=DECIMAL}, #{yeardeviationrate,jdbcType=DECIMAL},
#{standarddeviationrate,jdbcType=DECIMAL}, #{deviationrate1,jdbcType=DECIMAL},
#{deviationrate2,jdbcType=DECIMAL}, #{deviationrate3,jdbcType=DECIMAL})
insert into curvefittingmonthmain
id,
windturbineId,
year,
month,
monthDeviationRate,
yearDeviationRate,
standardDeviationRate,
deviationRate1,
deviationRate2,
deviationRate3,
#{id,jdbcType=VARCHAR},
#{windturbineid,jdbcType=VARCHAR},
#{year,jdbcType=VARCHAR},
#{month,jdbcType=VARCHAR},
#{monthdeviationrate,jdbcType=DECIMAL},
#{yeardeviationrate,jdbcType=DECIMAL},
#{standarddeviationrate,jdbcType=DECIMAL},
#{deviationrate1,jdbcType=DECIMAL},
#{deviationrate2,jdbcType=DECIMAL},
#{deviationrate3,jdbcType=DECIMAL},
update curvefittingmonthmain
id = #{record.id,jdbcType=VARCHAR},
windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
year = #{record.year,jdbcType=VARCHAR},
month = #{record.month,jdbcType=VARCHAR},
monthDeviationRate = #{record.monthdeviationrate,jdbcType=DECIMAL},
yearDeviationRate = #{record.yeardeviationrate,jdbcType=DECIMAL},
standardDeviationRate = #{record.standarddeviationrate,jdbcType=DECIMAL},
deviationRate1 = #{record.deviationrate1,jdbcType=DECIMAL},
deviationRate2 = #{record.deviationrate2,jdbcType=DECIMAL},
deviationRate3 = #{record.deviationrate3,jdbcType=DECIMAL},
update curvefittingmonthmain
set id = #{record.id,jdbcType=VARCHAR},
windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
year = #{record.year,jdbcType=VARCHAR},
month = #{record.month,jdbcType=VARCHAR},
monthDeviationRate = #{record.monthdeviationrate,jdbcType=DECIMAL},
yearDeviationRate = #{record.yeardeviationrate,jdbcType=DECIMAL},
standardDeviationRate = #{record.standarddeviationrate,jdbcType=DECIMAL},
deviationRate1 = #{record.deviationrate1,jdbcType=DECIMAL},
deviationRate2 = #{record.deviationrate2,jdbcType=DECIMAL},
deviationRate3 = #{record.deviationrate3,jdbcType=DECIMAL}
update curvefittingmonthmain
windturbineId = #{windturbineid,jdbcType=VARCHAR},
year = #{year,jdbcType=VARCHAR},
month = #{month,jdbcType=VARCHAR},
monthDeviationRate = #{monthdeviationrate,jdbcType=DECIMAL},
yearDeviationRate = #{yeardeviationrate,jdbcType=DECIMAL},
standardDeviationRate = #{standarddeviationrate,jdbcType=DECIMAL},
deviationRate1 = #{deviationrate1,jdbcType=DECIMAL},
deviationRate2 = #{deviationrate2,jdbcType=DECIMAL},
deviationRate3 = #{deviationrate3,jdbcType=DECIMAL},
where id = #{id,jdbcType=VARCHAR}
update curvefittingmonthmain
set windturbineId = #{windturbineid,jdbcType=VARCHAR},
year = #{year,jdbcType=VARCHAR},
month = #{month,jdbcType=VARCHAR},
monthDeviationRate = #{monthdeviationrate,jdbcType=DECIMAL},
yearDeviationRate = #{yeardeviationrate,jdbcType=DECIMAL},
standardDeviationRate = #{standarddeviationrate,jdbcType=DECIMAL},
deviationRate1 = #{deviationrate1,jdbcType=DECIMAL},
deviationRate2 = #{deviationrate2,jdbcType=DECIMAL},
deviationRate3 = #{deviationrate3,jdbcType=DECIMAL}
where id = #{id,jdbcType=VARCHAR}