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, type, create_time, update_time, is_delete delete from tb_goods_type where id = #{id,jdbcType=INTEGER} delete from tb_goods_type SELECT LAST_INSERT_ID() insert into tb_goods_type (type, create_time, update_time, is_delete) values (#{type,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{isDelete,jdbcType=CHAR}) SELECT LAST_INSERT_ID() insert into tb_goods_type type, create_time, update_time, is_delete, #{type,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{isDelete,jdbcType=CHAR}, update tb_goods_type id = #{record.id,jdbcType=INTEGER}, type = #{record.type,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, is_delete = #{record.isDelete,jdbcType=CHAR}, update tb_goods_type set id = #{record.id,jdbcType=INTEGER}, type = #{record.type,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, is_delete = #{record.isDelete,jdbcType=CHAR} update tb_goods_type type = #{type,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, is_delete = #{isDelete,jdbcType=CHAR}, where id = #{id,jdbcType=INTEGER} update tb_goods_type set type = #{type,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, is_delete = #{isDelete,jdbcType=CHAR} where id = #{id,jdbcType=INTEGER}