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