123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.tzld.piaoquan.longarticle.dao.mapper.longarticle.CrawlerVideoMapper">
- <resultMap id="BaseResultMap" type="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideo">
- <id column="id" jdbcType="INTEGER" property="id" />
- <result column="content_id" jdbcType="VARCHAR" property="contentId" />
- <result column="out_video_id" jdbcType="VARCHAR" property="outVideoId" />
- <result column="platform" jdbcType="VARCHAR" property="platform" />
- <result column="video_title" jdbcType="VARCHAR" property="videoTitle" />
- <result column="play_count" jdbcType="INTEGER" property="playCount" />
- <result column="like_count" jdbcType="INTEGER" property="likeCount" />
- <result column="share_count" jdbcType="INTEGER" property="shareCount" />
- <result column="publish_time" jdbcType="TIMESTAMP" property="publishTime" />
- <result column="crawler_time" jdbcType="TIMESTAMP" property="crawlerTime" />
- <result column="duration" jdbcType="INTEGER" property="duration" />
- <result column="download_status" jdbcType="INTEGER" property="downloadStatus" />
- <result column="video_oss_path" jdbcType="VARCHAR" property="videoOssPath" />
- <result column="cover_oss_path" jdbcType="VARCHAR" property="coverOssPath" />
- <result column="user_id" jdbcType="VARCHAR" property="userId" />
- <result column="trace_id" jdbcType="VARCHAR" property="traceId" />
- <result column="score" jdbcType="REAL" property="score" />
- <result column="is_illegal" jdbcType="INTEGER" property="isIllegal" />
- <result column="status" jdbcType="INTEGER" property="status" />
- <result column="audit_account" jdbcType="VARCHAR" property="auditAccount" />
- <result column="audit_timestamp" jdbcType="BIGINT" property="auditTimestamp" />
- <result column="score_version" jdbcType="TINYINT" property="scoreVersion" />
- </resultMap>
- <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideo">
- <result column="video_url" jdbcType="LONGVARCHAR" property="videoUrl" />
- <result column="cover_url" jdbcType="LONGVARCHAR" property="coverUrl" />
- </resultMap>
- <sql id="Example_Where_Clause">
- <where>
- <foreach collection="oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <foreach collection="criteria.criteria" item="criterion">
- <choose>
- <when test="criterion.noValue">
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue">
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue">
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue">
- and ${criterion.condition}
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Update_By_Example_Where_Clause">
- <where>
- <foreach collection="example.oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <foreach collection="criteria.criteria" item="criterion">
- <choose>
- <when test="criterion.noValue">
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue">
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue">
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue">
- and ${criterion.condition}
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Base_Column_List">
- id, content_id, out_video_id, platform, video_title, play_count, like_count, share_count,
- publish_time, crawler_time, duration, download_status, video_oss_path, cover_oss_path,
- user_id, trace_id, score, is_illegal, `status`, audit_account, audit_timestamp, score_version
- </sql>
- <sql id="Blob_Column_List">
- video_url, cover_url
- </sql>
- <select id="selectByExampleWithBLOBs" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideoExample" resultMap="ResultMapWithBLOBs">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- ,
- <include refid="Blob_Column_List" />
- from long_articles_crawler_videos
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- <if test="page != null">
- limit #{page.offset} , #{page.pageSize}
- </if>
- </select>
- <select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideoExample" resultMap="BaseResultMap">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from long_articles_crawler_videos
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- <if test="page != null">
- limit #{page.offset} , #{page.pageSize}
- </if>
- </select>
- <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
- select
- <include refid="Base_Column_List" />
- ,
- <include refid="Blob_Column_List" />
- from long_articles_crawler_videos
- where id = #{id,jdbcType=INTEGER}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
- delete from long_articles_crawler_videos
- where id = #{id,jdbcType=INTEGER}
- </delete>
- <delete id="deleteByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideoExample">
- delete from long_articles_crawler_videos
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideo">
- insert into long_articles_crawler_videos (id, content_id, out_video_id,
- platform, video_title, play_count,
- like_count, share_count, publish_time,
- crawler_time, duration, download_status,
- video_oss_path, cover_oss_path, user_id,
- trace_id, score, is_illegal,
- `status`, audit_account, audit_timestamp,
- score_version, video_url, cover_url
- )
- values (#{id,jdbcType=INTEGER}, #{contentId,jdbcType=VARCHAR}, #{outVideoId,jdbcType=VARCHAR},
- #{platform,jdbcType=VARCHAR}, #{videoTitle,jdbcType=VARCHAR}, #{playCount,jdbcType=INTEGER},
- #{likeCount,jdbcType=INTEGER}, #{shareCount,jdbcType=INTEGER}, #{publishTime,jdbcType=TIMESTAMP},
- #{crawlerTime,jdbcType=TIMESTAMP}, #{duration,jdbcType=INTEGER}, #{downloadStatus,jdbcType=INTEGER},
- #{videoOssPath,jdbcType=VARCHAR}, #{coverOssPath,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR},
- #{traceId,jdbcType=VARCHAR}, #{score,jdbcType=REAL}, #{isIllegal,jdbcType=INTEGER},
- #{status,jdbcType=INTEGER}, #{auditAccount,jdbcType=VARCHAR}, #{auditTimestamp,jdbcType=BIGINT},
- #{scoreVersion,jdbcType=TINYINT}, #{videoUrl,jdbcType=LONGVARCHAR}, #{coverUrl,jdbcType=LONGVARCHAR}
- )
- </insert>
- <insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideo">
- insert into long_articles_crawler_videos
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="id != null">
- id,
- </if>
- <if test="contentId != null">
- content_id,
- </if>
- <if test="outVideoId != null">
- out_video_id,
- </if>
- <if test="platform != null">
- platform,
- </if>
- <if test="videoTitle != null">
- video_title,
- </if>
- <if test="playCount != null">
- play_count,
- </if>
- <if test="likeCount != null">
- like_count,
- </if>
- <if test="shareCount != null">
- share_count,
- </if>
- <if test="publishTime != null">
- publish_time,
- </if>
- <if test="crawlerTime != null">
- crawler_time,
- </if>
- <if test="duration != null">
- duration,
- </if>
- <if test="downloadStatus != null">
- download_status,
- </if>
- <if test="videoOssPath != null">
- video_oss_path,
- </if>
- <if test="coverOssPath != null">
- cover_oss_path,
- </if>
- <if test="userId != null">
- user_id,
- </if>
- <if test="traceId != null">
- trace_id,
- </if>
- <if test="score != null">
- score,
- </if>
- <if test="isIllegal != null">
- is_illegal,
- </if>
- <if test="status != null">
- `status`,
- </if>
- <if test="auditAccount != null">
- audit_account,
- </if>
- <if test="auditTimestamp != null">
- audit_timestamp,
- </if>
- <if test="scoreVersion != null">
- score_version,
- </if>
- <if test="videoUrl != null">
- video_url,
- </if>
- <if test="coverUrl != null">
- cover_url,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="id != null">
- #{id,jdbcType=INTEGER},
- </if>
- <if test="contentId != null">
- #{contentId,jdbcType=VARCHAR},
- </if>
- <if test="outVideoId != null">
- #{outVideoId,jdbcType=VARCHAR},
- </if>
- <if test="platform != null">
- #{platform,jdbcType=VARCHAR},
- </if>
- <if test="videoTitle != null">
- #{videoTitle,jdbcType=VARCHAR},
- </if>
- <if test="playCount != null">
- #{playCount,jdbcType=INTEGER},
- </if>
- <if test="likeCount != null">
- #{likeCount,jdbcType=INTEGER},
- </if>
- <if test="shareCount != null">
- #{shareCount,jdbcType=INTEGER},
- </if>
- <if test="publishTime != null">
- #{publishTime,jdbcType=TIMESTAMP},
- </if>
- <if test="crawlerTime != null">
- #{crawlerTime,jdbcType=TIMESTAMP},
- </if>
- <if test="duration != null">
- #{duration,jdbcType=INTEGER},
- </if>
- <if test="downloadStatus != null">
- #{downloadStatus,jdbcType=INTEGER},
- </if>
- <if test="videoOssPath != null">
- #{videoOssPath,jdbcType=VARCHAR},
- </if>
- <if test="coverOssPath != null">
- #{coverOssPath,jdbcType=VARCHAR},
- </if>
- <if test="userId != null">
- #{userId,jdbcType=VARCHAR},
- </if>
- <if test="traceId != null">
- #{traceId,jdbcType=VARCHAR},
- </if>
- <if test="score != null">
- #{score,jdbcType=REAL},
- </if>
- <if test="isIllegal != null">
- #{isIllegal,jdbcType=INTEGER},
- </if>
- <if test="status != null">
- #{status,jdbcType=INTEGER},
- </if>
- <if test="auditAccount != null">
- #{auditAccount,jdbcType=VARCHAR},
- </if>
- <if test="auditTimestamp != null">
- #{auditTimestamp,jdbcType=BIGINT},
- </if>
- <if test="scoreVersion != null">
- #{scoreVersion,jdbcType=TINYINT},
- </if>
- <if test="videoUrl != null">
- #{videoUrl,jdbcType=LONGVARCHAR},
- </if>
- <if test="coverUrl != null">
- #{coverUrl,jdbcType=LONGVARCHAR},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideoExample" resultType="java.lang.Long">
- select count(*) from long_articles_crawler_videos
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map">
- update long_articles_crawler_videos
- <set>
- <if test="record.id != null">
- id = #{record.id,jdbcType=INTEGER},
- </if>
- <if test="record.contentId != null">
- content_id = #{record.contentId,jdbcType=VARCHAR},
- </if>
- <if test="record.outVideoId != null">
- out_video_id = #{record.outVideoId,jdbcType=VARCHAR},
- </if>
- <if test="record.platform != null">
- platform = #{record.platform,jdbcType=VARCHAR},
- </if>
- <if test="record.videoTitle != null">
- video_title = #{record.videoTitle,jdbcType=VARCHAR},
- </if>
- <if test="record.playCount != null">
- play_count = #{record.playCount,jdbcType=INTEGER},
- </if>
- <if test="record.likeCount != null">
- like_count = #{record.likeCount,jdbcType=INTEGER},
- </if>
- <if test="record.shareCount != null">
- share_count = #{record.shareCount,jdbcType=INTEGER},
- </if>
- <if test="record.publishTime != null">
- publish_time = #{record.publishTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.crawlerTime != null">
- crawler_time = #{record.crawlerTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.duration != null">
- duration = #{record.duration,jdbcType=INTEGER},
- </if>
- <if test="record.downloadStatus != null">
- download_status = #{record.downloadStatus,jdbcType=INTEGER},
- </if>
- <if test="record.videoOssPath != null">
- video_oss_path = #{record.videoOssPath,jdbcType=VARCHAR},
- </if>
- <if test="record.coverOssPath != null">
- cover_oss_path = #{record.coverOssPath,jdbcType=VARCHAR},
- </if>
- <if test="record.userId != null">
- user_id = #{record.userId,jdbcType=VARCHAR},
- </if>
- <if test="record.traceId != null">
- trace_id = #{record.traceId,jdbcType=VARCHAR},
- </if>
- <if test="record.score != null">
- score = #{record.score,jdbcType=REAL},
- </if>
- <if test="record.isIllegal != null">
- is_illegal = #{record.isIllegal,jdbcType=INTEGER},
- </if>
- <if test="record.status != null">
- `status` = #{record.status,jdbcType=INTEGER},
- </if>
- <if test="record.auditAccount != null">
- audit_account = #{record.auditAccount,jdbcType=VARCHAR},
- </if>
- <if test="record.auditTimestamp != null">
- audit_timestamp = #{record.auditTimestamp,jdbcType=BIGINT},
- </if>
- <if test="record.scoreVersion != null">
- score_version = #{record.scoreVersion,jdbcType=TINYINT},
- </if>
- <if test="record.videoUrl != null">
- video_url = #{record.videoUrl,jdbcType=LONGVARCHAR},
- </if>
- <if test="record.coverUrl != null">
- cover_url = #{record.coverUrl,jdbcType=LONGVARCHAR},
- </if>
- </set>
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExampleWithBLOBs" parameterType="map">
- update long_articles_crawler_videos
- set id = #{record.id,jdbcType=INTEGER},
- content_id = #{record.contentId,jdbcType=VARCHAR},
- out_video_id = #{record.outVideoId,jdbcType=VARCHAR},
- platform = #{record.platform,jdbcType=VARCHAR},
- video_title = #{record.videoTitle,jdbcType=VARCHAR},
- play_count = #{record.playCount,jdbcType=INTEGER},
- like_count = #{record.likeCount,jdbcType=INTEGER},
- share_count = #{record.shareCount,jdbcType=INTEGER},
- publish_time = #{record.publishTime,jdbcType=TIMESTAMP},
- crawler_time = #{record.crawlerTime,jdbcType=TIMESTAMP},
- duration = #{record.duration,jdbcType=INTEGER},
- download_status = #{record.downloadStatus,jdbcType=INTEGER},
- video_oss_path = #{record.videoOssPath,jdbcType=VARCHAR},
- cover_oss_path = #{record.coverOssPath,jdbcType=VARCHAR},
- user_id = #{record.userId,jdbcType=VARCHAR},
- trace_id = #{record.traceId,jdbcType=VARCHAR},
- score = #{record.score,jdbcType=REAL},
- is_illegal = #{record.isIllegal,jdbcType=INTEGER},
- `status` = #{record.status,jdbcType=INTEGER},
- audit_account = #{record.auditAccount,jdbcType=VARCHAR},
- audit_timestamp = #{record.auditTimestamp,jdbcType=BIGINT},
- score_version = #{record.scoreVersion,jdbcType=TINYINT},
- video_url = #{record.videoUrl,jdbcType=LONGVARCHAR},
- cover_url = #{record.coverUrl,jdbcType=LONGVARCHAR}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExample" parameterType="map">
- update long_articles_crawler_videos
- set id = #{record.id,jdbcType=INTEGER},
- content_id = #{record.contentId,jdbcType=VARCHAR},
- out_video_id = #{record.outVideoId,jdbcType=VARCHAR},
- platform = #{record.platform,jdbcType=VARCHAR},
- video_title = #{record.videoTitle,jdbcType=VARCHAR},
- play_count = #{record.playCount,jdbcType=INTEGER},
- like_count = #{record.likeCount,jdbcType=INTEGER},
- share_count = #{record.shareCount,jdbcType=INTEGER},
- publish_time = #{record.publishTime,jdbcType=TIMESTAMP},
- crawler_time = #{record.crawlerTime,jdbcType=TIMESTAMP},
- duration = #{record.duration,jdbcType=INTEGER},
- download_status = #{record.downloadStatus,jdbcType=INTEGER},
- video_oss_path = #{record.videoOssPath,jdbcType=VARCHAR},
- cover_oss_path = #{record.coverOssPath,jdbcType=VARCHAR},
- user_id = #{record.userId,jdbcType=VARCHAR},
- trace_id = #{record.traceId,jdbcType=VARCHAR},
- score = #{record.score,jdbcType=REAL},
- is_illegal = #{record.isIllegal,jdbcType=INTEGER},
- `status` = #{record.status,jdbcType=INTEGER},
- audit_account = #{record.auditAccount,jdbcType=VARCHAR},
- audit_timestamp = #{record.auditTimestamp,jdbcType=BIGINT},
- score_version = #{record.scoreVersion,jdbcType=TINYINT}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideo">
- update long_articles_crawler_videos
- <set>
- <if test="contentId != null">
- content_id = #{contentId,jdbcType=VARCHAR},
- </if>
- <if test="outVideoId != null">
- out_video_id = #{outVideoId,jdbcType=VARCHAR},
- </if>
- <if test="platform != null">
- platform = #{platform,jdbcType=VARCHAR},
- </if>
- <if test="videoTitle != null">
- video_title = #{videoTitle,jdbcType=VARCHAR},
- </if>
- <if test="playCount != null">
- play_count = #{playCount,jdbcType=INTEGER},
- </if>
- <if test="likeCount != null">
- like_count = #{likeCount,jdbcType=INTEGER},
- </if>
- <if test="shareCount != null">
- share_count = #{shareCount,jdbcType=INTEGER},
- </if>
- <if test="publishTime != null">
- publish_time = #{publishTime,jdbcType=TIMESTAMP},
- </if>
- <if test="crawlerTime != null">
- crawler_time = #{crawlerTime,jdbcType=TIMESTAMP},
- </if>
- <if test="duration != null">
- duration = #{duration,jdbcType=INTEGER},
- </if>
- <if test="downloadStatus != null">
- download_status = #{downloadStatus,jdbcType=INTEGER},
- </if>
- <if test="videoOssPath != null">
- video_oss_path = #{videoOssPath,jdbcType=VARCHAR},
- </if>
- <if test="coverOssPath != null">
- cover_oss_path = #{coverOssPath,jdbcType=VARCHAR},
- </if>
- <if test="userId != null">
- user_id = #{userId,jdbcType=VARCHAR},
- </if>
- <if test="traceId != null">
- trace_id = #{traceId,jdbcType=VARCHAR},
- </if>
- <if test="score != null">
- score = #{score,jdbcType=REAL},
- </if>
- <if test="isIllegal != null">
- is_illegal = #{isIllegal,jdbcType=INTEGER},
- </if>
- <if test="status != null">
- `status` = #{status,jdbcType=INTEGER},
- </if>
- <if test="auditAccount != null">
- audit_account = #{auditAccount,jdbcType=VARCHAR},
- </if>
- <if test="auditTimestamp != null">
- audit_timestamp = #{auditTimestamp,jdbcType=BIGINT},
- </if>
- <if test="scoreVersion != null">
- score_version = #{scoreVersion,jdbcType=TINYINT},
- </if>
- <if test="videoUrl != null">
- video_url = #{videoUrl,jdbcType=LONGVARCHAR},
- </if>
- <if test="coverUrl != null">
- cover_url = #{coverUrl,jdbcType=LONGVARCHAR},
- </if>
- </set>
- where id = #{id,jdbcType=INTEGER}
- </update>
- <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideo">
- update long_articles_crawler_videos
- set content_id = #{contentId,jdbcType=VARCHAR},
- out_video_id = #{outVideoId,jdbcType=VARCHAR},
- platform = #{platform,jdbcType=VARCHAR},
- video_title = #{videoTitle,jdbcType=VARCHAR},
- play_count = #{playCount,jdbcType=INTEGER},
- like_count = #{likeCount,jdbcType=INTEGER},
- share_count = #{shareCount,jdbcType=INTEGER},
- publish_time = #{publishTime,jdbcType=TIMESTAMP},
- crawler_time = #{crawlerTime,jdbcType=TIMESTAMP},
- duration = #{duration,jdbcType=INTEGER},
- download_status = #{downloadStatus,jdbcType=INTEGER},
- video_oss_path = #{videoOssPath,jdbcType=VARCHAR},
- cover_oss_path = #{coverOssPath,jdbcType=VARCHAR},
- user_id = #{userId,jdbcType=VARCHAR},
- trace_id = #{traceId,jdbcType=VARCHAR},
- score = #{score,jdbcType=REAL},
- is_illegal = #{isIllegal,jdbcType=INTEGER},
- `status` = #{status,jdbcType=INTEGER},
- audit_account = #{auditAccount,jdbcType=VARCHAR},
- audit_timestamp = #{auditTimestamp,jdbcType=BIGINT},
- score_version = #{scoreVersion,jdbcType=TINYINT},
- video_url = #{videoUrl,jdbcType=LONGVARCHAR},
- cover_url = #{coverUrl,jdbcType=LONGVARCHAR}
- where id = #{id,jdbcType=INTEGER}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.CrawlerVideo">
- update long_articles_crawler_videos
- set content_id = #{contentId,jdbcType=VARCHAR},
- out_video_id = #{outVideoId,jdbcType=VARCHAR},
- platform = #{platform,jdbcType=VARCHAR},
- video_title = #{videoTitle,jdbcType=VARCHAR},
- play_count = #{playCount,jdbcType=INTEGER},
- like_count = #{likeCount,jdbcType=INTEGER},
- share_count = #{shareCount,jdbcType=INTEGER},
- publish_time = #{publishTime,jdbcType=TIMESTAMP},
- crawler_time = #{crawlerTime,jdbcType=TIMESTAMP},
- duration = #{duration,jdbcType=INTEGER},
- download_status = #{downloadStatus,jdbcType=INTEGER},
- video_oss_path = #{videoOssPath,jdbcType=VARCHAR},
- cover_oss_path = #{coverOssPath,jdbcType=VARCHAR},
- user_id = #{userId,jdbcType=VARCHAR},
- trace_id = #{traceId,jdbcType=VARCHAR},
- score = #{score,jdbcType=REAL},
- is_illegal = #{isIllegal,jdbcType=INTEGER},
- `status` = #{status,jdbcType=INTEGER},
- audit_account = #{auditAccount,jdbcType=VARCHAR},
- audit_timestamp = #{auditTimestamp,jdbcType=BIGINT},
- score_version = #{scoreVersion,jdbcType=TINYINT}
- where id = #{id,jdbcType=INTEGER}
- </update>
- </mapper>
|