Authored by mali

鉴定视频优化

... ... @@ -21,5 +21,5 @@ public interface QiniuLiveRecordMapper {
int insertInitRecord(QiniuLiveRecord record);
int updateVideoUrl(@Param("id")Integer id, @Param("vedioUrl")String vedioUrl);
int updateVideoUrl(@Param("id")Integer id, @Param("vedioUrl")String vedioUrl, @Param("updateTime")Integer updateTime);
}
\ No newline at end of file
... ...
... ... @@ -98,7 +98,7 @@
<update id="updateVideoUrl">
update qiniu_live_record
set video_url = #{vedioUrl,jdbcType=VARCHAR}
set video_url = #{vedioUrl,jdbcType=VARCHAR}, update_time =#{updateTime, jdbcType=INTEGER}
where id = #{id, jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
... ...
... ... @@ -264,6 +264,6 @@ public class UfoLiveService {
public int updateVideoUrl(Integer id, String vedioUrl) {
return qiniuLiveRecordMapper.updateVideoUrl(id, vedioUrl);
return qiniuLiveRecordMapper.updateVideoUrl(id, vedioUrl, DateUtil.getCurrentTimeSeconds());
}
}
... ...