Explorar o código

修改 updateSetCover 的 where 查询字段

reghao %!s(int64=3) %!d(string=hai) anos
pai
achega
9f6d1bbc58
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/resources/mapper/VideoFileMapper.xml

+ 1 - 1
src/main/resources/mapper/VideoFileMapper.xml

@@ -11,7 +11,7 @@
 
     <update id="updateSetCover">
         update video_file set update_time=now(),cover_url=#{coverUrl},cover_url_original=#{coverUrlOriginal}
-        where file_id=#{fileId}
+        where video_file_id=#{videoFileId}
     </update>
 
     <select id="findAll" resultType="cn.reghao.dfs.store.model.po.VideoFile">