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}
index_id, index_code, index_name, announce_date, start_date, end_date, sector_id,
sector_name, publisher_id, publisher_name, outer_code, index_fullname, category_id,
category_name, type_id, type_name, benchmark_date, benchmark, weight_method, weight_desc,
weight_price, selection_method, data_source, `status`, status_explain, S_SEQ, S_ROW_VERSION,
S_UPDATE_TIME, S_DATA_STATE
PS
delete from tx_index_basic
where index_id = #{indexId,jdbcType=INTEGER}
delete from tx_index_basic
insert into tx_index_basic (index_id, index_code, index_name,
announce_date, start_date, end_date,
sector_id, sector_name, publisher_id,
publisher_name, outer_code, index_fullname,
category_id, category_name, type_id,
type_name, benchmark_date, benchmark,
weight_method, weight_desc, weight_price,
selection_method, data_source, `status`,
status_explain, S_SEQ, S_ROW_VERSION,
S_UPDATE_TIME, S_DATA_STATE, PS
)
values (#{indexId,jdbcType=INTEGER}, #{indexCode,jdbcType=VARCHAR}, #{indexName,jdbcType=VARCHAR},
#{announceDate,jdbcType=DATE}, #{startDate,jdbcType=DATE}, #{endDate,jdbcType=DATE},
#{sectorId,jdbcType=INTEGER}, #{sectorName,jdbcType=VARCHAR}, #{publisherId,jdbcType=INTEGER},
#{publisherName,jdbcType=VARCHAR}, #{outerCode,jdbcType=VARCHAR}, #{indexFullname,jdbcType=VARCHAR},
#{categoryId,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR}, #{typeId,jdbcType=VARCHAR},
#{typeName,jdbcType=VARCHAR}, #{benchmarkDate,jdbcType=DATE}, #{benchmark,jdbcType=DECIMAL},
#{weightMethod,jdbcType=VARCHAR}, #{weightDesc,jdbcType=VARCHAR}, #{weightPrice,jdbcType=DECIMAL},
#{selectionMethod,jdbcType=VARCHAR}, #{dataSource,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{statusExplain,jdbcType=VARCHAR}, #{sSeq,jdbcType=BIGINT}, #{sRowVersion,jdbcType=BIGINT},
#{sUpdateTime,jdbcType=TIMESTAMP}, #{sDataState,jdbcType=SMALLINT}, #{ps,jdbcType=LONGVARCHAR}
)
insert into tx_index_basic
index_id,
index_code,
index_name,
announce_date,
start_date,
end_date,
sector_id,
sector_name,
publisher_id,
publisher_name,
outer_code,
index_fullname,
category_id,
category_name,
type_id,
type_name,
benchmark_date,
benchmark,
weight_method,
weight_desc,
weight_price,
selection_method,
data_source,
`status`,
status_explain,
S_SEQ,
S_ROW_VERSION,
S_UPDATE_TIME,
S_DATA_STATE,
PS,
#{indexId,jdbcType=INTEGER},
#{indexCode,jdbcType=VARCHAR},
#{indexName,jdbcType=VARCHAR},
#{announceDate,jdbcType=DATE},
#{startDate,jdbcType=DATE},
#{endDate,jdbcType=DATE},
#{sectorId,jdbcType=INTEGER},
#{sectorName,jdbcType=VARCHAR},
#{publisherId,jdbcType=INTEGER},
#{publisherName,jdbcType=VARCHAR},
#{outerCode,jdbcType=VARCHAR},
#{indexFullname,jdbcType=VARCHAR},
#{categoryId,jdbcType=VARCHAR},
#{categoryName,jdbcType=VARCHAR},
#{typeId,jdbcType=VARCHAR},
#{typeName,jdbcType=VARCHAR},
#{benchmarkDate,jdbcType=DATE},
#{benchmark,jdbcType=DECIMAL},
#{weightMethod,jdbcType=VARCHAR},
#{weightDesc,jdbcType=VARCHAR},
#{weightPrice,jdbcType=DECIMAL},
#{selectionMethod,jdbcType=VARCHAR},
#{dataSource,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{statusExplain,jdbcType=VARCHAR},
#{sSeq,jdbcType=BIGINT},
#{sRowVersion,jdbcType=BIGINT},
#{sUpdateTime,jdbcType=TIMESTAMP},
#{sDataState,jdbcType=SMALLINT},
#{ps,jdbcType=LONGVARCHAR},
update tx_index_basic
index_id = #{record.indexId,jdbcType=INTEGER},
index_code = #{record.indexCode,jdbcType=VARCHAR},
index_name = #{record.indexName,jdbcType=VARCHAR},
announce_date = #{record.announceDate,jdbcType=DATE},
start_date = #{record.startDate,jdbcType=DATE},
end_date = #{record.endDate,jdbcType=DATE},
sector_id = #{record.sectorId,jdbcType=INTEGER},
sector_name = #{record.sectorName,jdbcType=VARCHAR},
publisher_id = #{record.publisherId,jdbcType=INTEGER},
publisher_name = #{record.publisherName,jdbcType=VARCHAR},
outer_code = #{record.outerCode,jdbcType=VARCHAR},
index_fullname = #{record.indexFullname,jdbcType=VARCHAR},
category_id = #{record.categoryId,jdbcType=VARCHAR},
category_name = #{record.categoryName,jdbcType=VARCHAR},
type_id = #{record.typeId,jdbcType=VARCHAR},
type_name = #{record.typeName,jdbcType=VARCHAR},
benchmark_date = #{record.benchmarkDate,jdbcType=DATE},
benchmark = #{record.benchmark,jdbcType=DECIMAL},
weight_method = #{record.weightMethod,jdbcType=VARCHAR},
weight_desc = #{record.weightDesc,jdbcType=VARCHAR},
weight_price = #{record.weightPrice,jdbcType=DECIMAL},
selection_method = #{record.selectionMethod,jdbcType=VARCHAR},
data_source = #{record.dataSource,jdbcType=VARCHAR},
`status` = #{record.status,jdbcType=INTEGER},
status_explain = #{record.statusExplain,jdbcType=VARCHAR},
S_SEQ = #{record.sSeq,jdbcType=BIGINT},
S_ROW_VERSION = #{record.sRowVersion,jdbcType=BIGINT},
S_UPDATE_TIME = #{record.sUpdateTime,jdbcType=TIMESTAMP},
S_DATA_STATE = #{record.sDataState,jdbcType=SMALLINT},
PS = #{record.ps,jdbcType=LONGVARCHAR},
update tx_index_basic
set index_id = #{record.indexId,jdbcType=INTEGER},
index_code = #{record.indexCode,jdbcType=VARCHAR},
index_name = #{record.indexName,jdbcType=VARCHAR},
announce_date = #{record.announceDate,jdbcType=DATE},
start_date = #{record.startDate,jdbcType=DATE},
end_date = #{record.endDate,jdbcType=DATE},
sector_id = #{record.sectorId,jdbcType=INTEGER},
sector_name = #{record.sectorName,jdbcType=VARCHAR},
publisher_id = #{record.publisherId,jdbcType=INTEGER},
publisher_name = #{record.publisherName,jdbcType=VARCHAR},
outer_code = #{record.outerCode,jdbcType=VARCHAR},
index_fullname = #{record.indexFullname,jdbcType=VARCHAR},
category_id = #{record.categoryId,jdbcType=VARCHAR},
category_name = #{record.categoryName,jdbcType=VARCHAR},
type_id = #{record.typeId,jdbcType=VARCHAR},
type_name = #{record.typeName,jdbcType=VARCHAR},
benchmark_date = #{record.benchmarkDate,jdbcType=DATE},
benchmark = #{record.benchmark,jdbcType=DECIMAL},
weight_method = #{record.weightMethod,jdbcType=VARCHAR},
weight_desc = #{record.weightDesc,jdbcType=VARCHAR},
weight_price = #{record.weightPrice,jdbcType=DECIMAL},
selection_method = #{record.selectionMethod,jdbcType=VARCHAR},
data_source = #{record.dataSource,jdbcType=VARCHAR},
`status` = #{record.status,jdbcType=INTEGER},
status_explain = #{record.statusExplain,jdbcType=VARCHAR},
S_SEQ = #{record.sSeq,jdbcType=BIGINT},
S_ROW_VERSION = #{record.sRowVersion,jdbcType=BIGINT},
S_UPDATE_TIME = #{record.sUpdateTime,jdbcType=TIMESTAMP},
S_DATA_STATE = #{record.sDataState,jdbcType=SMALLINT},
PS = #{record.ps,jdbcType=LONGVARCHAR}
update tx_index_basic
set index_id = #{record.indexId,jdbcType=INTEGER},
index_code = #{record.indexCode,jdbcType=VARCHAR},
index_name = #{record.indexName,jdbcType=VARCHAR},
announce_date = #{record.announceDate,jdbcType=DATE},
start_date = #{record.startDate,jdbcType=DATE},
end_date = #{record.endDate,jdbcType=DATE},
sector_id = #{record.sectorId,jdbcType=INTEGER},
sector_name = #{record.sectorName,jdbcType=VARCHAR},
publisher_id = #{record.publisherId,jdbcType=INTEGER},
publisher_name = #{record.publisherName,jdbcType=VARCHAR},
outer_code = #{record.outerCode,jdbcType=VARCHAR},
index_fullname = #{record.indexFullname,jdbcType=VARCHAR},
category_id = #{record.categoryId,jdbcType=VARCHAR},
category_name = #{record.categoryName,jdbcType=VARCHAR},
type_id = #{record.typeId,jdbcType=VARCHAR},
type_name = #{record.typeName,jdbcType=VARCHAR},
benchmark_date = #{record.benchmarkDate,jdbcType=DATE},
benchmark = #{record.benchmark,jdbcType=DECIMAL},
weight_method = #{record.weightMethod,jdbcType=VARCHAR},
weight_desc = #{record.weightDesc,jdbcType=VARCHAR},
weight_price = #{record.weightPrice,jdbcType=DECIMAL},
selection_method = #{record.selectionMethod,jdbcType=VARCHAR},
data_source = #{record.dataSource,jdbcType=VARCHAR},
`status` = #{record.status,jdbcType=INTEGER},
status_explain = #{record.statusExplain,jdbcType=VARCHAR},
S_SEQ = #{record.sSeq,jdbcType=BIGINT},
S_ROW_VERSION = #{record.sRowVersion,jdbcType=BIGINT},
S_UPDATE_TIME = #{record.sUpdateTime,jdbcType=TIMESTAMP},
S_DATA_STATE = #{record.sDataState,jdbcType=SMALLINT}
update tx_index_basic
index_code = #{indexCode,jdbcType=VARCHAR},
index_name = #{indexName,jdbcType=VARCHAR},
announce_date = #{announceDate,jdbcType=DATE},
start_date = #{startDate,jdbcType=DATE},
end_date = #{endDate,jdbcType=DATE},
sector_id = #{sectorId,jdbcType=INTEGER},
sector_name = #{sectorName,jdbcType=VARCHAR},
publisher_id = #{publisherId,jdbcType=INTEGER},
publisher_name = #{publisherName,jdbcType=VARCHAR},
outer_code = #{outerCode,jdbcType=VARCHAR},
index_fullname = #{indexFullname,jdbcType=VARCHAR},
category_id = #{categoryId,jdbcType=VARCHAR},
category_name = #{categoryName,jdbcType=VARCHAR},
type_id = #{typeId,jdbcType=VARCHAR},
type_name = #{typeName,jdbcType=VARCHAR},
benchmark_date = #{benchmarkDate,jdbcType=DATE},
benchmark = #{benchmark,jdbcType=DECIMAL},
weight_method = #{weightMethod,jdbcType=VARCHAR},
weight_desc = #{weightDesc,jdbcType=VARCHAR},
weight_price = #{weightPrice,jdbcType=DECIMAL},
selection_method = #{selectionMethod,jdbcType=VARCHAR},
data_source = #{dataSource,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
status_explain = #{statusExplain,jdbcType=VARCHAR},
S_SEQ = #{sSeq,jdbcType=BIGINT},
S_ROW_VERSION = #{sRowVersion,jdbcType=BIGINT},
S_UPDATE_TIME = #{sUpdateTime,jdbcType=TIMESTAMP},
S_DATA_STATE = #{sDataState,jdbcType=SMALLINT},
PS = #{ps,jdbcType=LONGVARCHAR},
where index_id = #{indexId,jdbcType=INTEGER}
update tx_index_basic
set index_code = #{indexCode,jdbcType=VARCHAR},
index_name = #{indexName,jdbcType=VARCHAR},
announce_date = #{announceDate,jdbcType=DATE},
start_date = #{startDate,jdbcType=DATE},
end_date = #{endDate,jdbcType=DATE},
sector_id = #{sectorId,jdbcType=INTEGER},
sector_name = #{sectorName,jdbcType=VARCHAR},
publisher_id = #{publisherId,jdbcType=INTEGER},
publisher_name = #{publisherName,jdbcType=VARCHAR},
outer_code = #{outerCode,jdbcType=VARCHAR},
index_fullname = #{indexFullname,jdbcType=VARCHAR},
category_id = #{categoryId,jdbcType=VARCHAR},
category_name = #{categoryName,jdbcType=VARCHAR},
type_id = #{typeId,jdbcType=VARCHAR},
type_name = #{typeName,jdbcType=VARCHAR},
benchmark_date = #{benchmarkDate,jdbcType=DATE},
benchmark = #{benchmark,jdbcType=DECIMAL},
weight_method = #{weightMethod,jdbcType=VARCHAR},
weight_desc = #{weightDesc,jdbcType=VARCHAR},
weight_price = #{weightPrice,jdbcType=DECIMAL},
selection_method = #{selectionMethod,jdbcType=VARCHAR},
data_source = #{dataSource,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
status_explain = #{statusExplain,jdbcType=VARCHAR},
S_SEQ = #{sSeq,jdbcType=BIGINT},
S_ROW_VERSION = #{sRowVersion,jdbcType=BIGINT},
S_UPDATE_TIME = #{sUpdateTime,jdbcType=TIMESTAMP},
S_DATA_STATE = #{sDataState,jdbcType=SMALLINT},
PS = #{ps,jdbcType=LONGVARCHAR}
where index_id = #{indexId,jdbcType=INTEGER}
update tx_index_basic
set index_code = #{indexCode,jdbcType=VARCHAR},
index_name = #{indexName,jdbcType=VARCHAR},
announce_date = #{announceDate,jdbcType=DATE},
start_date = #{startDate,jdbcType=DATE},
end_date = #{endDate,jdbcType=DATE},
sector_id = #{sectorId,jdbcType=INTEGER},
sector_name = #{sectorName,jdbcType=VARCHAR},
publisher_id = #{publisherId,jdbcType=INTEGER},
publisher_name = #{publisherName,jdbcType=VARCHAR},
outer_code = #{outerCode,jdbcType=VARCHAR},
index_fullname = #{indexFullname,jdbcType=VARCHAR},
category_id = #{categoryId,jdbcType=VARCHAR},
category_name = #{categoryName,jdbcType=VARCHAR},
type_id = #{typeId,jdbcType=VARCHAR},
type_name = #{typeName,jdbcType=VARCHAR},
benchmark_date = #{benchmarkDate,jdbcType=DATE},
benchmark = #{benchmark,jdbcType=DECIMAL},
weight_method = #{weightMethod,jdbcType=VARCHAR},
weight_desc = #{weightDesc,jdbcType=VARCHAR},
weight_price = #{weightPrice,jdbcType=DECIMAL},
selection_method = #{selectionMethod,jdbcType=VARCHAR},
data_source = #{dataSource,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
status_explain = #{statusExplain,jdbcType=VARCHAR},
S_SEQ = #{sSeq,jdbcType=BIGINT},
S_ROW_VERSION = #{sRowVersion,jdbcType=BIGINT},
S_UPDATE_TIME = #{sUpdateTime,jdbcType=TIMESTAMP},
S_DATA_STATE = #{sDataState,jdbcType=SMALLINT}
where index_id = #{indexId,jdbcType=INTEGER}
update tx_index_basic
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.indexCode,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.indexName,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.announceDate,jdbcType=DATE}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.startDate,jdbcType=DATE}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.endDate,jdbcType=DATE}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.sectorId,jdbcType=INTEGER}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.sectorName,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.publisherId,jdbcType=INTEGER}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.publisherName,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.outerCode,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.indexFullname,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.categoryId,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.categoryName,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.typeId,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.typeName,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.benchmarkDate,jdbcType=DATE}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.benchmark,jdbcType=DECIMAL}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.weightMethod,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.weightDesc,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.weightPrice,jdbcType=DECIMAL}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.selectionMethod,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.dataSource,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.status,jdbcType=INTEGER}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.statusExplain,jdbcType=VARCHAR}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.sSeq,jdbcType=BIGINT}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.sRowVersion,jdbcType=BIGINT}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.sUpdateTime,jdbcType=TIMESTAMP}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.sDataState,jdbcType=SMALLINT}
when index_id = #{item.indexId,jdbcType=INTEGER} then #{item.ps,jdbcType=LONGVARCHAR}
where index_id in
#{item.indexId,jdbcType=INTEGER}
insert into tx_index_basic
(index_id, index_code, index_name, announce_date, start_date, end_date, sector_id,
sector_name, publisher_id, publisher_name, outer_code, index_fullname, category_id,
category_name, type_id, type_name, benchmark_date, benchmark, weight_method, weight_desc,
weight_price, selection_method, data_source, `status`, status_explain, S_SEQ, S_ROW_VERSION,
S_UPDATE_TIME, S_DATA_STATE, PS)
values
(#{item.indexId,jdbcType=INTEGER}, #{item.indexCode,jdbcType=VARCHAR}, #{item.indexName,jdbcType=VARCHAR},
#{item.announceDate,jdbcType=DATE}, #{item.startDate,jdbcType=DATE}, #{item.endDate,jdbcType=DATE},
#{item.sectorId,jdbcType=INTEGER}, #{item.sectorName,jdbcType=VARCHAR}, #{item.publisherId,jdbcType=INTEGER},
#{item.publisherName,jdbcType=VARCHAR}, #{item.outerCode,jdbcType=VARCHAR}, #{item.indexFullname,jdbcType=VARCHAR},
#{item.categoryId,jdbcType=VARCHAR}, #{item.categoryName,jdbcType=VARCHAR}, #{item.typeId,jdbcType=VARCHAR},
#{item.typeName,jdbcType=VARCHAR}, #{item.benchmarkDate,jdbcType=DATE}, #{item.benchmark,jdbcType=DECIMAL},
#{item.weightMethod,jdbcType=VARCHAR}, #{item.weightDesc,jdbcType=VARCHAR}, #{item.weightPrice,jdbcType=DECIMAL},
#{item.selectionMethod,jdbcType=VARCHAR}, #{item.dataSource,jdbcType=VARCHAR},
#{item.status,jdbcType=INTEGER}, #{item.statusExplain,jdbcType=VARCHAR}, #{item.sSeq,jdbcType=BIGINT},
#{item.sRowVersion,jdbcType=BIGINT}, #{item.sUpdateTime,jdbcType=TIMESTAMP}, #{item.sDataState,jdbcType=SMALLINT},
#{item.ps,jdbcType=LONGVARCHAR})
insert into tx_index_basic
(index_id, index_code, index_name, announce_date, start_date, end_date, sector_id,
sector_name, publisher_id, publisher_name, outer_code, index_fullname, category_id,
category_name, type_id, type_name, benchmark_date, benchmark, weight_method, weight_desc,
weight_price, selection_method, data_source, `status`, status_explain, S_SEQ, S_ROW_VERSION,
S_UPDATE_TIME, S_DATA_STATE)
values
(#{indexId,jdbcType=INTEGER}, #{indexCode,jdbcType=VARCHAR}, #{indexName,jdbcType=VARCHAR},
#{announceDate,jdbcType=DATE}, #{startDate,jdbcType=DATE}, #{endDate,jdbcType=DATE},
#{sectorId,jdbcType=INTEGER}, #{sectorName,jdbcType=VARCHAR}, #{publisherId,jdbcType=INTEGER},
#{publisherName,jdbcType=VARCHAR}, #{outerCode,jdbcType=VARCHAR}, #{indexFullname,jdbcType=VARCHAR},
#{categoryId,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR}, #{typeId,jdbcType=VARCHAR},
#{typeName,jdbcType=VARCHAR}, #{benchmarkDate,jdbcType=DATE}, #{benchmark,jdbcType=DECIMAL},
#{weightMethod,jdbcType=VARCHAR}, #{weightDesc,jdbcType=VARCHAR}, #{weightPrice,jdbcType=DECIMAL},
#{selectionMethod,jdbcType=VARCHAR}, #{dataSource,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{statusExplain,jdbcType=VARCHAR}, #{sSeq,jdbcType=BIGINT}, #{sRowVersion,jdbcType=BIGINT},
#{sUpdateTime,jdbcType=TIMESTAMP}, #{sDataState,jdbcType=SMALLINT})
on duplicate key update
index_id = #{indexId,jdbcType=INTEGER},
index_code = #{indexCode,jdbcType=VARCHAR},
index_name = #{indexName,jdbcType=VARCHAR},
announce_date = #{announceDate,jdbcType=DATE},
start_date = #{startDate,jdbcType=DATE},
end_date = #{endDate,jdbcType=DATE},
sector_id = #{sectorId,jdbcType=INTEGER},
sector_name = #{sectorName,jdbcType=VARCHAR},
publisher_id = #{publisherId,jdbcType=INTEGER},
publisher_name = #{publisherName,jdbcType=VARCHAR},
outer_code = #{outerCode,jdbcType=VARCHAR},
index_fullname = #{indexFullname,jdbcType=VARCHAR},
category_id = #{categoryId,jdbcType=VARCHAR},
category_name = #{categoryName,jdbcType=VARCHAR},
type_id = #{typeId,jdbcType=VARCHAR},
type_name = #{typeName,jdbcType=VARCHAR},
benchmark_date = #{benchmarkDate,jdbcType=DATE},
benchmark = #{benchmark,jdbcType=DECIMAL},
weight_method = #{weightMethod,jdbcType=VARCHAR},
weight_desc = #{weightDesc,jdbcType=VARCHAR},
weight_price = #{weightPrice,jdbcType=DECIMAL},
selection_method = #{selectionMethod,jdbcType=VARCHAR},
data_source = #{dataSource,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
status_explain = #{statusExplain,jdbcType=VARCHAR},
S_SEQ = #{sSeq,jdbcType=BIGINT},
S_ROW_VERSION = #{sRowVersion,jdbcType=BIGINT},
S_UPDATE_TIME = #{sUpdateTime,jdbcType=TIMESTAMP},
S_DATA_STATE = #{sDataState,jdbcType=SMALLINT}
insert into tx_index_basic
(index_id, index_code, index_name, announce_date, start_date, end_date, sector_id,
sector_name, publisher_id, publisher_name, outer_code, index_fullname, category_id,
category_name, type_id, type_name, benchmark_date, benchmark, weight_method, weight_desc,
weight_price, selection_method, data_source, `status`, status_explain, S_SEQ, S_ROW_VERSION,
S_UPDATE_TIME, S_DATA_STATE, PS)
values
(#{indexId,jdbcType=INTEGER}, #{indexCode,jdbcType=VARCHAR}, #{indexName,jdbcType=VARCHAR},
#{announceDate,jdbcType=DATE}, #{startDate,jdbcType=DATE}, #{endDate,jdbcType=DATE},
#{sectorId,jdbcType=INTEGER}, #{sectorName,jdbcType=VARCHAR}, #{publisherId,jdbcType=INTEGER},
#{publisherName,jdbcType=VARCHAR}, #{outerCode,jdbcType=VARCHAR}, #{indexFullname,jdbcType=VARCHAR},
#{categoryId,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR}, #{typeId,jdbcType=VARCHAR},
#{typeName,jdbcType=VARCHAR}, #{benchmarkDate,jdbcType=DATE}, #{benchmark,jdbcType=DECIMAL},
#{weightMethod,jdbcType=VARCHAR}, #{weightDesc,jdbcType=VARCHAR}, #{weightPrice,jdbcType=DECIMAL},
#{selectionMethod,jdbcType=VARCHAR}, #{dataSource,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{statusExplain,jdbcType=VARCHAR}, #{sSeq,jdbcType=BIGINT}, #{sRowVersion,jdbcType=BIGINT},
#{sUpdateTime,jdbcType=TIMESTAMP}, #{sDataState,jdbcType=SMALLINT}, #{ps,jdbcType=LONGVARCHAR}
)
on duplicate key update
index_id = #{indexId,jdbcType=INTEGER},
index_code = #{indexCode,jdbcType=VARCHAR},
index_name = #{indexName,jdbcType=VARCHAR},
announce_date = #{announceDate,jdbcType=DATE},
start_date = #{startDate,jdbcType=DATE},
end_date = #{endDate,jdbcType=DATE},
sector_id = #{sectorId,jdbcType=INTEGER},
sector_name = #{sectorName,jdbcType=VARCHAR},
publisher_id = #{publisherId,jdbcType=INTEGER},
publisher_name = #{publisherName,jdbcType=VARCHAR},
outer_code = #{outerCode,jdbcType=VARCHAR},
index_fullname = #{indexFullname,jdbcType=VARCHAR},
category_id = #{categoryId,jdbcType=VARCHAR},
category_name = #{categoryName,jdbcType=VARCHAR},
type_id = #{typeId,jdbcType=VARCHAR},
type_name = #{typeName,jdbcType=VARCHAR},
benchmark_date = #{benchmarkDate,jdbcType=DATE},
benchmark = #{benchmark,jdbcType=DECIMAL},
weight_method = #{weightMethod,jdbcType=VARCHAR},
weight_desc = #{weightDesc,jdbcType=VARCHAR},
weight_price = #{weightPrice,jdbcType=DECIMAL},
selection_method = #{selectionMethod,jdbcType=VARCHAR},
data_source = #{dataSource,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
status_explain = #{statusExplain,jdbcType=VARCHAR},
S_SEQ = #{sSeq,jdbcType=BIGINT},
S_ROW_VERSION = #{sRowVersion,jdbcType=BIGINT},
S_UPDATE_TIME = #{sUpdateTime,jdbcType=TIMESTAMP},
S_DATA_STATE = #{sDataState,jdbcType=SMALLINT},
PS = #{ps,jdbcType=LONGVARCHAR}
insert into tx_index_basic
index_id,
index_code,
index_name,
announce_date,
start_date,
end_date,
sector_id,
sector_name,
publisher_id,
publisher_name,
outer_code,
index_fullname,
category_id,
category_name,
type_id,
type_name,
benchmark_date,
benchmark,
weight_method,
weight_desc,
weight_price,
selection_method,
data_source,
`status`,
status_explain,
S_SEQ,
S_ROW_VERSION,
S_UPDATE_TIME,
S_DATA_STATE,
PS,
values
#{indexId,jdbcType=INTEGER},
#{indexCode,jdbcType=VARCHAR},
#{indexName,jdbcType=VARCHAR},
#{announceDate,jdbcType=DATE},
#{startDate,jdbcType=DATE},
#{endDate,jdbcType=DATE},
#{sectorId,jdbcType=INTEGER},
#{sectorName,jdbcType=VARCHAR},
#{publisherId,jdbcType=INTEGER},
#{publisherName,jdbcType=VARCHAR},
#{outerCode,jdbcType=VARCHAR},
#{indexFullname,jdbcType=VARCHAR},
#{categoryId,jdbcType=VARCHAR},
#{categoryName,jdbcType=VARCHAR},
#{typeId,jdbcType=VARCHAR},
#{typeName,jdbcType=VARCHAR},
#{benchmarkDate,jdbcType=DATE},
#{benchmark,jdbcType=DECIMAL},
#{weightMethod,jdbcType=VARCHAR},
#{weightDesc,jdbcType=VARCHAR},
#{weightPrice,jdbcType=DECIMAL},
#{selectionMethod,jdbcType=VARCHAR},
#{dataSource,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{statusExplain,jdbcType=VARCHAR},
#{sSeq,jdbcType=BIGINT},
#{sRowVersion,jdbcType=BIGINT},
#{sUpdateTime,jdbcType=TIMESTAMP},
#{sDataState,jdbcType=SMALLINT},
#{ps,jdbcType=LONGVARCHAR},
on duplicate key update
index_id = #{indexId,jdbcType=INTEGER},
index_code = #{indexCode,jdbcType=VARCHAR},
index_name = #{indexName,jdbcType=VARCHAR},
announce_date = #{announceDate,jdbcType=DATE},
start_date = #{startDate,jdbcType=DATE},
end_date = #{endDate,jdbcType=DATE},
sector_id = #{sectorId,jdbcType=INTEGER},
sector_name = #{sectorName,jdbcType=VARCHAR},
publisher_id = #{publisherId,jdbcType=INTEGER},
publisher_name = #{publisherName,jdbcType=VARCHAR},
outer_code = #{outerCode,jdbcType=VARCHAR},
index_fullname = #{indexFullname,jdbcType=VARCHAR},
category_id = #{categoryId,jdbcType=VARCHAR},
category_name = #{categoryName,jdbcType=VARCHAR},
type_id = #{typeId,jdbcType=VARCHAR},
type_name = #{typeName,jdbcType=VARCHAR},
benchmark_date = #{benchmarkDate,jdbcType=DATE},
benchmark = #{benchmark,jdbcType=DECIMAL},
weight_method = #{weightMethod,jdbcType=VARCHAR},
weight_desc = #{weightDesc,jdbcType=VARCHAR},
weight_price = #{weightPrice,jdbcType=DECIMAL},
selection_method = #{selectionMethod,jdbcType=VARCHAR},
data_source = #{dataSource,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
status_explain = #{statusExplain,jdbcType=VARCHAR},
S_SEQ = #{sSeq,jdbcType=BIGINT},
S_ROW_VERSION = #{sRowVersion,jdbcType=BIGINT},
S_UPDATE_TIME = #{sUpdateTime,jdbcType=TIMESTAMP},
S_DATA_STATE = #{sDataState,jdbcType=SMALLINT},
PS = #{ps,jdbcType=LONGVARCHAR},