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, company_id, stat_date, trust_fund_asset_size, special_account_asset_size, ltdco_fund_asset_size,
offshore_fund_asset_size, fund_num, staff_num, analyst_num, total_asset_size, create_by,
create_time, update_by, update_time, delete_tag
delete from company_tna_personnel
where id = #{id,jdbcType=VARCHAR}
delete from company_tna_personnel
insert into company_tna_personnel (id, company_id, stat_date,
trust_fund_asset_size, special_account_asset_size,
ltdco_fund_asset_size, offshore_fund_asset_size,
fund_num, staff_num, analyst_num,
total_asset_size, create_by, create_time,
update_by, update_time, delete_tag
)
values (#{id,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR}, #{statDate,jdbcType=DATE},
#{trustFundAssetSize,jdbcType=DECIMAL}, #{specialAccountAssetSize,jdbcType=DECIMAL},
#{ltdcoFundAssetSize,jdbcType=DECIMAL}, #{offshoreFundAssetSize,jdbcType=DECIMAL},
#{fundNum,jdbcType=INTEGER}, #{staffNum,jdbcType=INTEGER}, #{analystNum,jdbcType=INTEGER},
#{totalAssetSize,jdbcType=DECIMAL}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER}
)
insert into company_tna_personnel
id,
company_id,
stat_date,
trust_fund_asset_size,
special_account_asset_size,
ltdco_fund_asset_size,
offshore_fund_asset_size,
fund_num,
staff_num,
analyst_num,
total_asset_size,
create_by,
create_time,
update_by,
update_time,
delete_tag,
#{id,jdbcType=VARCHAR},
#{companyId,jdbcType=VARCHAR},
#{statDate,jdbcType=DATE},
#{trustFundAssetSize,jdbcType=DECIMAL},
#{specialAccountAssetSize,jdbcType=DECIMAL},
#{ltdcoFundAssetSize,jdbcType=DECIMAL},
#{offshoreFundAssetSize,jdbcType=DECIMAL},
#{fundNum,jdbcType=INTEGER},
#{staffNum,jdbcType=INTEGER},
#{analystNum,jdbcType=INTEGER},
#{totalAssetSize,jdbcType=DECIMAL},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER},
update company_tna_personnel
id = #{record.id,jdbcType=VARCHAR},
company_id = #{record.companyId,jdbcType=VARCHAR},
stat_date = #{record.statDate,jdbcType=DATE},
trust_fund_asset_size = #{record.trustFundAssetSize,jdbcType=DECIMAL},
special_account_asset_size = #{record.specialAccountAssetSize,jdbcType=DECIMAL},
ltdco_fund_asset_size = #{record.ltdcoFundAssetSize,jdbcType=DECIMAL},
offshore_fund_asset_size = #{record.offshoreFundAssetSize,jdbcType=DECIMAL},
fund_num = #{record.fundNum,jdbcType=INTEGER},
staff_num = #{record.staffNum,jdbcType=INTEGER},
analyst_num = #{record.analystNum,jdbcType=INTEGER},
total_asset_size = #{record.totalAssetSize,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 company_tna_personnel
set id = #{record.id,jdbcType=VARCHAR},
company_id = #{record.companyId,jdbcType=VARCHAR},
stat_date = #{record.statDate,jdbcType=DATE},
trust_fund_asset_size = #{record.trustFundAssetSize,jdbcType=DECIMAL},
special_account_asset_size = #{record.specialAccountAssetSize,jdbcType=DECIMAL},
ltdco_fund_asset_size = #{record.ltdcoFundAssetSize,jdbcType=DECIMAL},
offshore_fund_asset_size = #{record.offshoreFundAssetSize,jdbcType=DECIMAL},
fund_num = #{record.fundNum,jdbcType=INTEGER},
staff_num = #{record.staffNum,jdbcType=INTEGER},
analyst_num = #{record.analystNum,jdbcType=INTEGER},
total_asset_size = #{record.totalAssetSize,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 company_tna_personnel
company_id = #{companyId,jdbcType=VARCHAR},
stat_date = #{statDate,jdbcType=DATE},
trust_fund_asset_size = #{trustFundAssetSize,jdbcType=DECIMAL},
special_account_asset_size = #{specialAccountAssetSize,jdbcType=DECIMAL},
ltdco_fund_asset_size = #{ltdcoFundAssetSize,jdbcType=DECIMAL},
offshore_fund_asset_size = #{offshoreFundAssetSize,jdbcType=DECIMAL},
fund_num = #{fundNum,jdbcType=INTEGER},
staff_num = #{staffNum,jdbcType=INTEGER},
analyst_num = #{analystNum,jdbcType=INTEGER},
total_asset_size = #{totalAssetSize,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 company_tna_personnel
set company_id = #{companyId,jdbcType=VARCHAR},
stat_date = #{statDate,jdbcType=DATE},
trust_fund_asset_size = #{trustFundAssetSize,jdbcType=DECIMAL},
special_account_asset_size = #{specialAccountAssetSize,jdbcType=DECIMAL},
ltdco_fund_asset_size = #{ltdcoFundAssetSize,jdbcType=DECIMAL},
offshore_fund_asset_size = #{offshoreFundAssetSize,jdbcType=DECIMAL},
fund_num = #{fundNum,jdbcType=INTEGER},
staff_num = #{staffNum,jdbcType=INTEGER},
analyst_num = #{analystNum,jdbcType=INTEGER},
total_asset_size = #{totalAssetSize,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 company_tna_personnel
when id = #{item.id,jdbcType=VARCHAR} then #{item.companyId,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.statDate,jdbcType=DATE}
when id = #{item.id,jdbcType=VARCHAR} then #{item.trustFundAssetSize,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.specialAccountAssetSize,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.ltdcoFundAssetSize,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.offshoreFundAssetSize,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.fundNum,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.staffNum,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.analystNum,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.totalAssetSize,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}
update company_tna_personnel
when id = #{item.id,jdbcType=VARCHAR} then #{item.companyId,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.statDate,jdbcType=DATE}
when id = #{item.id,jdbcType=VARCHAR} then #{item.trustFundAssetSize,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.specialAccountAssetSize,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.ltdcoFundAssetSize,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.offshoreFundAssetSize,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.fundNum,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.staffNum,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.analystNum,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.totalAssetSize,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 company_tna_personnel
(id, company_id, stat_date, trust_fund_asset_size, special_account_asset_size, ltdco_fund_asset_size,
offshore_fund_asset_size, fund_num, staff_num, analyst_num, total_asset_size, create_by,
create_time, update_by, update_time, delete_tag)
values
(#{item.id,jdbcType=VARCHAR}, #{item.companyId,jdbcType=VARCHAR}, #{item.statDate,jdbcType=DATE},
#{item.trustFundAssetSize,jdbcType=DECIMAL}, #{item.specialAccountAssetSize,jdbcType=DECIMAL},
#{item.ltdcoFundAssetSize,jdbcType=DECIMAL}, #{item.offshoreFundAssetSize,jdbcType=DECIMAL},
#{item.fundNum,jdbcType=INTEGER}, #{item.staffNum,jdbcType=INTEGER}, #{item.analystNum,jdbcType=INTEGER},
#{item.totalAssetSize,jdbcType=DECIMAL}, #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
#{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.deleteTag,jdbcType=INTEGER}
)
insert into company_tna_personnel
(id, company_id, stat_date, trust_fund_asset_size, special_account_asset_size, ltdco_fund_asset_size,
offshore_fund_asset_size, fund_num, staff_num, analyst_num, total_asset_size, create_by,
create_time, update_by, update_time, delete_tag)
values
(#{id,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR}, #{statDate,jdbcType=DATE},
#{trustFundAssetSize,jdbcType=DECIMAL}, #{specialAccountAssetSize,jdbcType=DECIMAL},
#{ltdcoFundAssetSize,jdbcType=DECIMAL}, #{offshoreFundAssetSize,jdbcType=DECIMAL},
#{fundNum,jdbcType=INTEGER}, #{staffNum,jdbcType=INTEGER}, #{analystNum,jdbcType=INTEGER},
#{totalAssetSize,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},
company_id = #{companyId,jdbcType=VARCHAR},
stat_date = #{statDate,jdbcType=DATE},
trust_fund_asset_size = #{trustFundAssetSize,jdbcType=DECIMAL},
special_account_asset_size = #{specialAccountAssetSize,jdbcType=DECIMAL},
ltdco_fund_asset_size = #{ltdcoFundAssetSize,jdbcType=DECIMAL},
offshore_fund_asset_size = #{offshoreFundAssetSize,jdbcType=DECIMAL},
fund_num = #{fundNum,jdbcType=INTEGER},
staff_num = #{staffNum,jdbcType=INTEGER},
analyst_num = #{analystNum,jdbcType=INTEGER},
total_asset_size = #{totalAssetSize,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 company_tna_personnel
id,
company_id,
stat_date,
trust_fund_asset_size,
special_account_asset_size,
ltdco_fund_asset_size,
offshore_fund_asset_size,
fund_num,
staff_num,
analyst_num,
total_asset_size,
create_by,
create_time,
update_by,
update_time,
delete_tag,
values
#{id,jdbcType=VARCHAR},
#{companyId,jdbcType=VARCHAR},
#{statDate,jdbcType=DATE},
#{trustFundAssetSize,jdbcType=DECIMAL},
#{specialAccountAssetSize,jdbcType=DECIMAL},
#{ltdcoFundAssetSize,jdbcType=DECIMAL},
#{offshoreFundAssetSize,jdbcType=DECIMAL},
#{fundNum,jdbcType=INTEGER},
#{staffNum,jdbcType=INTEGER},
#{analystNum,jdbcType=INTEGER},
#{totalAssetSize,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},
company_id = #{companyId,jdbcType=VARCHAR},
stat_date = #{statDate,jdbcType=DATE},
trust_fund_asset_size = #{trustFundAssetSize,jdbcType=DECIMAL},
special_account_asset_size = #{specialAccountAssetSize,jdbcType=DECIMAL},
ltdco_fund_asset_size = #{ltdcoFundAssetSize,jdbcType=DECIMAL},
offshore_fund_asset_size = #{offshoreFundAssetSize,jdbcType=DECIMAL},
fund_num = #{fundNum,jdbcType=INTEGER},
staff_num = #{staffNum,jdbcType=INTEGER},
analyst_num = #{analystNum,jdbcType=INTEGER},
total_asset_size = #{totalAssetSize,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},