select id, destination_record_id, pic_addr, create_by, create_time, update_by, update_time, remark,pic_node,img_url from bk_destination_record_pic select LAST_INSERT_ID() insert into bk_destination_record_pic destination_record_id, pic_addr, pic_node, img_url, create_by, create_time, update_by, update_time, remark, #{destinationRecordId}, #{picAddr}, #{picNode}, #{imgUrl}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update bk_destination_record_pic destination_record_id = #{destinationRecordId}, pic_addr = #{picAddr}, pic_node = #{picNode}, img_url = #{imgUrl}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id} delete from bk_destination_record_pic where id = #{id} delete from bk_destination_record_pic where id in #{id}