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
, parentid, name, isdeleted, remark, createtime, updatetime, status, icon
delete
from question_category
where id = #{id,jdbcType=VARCHAR}
delete from question_category
insert into question_category (id, parentid, name,
isdeleted, remark, createtime,
updatetime, status, icon)
values (#{id,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR})
insert into question_category
id,
parentid,
name,
isdeleted,
remark,
createtime,
updatetime,
status,
icon,
#{id,jdbcType=VARCHAR},
#{parentid,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{isdeleted,jdbcType=BIT},
#{remark,jdbcType=VARCHAR},
#{createtime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER},
#{icon,jdbcType=VARCHAR},
update question_category
id = #{record.id,jdbcType=VARCHAR},
parentid = #{record.parentid,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
isdeleted = #{record.isdeleted,jdbcType=BIT},
remark = #{record.remark,jdbcType=VARCHAR},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
status = #{record.status,jdbcType=INTEGER},
icon = #{record.icon,jdbcType=VARCHAR},
update question_category
set id = #{record.id,jdbcType=VARCHAR},
parentid = #{record.parentid,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
isdeleted = #{record.isdeleted,jdbcType=BIT},
remark = #{record.remark,jdbcType=VARCHAR},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
status = #{record.status,jdbcType=INTEGER},
icon = #{record.icon,jdbcType=VARCHAR}
update question_category
parentid = #{parentid,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
isdeleted = #{isdeleted,jdbcType=BIT},
remark = #{remark,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER},
icon = #{icon,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update question_category
set parentid = #{parentid,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
isdeleted = #{isdeleted,jdbcType=BIT},
remark = #{remark,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER},
icon = #{icon,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}