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}
well_id, well_common_name, prod_time, oil_prod_daily, water_prod_daily, gas_prod_daily,
water_cut, sand_content_ratio, oil_prod_begin_date, oil_prod_recent_date, well_type,
spud_date, end_drilling_date, budgeted_md, completion_date, current_state, oil_prod_latest_monthly,
gas_prod_cum, water_prod_cum, oil_prod_cum, fluid_prod_daily
delete from fact_dwr_pc_pro_well_vol_d
insert into fact_dwr_pc_pro_well_vol_d (well_id, well_common_name, prod_time,
oil_prod_daily, water_prod_daily, gas_prod_daily,
water_cut, sand_content_ratio, oil_prod_begin_date,
oil_prod_recent_date, well_type, spud_date,
end_drilling_date, budgeted_md, completion_date,
current_state, oil_prod_latest_monthly,
gas_prod_cum, water_prod_cum, oil_prod_cum,
fluid_prod_daily)
values (#{well_id,jdbcType=VARCHAR}, #{well_common_name,jdbcType=VARCHAR}, #{prod_time,jdbcType=DATE},
#{oil_prod_daily,jdbcType=NUMERIC}, #{water_prod_daily,jdbcType=NUMERIC}, #{gas_prod_daily,jdbcType=NUMERIC},
#{water_cut,jdbcType=NUMERIC}, #{sand_content_ratio,jdbcType=NUMERIC}, #{oil_prod_begin_date,jdbcType=DATE},
#{oil_prod_recent_date,jdbcType=DATE}, #{well_type,jdbcType=VARCHAR}, #{spud_date,jdbcType=DATE},
#{end_drilling_date,jdbcType=DATE}, #{budgeted_md,jdbcType=NUMERIC}, #{completion_date,jdbcType=DATE},
#{current_state,jdbcType=VARCHAR}, #{oil_prod_latest_monthly,jdbcType=NUMERIC},
#{gas_prod_cum,jdbcType=NUMERIC}, #{water_prod_cum,jdbcType=NUMERIC}, #{oil_prod_cum,jdbcType=NUMERIC},
#{fluid_prod_daily,jdbcType=NUMERIC})
insert into fact_dwr_pc_pro_well_vol_d
well_id,
well_common_name,
prod_time,
oil_prod_daily,
water_prod_daily,
gas_prod_daily,
water_cut,
sand_content_ratio,
oil_prod_begin_date,
oil_prod_recent_date,
well_type,
spud_date,
end_drilling_date,
budgeted_md,
completion_date,
current_state,
oil_prod_latest_monthly,
gas_prod_cum,
water_prod_cum,
oil_prod_cum,
fluid_prod_daily,
#{well_id,jdbcType=VARCHAR},
#{well_common_name,jdbcType=VARCHAR},
#{prod_time,jdbcType=DATE},
#{oil_prod_daily,jdbcType=NUMERIC},
#{water_prod_daily,jdbcType=NUMERIC},
#{gas_prod_daily,jdbcType=NUMERIC},
#{water_cut,jdbcType=NUMERIC},
#{sand_content_ratio,jdbcType=NUMERIC},
#{oil_prod_begin_date,jdbcType=DATE},
#{oil_prod_recent_date,jdbcType=DATE},
#{well_type,jdbcType=VARCHAR},
#{spud_date,jdbcType=DATE},
#{end_drilling_date,jdbcType=DATE},
#{budgeted_md,jdbcType=NUMERIC},
#{completion_date,jdbcType=DATE},
#{current_state,jdbcType=VARCHAR},
#{oil_prod_latest_monthly,jdbcType=NUMERIC},
#{gas_prod_cum,jdbcType=NUMERIC},
#{water_prod_cum,jdbcType=NUMERIC},
#{oil_prod_cum,jdbcType=NUMERIC},
#{fluid_prod_daily,jdbcType=NUMERIC},
update fact_dwr_pc_pro_well_vol_d
well_id = #{row.well_id,jdbcType=VARCHAR},
well_common_name = #{row.well_common_name,jdbcType=VARCHAR},
prod_time = #{row.prod_time,jdbcType=DATE},
oil_prod_daily = #{row.oil_prod_daily,jdbcType=NUMERIC},
water_prod_daily = #{row.water_prod_daily,jdbcType=NUMERIC},
gas_prod_daily = #{row.gas_prod_daily,jdbcType=NUMERIC},
water_cut = #{row.water_cut,jdbcType=NUMERIC},
sand_content_ratio = #{row.sand_content_ratio,jdbcType=NUMERIC},
oil_prod_begin_date = #{row.oil_prod_begin_date,jdbcType=DATE},
oil_prod_recent_date = #{row.oil_prod_recent_date,jdbcType=DATE},
well_type = #{row.well_type,jdbcType=VARCHAR},
spud_date = #{row.spud_date,jdbcType=DATE},
end_drilling_date = #{row.end_drilling_date,jdbcType=DATE},
budgeted_md = #{row.budgeted_md,jdbcType=NUMERIC},
completion_date = #{row.completion_date,jdbcType=DATE},
current_state = #{row.current_state,jdbcType=VARCHAR},
oil_prod_latest_monthly = #{row.oil_prod_latest_monthly,jdbcType=NUMERIC},
gas_prod_cum = #{row.gas_prod_cum,jdbcType=NUMERIC},
water_prod_cum = #{row.water_prod_cum,jdbcType=NUMERIC},
oil_prod_cum = #{row.oil_prod_cum,jdbcType=NUMERIC},
fluid_prod_daily = #{row.fluid_prod_daily,jdbcType=NUMERIC},
update fact_dwr_pc_pro_well_vol_d
set well_id = #{row.well_id,jdbcType=VARCHAR},
well_common_name = #{row.well_common_name,jdbcType=VARCHAR},
prod_time = #{row.prod_time,jdbcType=DATE},
oil_prod_daily = #{row.oil_prod_daily,jdbcType=NUMERIC},
water_prod_daily = #{row.water_prod_daily,jdbcType=NUMERIC},
gas_prod_daily = #{row.gas_prod_daily,jdbcType=NUMERIC},
water_cut = #{row.water_cut,jdbcType=NUMERIC},
sand_content_ratio = #{row.sand_content_ratio,jdbcType=NUMERIC},
oil_prod_begin_date = #{row.oil_prod_begin_date,jdbcType=DATE},
oil_prod_recent_date = #{row.oil_prod_recent_date,jdbcType=DATE},
well_type = #{row.well_type,jdbcType=VARCHAR},
spud_date = #{row.spud_date,jdbcType=DATE},
end_drilling_date = #{row.end_drilling_date,jdbcType=DATE},
budgeted_md = #{row.budgeted_md,jdbcType=NUMERIC},
completion_date = #{row.completion_date,jdbcType=DATE},
current_state = #{row.current_state,jdbcType=VARCHAR},
oil_prod_latest_monthly = #{row.oil_prod_latest_monthly,jdbcType=NUMERIC},
gas_prod_cum = #{row.gas_prod_cum,jdbcType=NUMERIC},
water_prod_cum = #{row.water_prod_cum,jdbcType=NUMERIC},
oil_prod_cum = #{row.oil_prod_cum,jdbcType=NUMERIC},
fluid_prod_daily = #{row.fluid_prod_daily,jdbcType=NUMERIC}