소스 검색

修改 updateSetCover 的 where 查询字段

reghao 3 년 전
부모
커밋
9f6d1bbc58
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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">