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, area_code, area_name, area_type, parent_id, data_state delete from tb_area where id = #{id,jdbcType=BIGINT} delete from tb_area SELECT LAST_INSERT_ID() insert into tb_area (area_code, area_name, area_type, parent_id, data_state) values (#{areaCode,jdbcType=BIGINT}, #{areaName,jdbcType=VARCHAR}, #{areaType,jdbcType=INTEGER}, #{parentId,jdbcType=BIGINT}, #{dataState,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into tb_area area_code, area_name, area_type, parent_id, data_state, #{areaCode,jdbcType=BIGINT}, #{areaName,jdbcType=VARCHAR}, #{areaType,jdbcType=INTEGER}, #{parentId,jdbcType=BIGINT}, #{dataState,jdbcType=INTEGER}, update tb_area id = #{record.id,jdbcType=BIGINT}, area_code = #{record.areaCode,jdbcType=BIGINT}, area_name = #{record.areaName,jdbcType=VARCHAR}, area_type = #{record.areaType,jdbcType=INTEGER}, parent_id = #{record.parentId,jdbcType=BIGINT}, data_state = #{record.dataState,jdbcType=INTEGER}, update tb_area set id = #{record.id,jdbcType=BIGINT}, area_code = #{record.areaCode,jdbcType=BIGINT}, area_name = #{record.areaName,jdbcType=VARCHAR}, area_type = #{record.areaType,jdbcType=INTEGER}, parent_id = #{record.parentId,jdbcType=BIGINT}, data_state = #{record.dataState,jdbcType=INTEGER} update tb_area area_code = #{areaCode,jdbcType=BIGINT}, area_name = #{areaName,jdbcType=VARCHAR}, area_type = #{areaType,jdbcType=INTEGER}, parent_id = #{parentId,jdbcType=BIGINT}, data_state = #{dataState,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update tb_area set area_code = #{areaCode,jdbcType=BIGINT}, area_name = #{areaName,jdbcType=VARCHAR}, area_type = #{areaType,jdbcType=INTEGER}, parent_id = #{parentId,jdbcType=BIGINT}, data_state = #{dataState,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT}