INSERT INTO dynamic_config_table(
id,
table_name,
table_type,
table_explain,
table_template,
is_create,
gmt_create,
creator,
gmt_modified,
modifier,
is_delete
) VALUES(
#{id},
#{tableName},
#{tableType},
#{tableExplain},
#{tableTemplate},
#{isCreate},
#{gmtCreate},
#{creator},
#{gmtModified},
#{modifier},
#{isDelete}
)
UPDATE
dynamic_config_table
SET
is_delete = 1,
modifier = #{modifier},
gmt_modified = #{gmtModified}
WHERE
id IN
#{ids[${index}]}
UPDATE
dynamic_config_table
SET
table_name = #{tableName},
table_type = #{tableType},
table_explain = #{tableExplain},
table_template = #{tableTemplate},
is_create = #{isCreate},
modifier = #{modifier},
gmt_modified = #{gmtModified}
WHERE
id = #{id}