activity_img_id, activity_type, activity_id, img_name, img_url, del_flag, create_by, create_time update xhpc_activity_img set del_flag=2 where activity_type=#{activityType} and activity_id=#{activityId} update xhpc_activity_img set del_flag=2 where activity_img_id = #{activityImgId,jdbcType=BIGINT} delete from xhpc_activity_img where activity_img_id = #{activityImgId,jdbcType=BIGINT} insert into xhpc_activity_img (activity_type, activity_id, img_name, img_url, del_flag, create_by, create_time) values (#{activityType,jdbcType=VARCHAR}, #{activityId,jdbcType=INTEGER}, #{imgName,jdbcType=VARCHAR}, #{imgUrl,jdbcType=VARCHAR}, 0, #{createBy,jdbcType=VARCHAR}, sysdate()) update xhpc_activity_img set activity_type = #{activityType,jdbcType=VARCHAR}, activity_id = #{activityId,jdbcType=INTEGER}, img_name = #{imgName,jdbcType=VARCHAR}, img_url = #{imgUrl,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = sysdate() where activity_img_id = #{activityImgId,jdbcType=BIGINT}