tujidelv 3 년 전
부모
커밋
a6d01de89a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/top/lvzhiqiang/mapper/VideoInfoMapper.java

+ 1 - 1
src/main/java/top/lvzhiqiang/mapper/VideoInfoMapper.java

@@ -116,6 +116,6 @@ public interface VideoInfoMapper {
             "        where vi.delete_flag = 1 and vi.identification_code=#{code}")
     VideoInfo getVideoInfoDetail(String code);
 
-    @Update("update video_info set delete_flag = 2 where identification_code = #{identificationCode}")
+    @Update("update video_info set delete_flag = 2,modify_time = now() where identification_code = #{identificationCode}")
     void delByIdentificationCode(String identificationCode);
 }