Showing
1 changed file
with
1 additions
and
1 deletions
@@ -264,7 +264,7 @@ public class UfoLiveService { | @@ -264,7 +264,7 @@ public class UfoLiveService { | ||
264 | 264 | ||
265 | 265 | ||
266 | public int updateVideoUrl(Integer id, String vedioUrl) { | 266 | public int updateVideoUrl(Integer id, String vedioUrl) { |
267 | - return qiniuLiveRecordMapper.updateVideoUrl(id, vedioUrl, DateUtil.getCurrentTimeSeconds()); | 267 | + return qiniuLiveRecordMapper.updateVideoUrl(id, null == vedioUrl ? "" : vedioUrl, DateUtil.getCurrentTimeSeconds()); |
268 | } | 268 | } |
269 | 269 | ||
270 | public List<QiniuLiveRecord> queryVideoInfo(Integer startTime, Integer endTime) { | 270 | public List<QiniuLiveRecord> queryVideoInfo(Integer startTime, Integer endTime) { |
-
Please register or login to post a comment