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, parent_id, name, type, pinyin delete from city where id = #{id,jdbcType=INTEGER} delete from city SELECT LAST_INSERT_ID() insert into city (parent_id, name, type, pinyin) values (#{parentId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pinyin,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into city parent_id, name, type, pinyin, #{parentId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pinyin,jdbcType=VARCHAR}, update city id = #{record.id,jdbcType=INTEGER}, parent_id = #{record.parentId,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, type = #{record.type,jdbcType=INTEGER}, pinyin = #{record.pinyin,jdbcType=VARCHAR}, update city set id = #{record.id,jdbcType=INTEGER}, parent_id = #{record.parentId,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, type = #{record.type,jdbcType=INTEGER}, pinyin = #{record.pinyin,jdbcType=VARCHAR} update city parent_id = #{parentId,jdbcType=INTEGER}, name = #{name,jdbcType=VARCHAR}, type = #{type,jdbcType=INTEGER}, pinyin = #{pinyin,jdbcType=VARCHAR}, where id = #{id,jdbcType=INTEGER} update city set parent_id = #{parentId,jdbcType=INTEGER}, name = #{name,jdbcType=VARCHAR}, type = #{type,jdbcType=INTEGER}, pinyin = #{pinyin,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER}