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, biaoti, neirong, tupian, shijian delete from gonggao where id = #{id,jdbcType=INTEGER} delete from gonggao SELECT LAST_INSERT_ID() insert into gonggao (biaoti,neirong,tupian,shijian) values (#{biaoti,jdbcType=VARCHAR},#{neirong,jdbcType=VARCHAR},#{tupian,jdbcType=VARCHAR},#{shijian,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into gonggao biaoti, neirong, tupian, shijian, #{biaoti,jdbcType=VARCHAR}, #{neirong,jdbcType=VARCHAR}, #{tupian,jdbcType=VARCHAR}, #{shijian,jdbcType=VARCHAR}, update gonggao id = #{record.id,jdbcType=INTEGER}, biaoti = #{record.biaoti,jdbcType=VARCHAR}, neirong = #{record.neirong,jdbcType=VARCHAR}, tupian = #{record.tupian,jdbcType=VARCHAR}, shijian = #{record.shijian,jdbcType=VARCHAR}, update gonggao set id = #{record.id,jdbcType=INTEGER}, biaoti = #{record.biaoti,jdbcType=VARCHAR},neirong = #{record.neirong,jdbcType=VARCHAR},tupian = #{record.tupian,jdbcType=VARCHAR},shijian = #{record.shijian,jdbcType=VARCHAR} update gonggao biaoti = #{biaoti,jdbcType=VARCHAR}, neirong = #{neirong,jdbcType=VARCHAR}, tupian = #{tupian,jdbcType=VARCHAR}, shijian = #{shijian,jdbcType=VARCHAR}, where id = #{id,jdbcType=INTEGER} update gonggao set biaoti = #{biaoti,jdbcType=VARCHAR},neirong = #{neirong,jdbcType=VARCHAR},tupian = #{tupian,jdbcType=VARCHAR},shijian = #{shijian,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER}