xiaoyong931011
2021-12-22 90bd2c3aedab5bb2e115a3fbc31c5877d41134ce
src/main/java/cc/mrbird/febs/video/service/impl/VideoMasterInfoServiceImpl.java
@@ -30,6 +30,7 @@
import org.springframework.transaction.annotation.Transactional;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
@@ -242,6 +243,7 @@
                history.setVideoItemId(currentItem.getId());
                this.videoHistoryMapper.insert(history);
            } else {
                history.setUpdatedTime(new Date());
                history.setVideoItemId(currentItem.getId());
                this.videoHistoryMapper.updateById(history);
            }