id, crop_id, weather_id, factor, max_tmp, min_tmp, dt, et0
${alias}.id, ${alias}.crop_id, ${alias}.weather_id,
${alias}.factor, ${alias}.max_tmp, ${alias}.min_tmp,
${alias}.dt, ${alias}.et0
delete from md_et0
where id = #{id,jdbcType=BIGINT}
insert into md_et0 (id, crop_id, weather_id,
factor, max_tmp, min_tmp,
dt, et0)
values (#{id,jdbcType=BIGINT}, #{cropId,jdbcType=BIGINT}, #{weatherId,jdbcType=BIGINT},
#{factor,jdbcType=DOUBLE}, #{maxTmp,jdbcType=DOUBLE}, #{minTmp,jdbcType=DOUBLE},
#{dt,jdbcType=DATE}, #{et0,jdbcType=DOUBLE})
insert into md_et0
id,
crop_id,
weather_id,
factor,
max_tmp,
min_tmp,
dt,
et0,
#{id,jdbcType=BIGINT},
#{cropId,jdbcType=BIGINT},
#{weatherId,jdbcType=BIGINT},
#{factor,jdbcType=DOUBLE},
#{maxTmp,jdbcType=DOUBLE},
#{minTmp,jdbcType=DOUBLE},
#{dt,jdbcType=DATE},
#{et0,jdbcType=DOUBLE},
update md_et0
crop_id = #{cropId,jdbcType=BIGINT},
weather_id = #{weatherId,jdbcType=BIGINT},
factor = #{factor,jdbcType=DOUBLE},
max_tmp = #{maxTmp,jdbcType=DOUBLE},
min_tmp = #{minTmp,jdbcType=DOUBLE},
dt = #{dt,jdbcType=DATE},
et0 = #{et0,jdbcType=DOUBLE},
where id = #{id,jdbcType=BIGINT}
update md_et0
set crop_id = #{cropId,jdbcType=BIGINT},
weather_id = #{weatherId,jdbcType=BIGINT},
factor = #{factor,jdbcType=DOUBLE},
max_tmp = #{maxTmp,jdbcType=DOUBLE},
min_tmp = #{minTmp,jdbcType=DOUBLE},
dt = #{dt,jdbcType=DATE},
et0 = #{et0,jdbcType=DOUBLE}
where id = #{id,jdbcType=BIGINT}