| | |
| | | item.setContent(content); |
| | | item.setVideoUrl(null); |
| | | item.setVideoFileName(null); |
| | | item.setVideoDescription(null); |
| | | return; |
| | | } |
| | | |
| | |
| | | item.setContent(null); |
| | | item.setVideoUrl(videoUrl); |
| | | item.setVideoFileName(trimToNull(req.getVideoFileName())); |
| | | item.setVideoDescription(trimToNull(req.getVideoDescription())); |
| | | } |
| | | |
| | | private int validateContentType(Integer contentType) { |
| | |
| | | vo.setContent(item.getContent()); |
| | | vo.setVideoUrl(item.getVideoUrl()); |
| | | vo.setVideoFileName(item.getVideoFileName()); |
| | | vo.setVideoDescription(item.getVideoDescription()); |
| | | vo.setStatus(item.getStatus()); |
| | | vo.setIsHomeRecommend(item.getIsHomeRecommend()); |
| | | vo.setClickCount(defaultNumber(item.getClickCount())); |