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, index_id, index_type_id, index_code, index_name, index_short_name, index_area_flag,
index_family_id, pricing_frequency, inception_date, index_initial_value, base_currency,
calculation_method, weighting_scheme, selection_scheme, create_by, create_time, update_by,
update_time, delete_tag
delete from indexes_profile
where id = #{id,jdbcType=VARCHAR}
delete from indexes_profile
insert into indexes_profile (id, index_id, index_type_id,
index_code, index_name, index_short_name,
index_area_flag, index_family_id, pricing_frequency,
inception_date, index_initial_value, base_currency,
calculation_method, weighting_scheme, selection_scheme,
create_by, create_time, update_by,
update_time, delete_tag)
values (#{id,jdbcType=VARCHAR}, #{indexId,jdbcType=VARCHAR}, #{indexTypeId,jdbcType=INTEGER},
#{indexCode,jdbcType=VARCHAR}, #{indexName,jdbcType=VARCHAR}, #{indexShortName,jdbcType=VARCHAR},
#{indexAreaFlag,jdbcType=INTEGER}, #{indexFamilyId,jdbcType=VARCHAR}, #{pricingFrequency,jdbcType=INTEGER},
#{inceptionDate,jdbcType=DATE}, #{indexInitialValue,jdbcType=DECIMAL}, #{baseCurrency,jdbcType=INTEGER},
#{calculationMethod,jdbcType=VARCHAR}, #{weightingScheme,jdbcType=VARCHAR}, #{selectionScheme,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER})
insert into indexes_profile
id,
index_id,
index_type_id,
index_code,
index_name,
index_short_name,
index_area_flag,
index_family_id,
pricing_frequency,
inception_date,
index_initial_value,
base_currency,
calculation_method,
weighting_scheme,
selection_scheme,
create_by,
create_time,
update_by,
update_time,
delete_tag,
#{id,jdbcType=VARCHAR},
#{indexId,jdbcType=VARCHAR},
#{indexTypeId,jdbcType=INTEGER},
#{indexCode,jdbcType=VARCHAR},
#{indexName,jdbcType=VARCHAR},
#{indexShortName,jdbcType=VARCHAR},
#{indexAreaFlag,jdbcType=INTEGER},
#{indexFamilyId,jdbcType=VARCHAR},
#{pricingFrequency,jdbcType=INTEGER},
#{inceptionDate,jdbcType=DATE},
#{indexInitialValue,jdbcType=DECIMAL},
#{baseCurrency,jdbcType=INTEGER},
#{calculationMethod,jdbcType=VARCHAR},
#{weightingScheme,jdbcType=VARCHAR},
#{selectionScheme,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER},
update indexes_profile
id = #{record.id,jdbcType=VARCHAR},
index_id = #{record.indexId,jdbcType=VARCHAR},
index_type_id = #{record.indexTypeId,jdbcType=INTEGER},
index_code = #{record.indexCode,jdbcType=VARCHAR},
index_name = #{record.indexName,jdbcType=VARCHAR},
index_short_name = #{record.indexShortName,jdbcType=VARCHAR},
index_area_flag = #{record.indexAreaFlag,jdbcType=INTEGER},
index_family_id = #{record.indexFamilyId,jdbcType=VARCHAR},
pricing_frequency = #{record.pricingFrequency,jdbcType=INTEGER},
inception_date = #{record.inceptionDate,jdbcType=DATE},
index_initial_value = #{record.indexInitialValue,jdbcType=DECIMAL},
base_currency = #{record.baseCurrency,jdbcType=INTEGER},
calculation_method = #{record.calculationMethod,jdbcType=VARCHAR},
weighting_scheme = #{record.weightingScheme,jdbcType=VARCHAR},
selection_scheme = #{record.selectionScheme,jdbcType=VARCHAR},
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 indexes_profile
set id = #{record.id,jdbcType=VARCHAR},
index_id = #{record.indexId,jdbcType=VARCHAR},
index_type_id = #{record.indexTypeId,jdbcType=INTEGER},
index_code = #{record.indexCode,jdbcType=VARCHAR},
index_name = #{record.indexName,jdbcType=VARCHAR},
index_short_name = #{record.indexShortName,jdbcType=VARCHAR},
index_area_flag = #{record.indexAreaFlag,jdbcType=INTEGER},
index_family_id = #{record.indexFamilyId,jdbcType=VARCHAR},
pricing_frequency = #{record.pricingFrequency,jdbcType=INTEGER},
inception_date = #{record.inceptionDate,jdbcType=DATE},
index_initial_value = #{record.indexInitialValue,jdbcType=DECIMAL},
base_currency = #{record.baseCurrency,jdbcType=INTEGER},
calculation_method = #{record.calculationMethod,jdbcType=VARCHAR},
weighting_scheme = #{record.weightingScheme,jdbcType=VARCHAR},
selection_scheme = #{record.selectionScheme,jdbcType=VARCHAR},
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 indexes_profile
index_id = #{indexId,jdbcType=VARCHAR},
index_type_id = #{indexTypeId,jdbcType=INTEGER},
index_code = #{indexCode,jdbcType=VARCHAR},
index_name = #{indexName,jdbcType=VARCHAR},
index_short_name = #{indexShortName,jdbcType=VARCHAR},
index_area_flag = #{indexAreaFlag,jdbcType=INTEGER},
index_family_id = #{indexFamilyId,jdbcType=VARCHAR},
pricing_frequency = #{pricingFrequency,jdbcType=INTEGER},
inception_date = #{inceptionDate,jdbcType=DATE},
index_initial_value = #{indexInitialValue,jdbcType=DECIMAL},
base_currency = #{baseCurrency,jdbcType=INTEGER},
calculation_method = #{calculationMethod,jdbcType=VARCHAR},
weighting_scheme = #{weightingScheme,jdbcType=VARCHAR},
selection_scheme = #{selectionScheme,jdbcType=VARCHAR},
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 indexes_profile
set index_id = #{indexId,jdbcType=VARCHAR},
index_type_id = #{indexTypeId,jdbcType=INTEGER},
index_code = #{indexCode,jdbcType=VARCHAR},
index_name = #{indexName,jdbcType=VARCHAR},
index_short_name = #{indexShortName,jdbcType=VARCHAR},
index_area_flag = #{indexAreaFlag,jdbcType=INTEGER},
index_family_id = #{indexFamilyId,jdbcType=VARCHAR},
pricing_frequency = #{pricingFrequency,jdbcType=INTEGER},
inception_date = #{inceptionDate,jdbcType=DATE},
index_initial_value = #{indexInitialValue,jdbcType=DECIMAL},
base_currency = #{baseCurrency,jdbcType=INTEGER},
calculation_method = #{calculationMethod,jdbcType=VARCHAR},
weighting_scheme = #{weightingScheme,jdbcType=VARCHAR},
selection_scheme = #{selectionScheme,jdbcType=VARCHAR},
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 indexes_profile
when id = #{item.id,jdbcType=VARCHAR} then #{item.indexId,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.indexTypeId,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.indexCode,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.indexName,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.indexShortName,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.indexAreaFlag,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.indexFamilyId,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.pricingFrequency,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.inceptionDate,jdbcType=DATE}
when id = #{item.id,jdbcType=VARCHAR} then #{item.indexInitialValue,jdbcType=DECIMAL}
when id = #{item.id,jdbcType=VARCHAR} then #{item.baseCurrency,jdbcType=INTEGER}
when id = #{item.id,jdbcType=VARCHAR} then #{item.calculationMethod,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.weightingScheme,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=VARCHAR} then #{item.selectionScheme,jdbcType=VARCHAR}
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 indexes_profile
(id, index_id, index_type_id, index_code, index_name, index_short_name, index_area_flag,
index_family_id, pricing_frequency, inception_date, index_initial_value, base_currency,
calculation_method, weighting_scheme, selection_scheme, create_by, create_time,
update_by, update_time, delete_tag)
values
(#{item.id,jdbcType=VARCHAR}, #{item.indexId,jdbcType=VARCHAR}, #{item.indexTypeId,jdbcType=INTEGER},
#{item.indexCode,jdbcType=VARCHAR}, #{item.indexName,jdbcType=VARCHAR}, #{item.indexShortName,jdbcType=VARCHAR},
#{item.indexAreaFlag,jdbcType=INTEGER}, #{item.indexFamilyId,jdbcType=VARCHAR},
#{item.pricingFrequency,jdbcType=INTEGER}, #{item.inceptionDate,jdbcType=DATE},
#{item.indexInitialValue,jdbcType=DECIMAL}, #{item.baseCurrency,jdbcType=INTEGER},
#{item.calculationMethod,jdbcType=VARCHAR}, #{item.weightingScheme,jdbcType=VARCHAR},
#{item.selectionScheme,jdbcType=VARCHAR}, #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
#{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.deleteTag,jdbcType=INTEGER}
)
insert into indexes_profile
(id, index_id, index_type_id, index_code, index_name, index_short_name, index_area_flag,
index_family_id, pricing_frequency, inception_date, index_initial_value, base_currency,
calculation_method, weighting_scheme, selection_scheme, create_by, create_time,
update_by, update_time, delete_tag)
values
(#{id,jdbcType=VARCHAR}, #{indexId,jdbcType=VARCHAR}, #{indexTypeId,jdbcType=INTEGER},
#{indexCode,jdbcType=VARCHAR}, #{indexName,jdbcType=VARCHAR}, #{indexShortName,jdbcType=VARCHAR},
#{indexAreaFlag,jdbcType=INTEGER}, #{indexFamilyId,jdbcType=VARCHAR}, #{pricingFrequency,jdbcType=INTEGER},
#{inceptionDate,jdbcType=DATE}, #{indexInitialValue,jdbcType=DECIMAL}, #{baseCurrency,jdbcType=INTEGER},
#{calculationMethod,jdbcType=VARCHAR}, #{weightingScheme,jdbcType=VARCHAR}, #{selectionScheme,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP}, #{deleteTag,jdbcType=INTEGER})
on duplicate key update
id = #{id,jdbcType=VARCHAR},
index_id = #{indexId,jdbcType=VARCHAR},
index_type_id = #{indexTypeId,jdbcType=INTEGER},
index_code = #{indexCode,jdbcType=VARCHAR},
index_name = #{indexName,jdbcType=VARCHAR},
index_short_name = #{indexShortName,jdbcType=VARCHAR},
index_area_flag = #{indexAreaFlag,jdbcType=INTEGER},
index_family_id = #{indexFamilyId,jdbcType=VARCHAR},
pricing_frequency = #{pricingFrequency,jdbcType=INTEGER},
inception_date = #{inceptionDate,jdbcType=DATE},
index_initial_value = #{indexInitialValue,jdbcType=DECIMAL},
base_currency = #{baseCurrency,jdbcType=INTEGER},
calculation_method = #{calculationMethod,jdbcType=VARCHAR},
weighting_scheme = #{weightingScheme,jdbcType=VARCHAR},
selection_scheme = #{selectionScheme,jdbcType=VARCHAR},
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 indexes_profile
id,
index_id,
index_type_id,
index_code,
index_name,
index_short_name,
index_area_flag,
index_family_id,
pricing_frequency,
inception_date,
index_initial_value,
base_currency,
calculation_method,
weighting_scheme,
selection_scheme,
create_by,
create_time,
update_by,
update_time,
delete_tag,
values
#{id,jdbcType=VARCHAR},
#{indexId,jdbcType=VARCHAR},
#{indexTypeId,jdbcType=INTEGER},
#{indexCode,jdbcType=VARCHAR},
#{indexName,jdbcType=VARCHAR},
#{indexShortName,jdbcType=VARCHAR},
#{indexAreaFlag,jdbcType=INTEGER},
#{indexFamilyId,jdbcType=VARCHAR},
#{pricingFrequency,jdbcType=INTEGER},
#{inceptionDate,jdbcType=DATE},
#{indexInitialValue,jdbcType=DECIMAL},
#{baseCurrency,jdbcType=INTEGER},
#{calculationMethod,jdbcType=VARCHAR},
#{weightingScheme,jdbcType=VARCHAR},
#{selectionScheme,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{deleteTag,jdbcType=INTEGER},
on duplicate key update
id = #{id,jdbcType=VARCHAR},
index_id = #{indexId,jdbcType=VARCHAR},
index_type_id = #{indexTypeId,jdbcType=INTEGER},
index_code = #{indexCode,jdbcType=VARCHAR},
index_name = #{indexName,jdbcType=VARCHAR},
index_short_name = #{indexShortName,jdbcType=VARCHAR},
index_area_flag = #{indexAreaFlag,jdbcType=INTEGER},
index_family_id = #{indexFamilyId,jdbcType=VARCHAR},
pricing_frequency = #{pricingFrequency,jdbcType=INTEGER},
inception_date = #{inceptionDate,jdbcType=DATE},
index_initial_value = #{indexInitialValue,jdbcType=DECIMAL},
base_currency = #{baseCurrency,jdbcType=INTEGER},
calculation_method = #{calculationMethod,jdbcType=VARCHAR},
weighting_scheme = #{weightingScheme,jdbcType=VARCHAR},
selection_scheme = #{selectionScheme,jdbcType=VARCHAR},
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},