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, name, group, title, tip, type, rule, extend
value, content
delete from config
where id = #{id,jdbcType=INTEGER}
delete from config
insert into config (id, name, group,
title, tip, type, rule,
extend, value, content
)
values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{group,jdbcType=VARCHAR},
#{title,jdbcType=VARCHAR}, #{tip,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{rule,jdbcType=VARCHAR},
#{extend,jdbcType=VARCHAR}, #{value,jdbcType=LONGVARCHAR}, #{content,jdbcType=LONGVARCHAR}
)
insert into config
${column.escapedColumnName}
id,
name,
group,
title,
tip,
type,
rule,
extend,
value,
content,
values
#{record.${column.javaProperty},jdbcType=${column.jdbcType}}
#{record.id,jdbcType=INTEGER},
#{record.name,jdbcType=VARCHAR},
#{record.group,jdbcType=VARCHAR},
#{record.title,jdbcType=VARCHAR},
#{record.tip,jdbcType=VARCHAR},
#{record.type,jdbcType=VARCHAR},
#{record.rule,jdbcType=VARCHAR},
#{record.extend,jdbcType=VARCHAR},
#{record.value,jdbcType=LONGVARCHAR},
#{record.content,jdbcType=LONGVARCHAR},
update config
SET
${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
id = #{record.id,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
group = #{record.group,jdbcType=VARCHAR},
title = #{record.title,jdbcType=VARCHAR},
tip = #{record.tip,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
rule = #{record.rule,jdbcType=VARCHAR},
extend = #{record.extend,jdbcType=VARCHAR},
value = #{record.value,jdbcType=LONGVARCHAR},
content = #{record.content,jdbcType=LONGVARCHAR},
update config
set id = #{record.id,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
group = #{record.group,jdbcType=VARCHAR},
title = #{record.title,jdbcType=VARCHAR},
tip = #{record.tip,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
rule = #{record.rule,jdbcType=VARCHAR},
extend = #{record.extend,jdbcType=VARCHAR},
value = #{record.value,jdbcType=LONGVARCHAR},
content = #{record.content,jdbcType=LONGVARCHAR}
update config
set id = #{record.id,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
group = #{record.group,jdbcType=VARCHAR},
title = #{record.title,jdbcType=VARCHAR},
tip = #{record.tip,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
rule = #{record.rule,jdbcType=VARCHAR},
extend = #{record.extend,jdbcType=VARCHAR}
update config
SET
${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
name = #{record.name,jdbcType=VARCHAR},
group = #{record.group,jdbcType=VARCHAR},
title = #{record.title,jdbcType=VARCHAR},
tip = #{record.tip,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
rule = #{record.rule,jdbcType=VARCHAR},
extend = #{record.extend,jdbcType=VARCHAR},
value = #{record.value,jdbcType=LONGVARCHAR},
content = #{record.content,jdbcType=LONGVARCHAR},
where id = #{record.id,jdbcType=INTEGER}
update config
set name = #{name,jdbcType=VARCHAR},
group = #{group,jdbcType=VARCHAR},
title = #{title,jdbcType=VARCHAR},
tip = #{tip,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
rule = #{rule,jdbcType=VARCHAR},
extend = #{extend,jdbcType=VARCHAR},
value = #{value,jdbcType=LONGVARCHAR},
content = #{content,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
update config
set name = #{name,jdbcType=VARCHAR},
group = #{group,jdbcType=VARCHAR},
title = #{title,jdbcType=VARCHAR},
tip = #{tip,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
rule = #{rule,jdbcType=VARCHAR},
extend = #{extend,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
insert into config
(id, name, group, title, tip, type, rule, extend, value, content)
values
(#{item.id,jdbcType=INTEGER}, #{item.name,jdbcType=VARCHAR}, #{item.group,jdbcType=VARCHAR},
#{item.title,jdbcType=VARCHAR}, #{item.tip,jdbcType=VARCHAR}, #{item.type,jdbcType=VARCHAR},
#{item.rule,jdbcType=VARCHAR}, #{item.extend,jdbcType=VARCHAR}, #{item.value,jdbcType=LONGVARCHAR},
#{item.content,jdbcType=LONGVARCHAR})
insert into config (
${column.escapedColumnName}
)
values
(
#{item.id,jdbcType=INTEGER}
#{item.name,jdbcType=VARCHAR}
#{item.group,jdbcType=VARCHAR}
#{item.title,jdbcType=VARCHAR}
#{item.tip,jdbcType=VARCHAR}
#{item.type,jdbcType=VARCHAR}
#{item.rule,jdbcType=VARCHAR}
#{item.extend,jdbcType=VARCHAR}
#{item.value,jdbcType=LONGVARCHAR}
#{item.content,jdbcType=LONGVARCHAR}
)
insert into config
${column.escapedColumnName}
id,
name,
group,
title,
tip,
type,
rule,
extend,
value,
content,
values
#{record.${column.javaProperty},jdbcType=${column.jdbcType}}
#{record.id,jdbcType=INTEGER},
#{record.name,jdbcType=VARCHAR},
#{record.group,jdbcType=VARCHAR},
#{record.title,jdbcType=VARCHAR},
#{record.tip,jdbcType=VARCHAR},
#{record.type,jdbcType=VARCHAR},
#{record.rule,jdbcType=VARCHAR},
#{record.extend,jdbcType=VARCHAR},
#{record.value,jdbcType=LONGVARCHAR},
#{record.content,jdbcType=LONGVARCHAR},
on duplicate key update
${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
id = #{record.id,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
group = #{record.group,jdbcType=VARCHAR},
title = #{record.title,jdbcType=VARCHAR},
tip = #{record.tip,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
rule = #{record.rule,jdbcType=VARCHAR},
extend = #{record.extend,jdbcType=VARCHAR},
value = #{record.value,jdbcType=LONGVARCHAR},
content = #{record.content,jdbcType=LONGVARCHAR},
insert into config
(id, name, group, title, tip, type, rule, extend)
values
(#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{group,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR},
#{tip,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{rule,jdbcType=VARCHAR}, #{extend,jdbcType=VARCHAR}
)
on duplicate key update
id = #{id,jdbcType=INTEGER},
name = #{name,jdbcType=VARCHAR},
group = #{group,jdbcType=VARCHAR},
title = #{title,jdbcType=VARCHAR},
tip = #{tip,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
rule = #{rule,jdbcType=VARCHAR},
extend = #{extend,jdbcType=VARCHAR}
insert into config
(id, name, group, title, tip, type, rule, extend, value, content)
values
(#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{group,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR},
#{tip,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{rule,jdbcType=VARCHAR}, #{extend,jdbcType=VARCHAR},
#{value,jdbcType=LONGVARCHAR}, #{content,jdbcType=LONGVARCHAR})
on duplicate key update
id = #{id,jdbcType=INTEGER},
name = #{name,jdbcType=VARCHAR},
group = #{group,jdbcType=VARCHAR},
title = #{title,jdbcType=VARCHAR},
tip = #{tip,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
rule = #{rule,jdbcType=VARCHAR},
extend = #{extend,jdbcType=VARCHAR},
value = #{value,jdbcType=LONGVARCHAR},
content = #{content,jdbcType=LONGVARCHAR}