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, fund_id, price_date, nav, cumulative_nav, cumulative_nav_withdrawal, ishigh_or_low,
tohigh_nav_ratio, create_by, create_time, update_by, update_time, delete_tag
delete from fund_nav
where id = #{id,jdbcType=VARCHAR}
delete from fund_nav
insert into fund_nav (id, fund_id, price_date,
nav, cumulative_nav, cumulative_nav_withdrawal,
ishigh_or_low, tohigh_nav_ratio, create_by,
create_time, update_by, update_time,
delete_tag)
values (#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{priceDate,jdbcType=DATE},
#{nav,jdbcType=DECIMAL}, #{cumulativeNav,jdbcType=DECIMAL}, #{cumulativeNavWithdrawal,jdbcType=DECIMAL},
#{ishighOrLow,jdbcType=INTEGER}, #{tohighNavRatio,jdbcType=DECIMAL}, #{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER})
insert into fund_nav
id,
fund_id,
price_date,
nav,
cumulative_nav,
cumulative_nav_withdrawal,
ishigh_or_low,
tohigh_nav_ratio,
create_by,
create_time,
update_by,
update_time,
delete_tag,
#{id,jdbcType=VARCHAR},
#{fundId,jdbcType=VARCHAR},
#{priceDate,jdbcType=DATE},
#{nav,jdbcType=DECIMAL},
#{cumulativeNav,jdbcType=DECIMAL},
#{cumulativeNavWithdrawal,jdbcType=DECIMAL},
#{ishighOrLow,jdbcType=INTEGER},
#{tohighNavRatio,jdbcType=DECIMAL},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER},
update fund_nav
id = #{record.id,jdbcType=VARCHAR},
fund_id = #{record.fundId,jdbcType=VARCHAR},
price_date = #{record.priceDate,jdbcType=DATE},
nav = #{record.nav,jdbcType=DECIMAL},
cumulative_nav = #{record.cumulativeNav,jdbcType=DECIMAL},
cumulative_nav_withdrawal = #{record.cumulativeNavWithdrawal,jdbcType=DECIMAL},
ishigh_or_low = #{record.ishighOrLow,jdbcType=INTEGER},
tohigh_nav_ratio = #{record.tohighNavRatio,jdbcType=DECIMAL},
create_by = #{record.createBy,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_by = #{record.updateBy,jdbcType=VARCHAR},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
delete_tag = #{record.deleteTag,jdbcType=INTEGER},
update fund_nav
set id = #{record.id,jdbcType=VARCHAR},
fund_id = #{record.fundId,jdbcType=VARCHAR},
price_date = #{record.priceDate,jdbcType=DATE},
nav = #{record.nav,jdbcType=DECIMAL},
cumulative_nav = #{record.cumulativeNav,jdbcType=DECIMAL},
cumulative_nav_withdrawal = #{record.cumulativeNavWithdrawal,jdbcType=DECIMAL},
ishigh_or_low = #{record.ishighOrLow,jdbcType=INTEGER},
tohigh_nav_ratio = #{record.tohighNavRatio,jdbcType=DECIMAL},
create_by = #{record.createBy,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_by = #{record.updateBy,jdbcType=VARCHAR},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
delete_tag = #{record.deleteTag,jdbcType=INTEGER}
update fund_nav
fund_id = #{fundId,jdbcType=VARCHAR},
price_date = #{priceDate,jdbcType=DATE},
nav = #{nav,jdbcType=DECIMAL},
cumulative_nav = #{cumulativeNav,jdbcType=DECIMAL},
cumulative_nav_withdrawal = #{cumulativeNavWithdrawal,jdbcType=DECIMAL},
ishigh_or_low = #{ishighOrLow,jdbcType=INTEGER},
tohigh_nav_ratio = #{tohighNavRatio,jdbcType=DECIMAL},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update fund_nav
set fund_id = #{fundId,jdbcType=VARCHAR},
price_date = #{priceDate,jdbcType=DATE},
nav = #{nav,jdbcType=DECIMAL},
cumulative_nav = #{cumulativeNav,jdbcType=DECIMAL},
cumulative_nav_withdrawal = #{cumulativeNavWithdrawal,jdbcType=DECIMAL},
ishigh_or_low = #{ishighOrLow,jdbcType=INTEGER},
tohigh_nav_ratio = #{tohighNavRatio,jdbcType=DECIMAL},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
update fund_nav
when id = #{item.id,jdbcType=VARCHAR} then #{item.fundId,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.priceDate,jdbcType=DATE}
when id = #{item.id,jdbcType=VARCHAR} then #{item.nav,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.cumulativeNav,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.cumulativeNavWithdrawal,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.ishighOrLow,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.tohighNavRatio,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.createBy,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=VARCHAR} then #{item.updateBy,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=VARCHAR} then #{item.deleteTag,jdbcType=INTEGER}
where id in
#{item.id,jdbcType=VARCHAR}
insert into fund_nav
(id, fund_id, price_date, nav, cumulative_nav, cumulative_nav_withdrawal, ishigh_or_low,
tohigh_nav_ratio, create_by, create_time, update_by, update_time, delete_tag)
values
(#{item.id,jdbcType=VARCHAR}, #{item.fundId,jdbcType=VARCHAR}, #{item.priceDate,jdbcType=DATE},
#{item.nav,jdbcType=DECIMAL}, #{item.cumulativeNav,jdbcType=DECIMAL}, #{item.cumulativeNavWithdrawal,jdbcType=DECIMAL},
#{item.ishighOrLow,jdbcType=INTEGER}, #{item.tohighNavRatio,jdbcType=DECIMAL},
#{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR},
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.deleteTag,jdbcType=INTEGER})
insert into fund_nav
(id, fund_id, price_date, nav, cumulative_nav, cumulative_nav_withdrawal, ishigh_or_low,
tohigh_nav_ratio, create_by, create_time, update_by, update_time, delete_tag)
values
(#{id,jdbcType=VARCHAR}, #{fundId,jdbcType=VARCHAR}, #{priceDate,jdbcType=DATE},
#{nav,jdbcType=DECIMAL}, #{cumulativeNav,jdbcType=DECIMAL}, #{cumulativeNavWithdrawal,jdbcType=DECIMAL},
#{ishighOrLow,jdbcType=INTEGER}, #{tohighNavRatio,jdbcType=DECIMAL}, #{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER})
on duplicate key update
id = #{id,jdbcType=VARCHAR},
fund_id = #{fundId,jdbcType=VARCHAR},
price_date = #{priceDate,jdbcType=DATE},
nav = #{nav,jdbcType=DECIMAL},
cumulative_nav = #{cumulativeNav,jdbcType=DECIMAL},
cumulative_nav_withdrawal = #{cumulativeNavWithdrawal,jdbcType=DECIMAL},
ishigh_or_low = #{ishighOrLow,jdbcType=INTEGER},
tohigh_nav_ratio = #{tohighNavRatio,jdbcType=DECIMAL},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER}
insert into fund_nav
id,
fund_id,
price_date,
nav,
cumulative_nav,
cumulative_nav_withdrawal,
ishigh_or_low,
tohigh_nav_ratio,
create_by,
create_time,
update_by,
update_time,
delete_tag,
values
#{id,jdbcType=VARCHAR},
#{fundId,jdbcType=VARCHAR},
#{priceDate,jdbcType=DATE},
#{nav,jdbcType=DECIMAL},
#{cumulativeNav,jdbcType=DECIMAL},
#{cumulativeNavWithdrawal,jdbcType=DECIMAL},
#{ishighOrLow,jdbcType=INTEGER},
#{tohighNavRatio,jdbcType=DECIMAL},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER},
on duplicate key update
id = #{id,jdbcType=VARCHAR},
fund_id = #{fundId,jdbcType=VARCHAR},
price_date = #{priceDate,jdbcType=DATE},
nav = #{nav,jdbcType=DECIMAL},
cumulative_nav = #{cumulativeNav,jdbcType=DECIMAL},
cumulative_nav_withdrawal = #{cumulativeNavWithdrawal,jdbcType=DECIMAL},
ishigh_or_low = #{ishighOrLow,jdbcType=INTEGER},
tohigh_nav_ratio = #{tohighNavRatio,jdbcType=DECIMAL},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
delete_tag = #{deleteTag,jdbcType=INTEGER},