Commit 1ccf4c3d4ba64bdf71868d3dfc9c25847663252b

Authored by liwei2917
1 parent 1765fb08

数美审核表增加时长字段

src/main/java/com/cnlive/shenhe/entity/ShyVideofilter.java
... ... @@ -33,6 +33,11 @@ public class ShyVideofilter {
33 33 * 详情消息
34 34 */
35 35 private String desc_msg;
  36 +
  37 + /**
  38 + * 视频时长,单位s
  39 + */
  40 + private Integer duration;
36 41  
37 42 private Date created_at;
38 43  
... ... @@ -147,5 +152,13 @@ public class ShyVideofilter {
147 152 public void setCreated_at(Date created_at) {
148 153 this.created_at = created_at;
149 154 }
  155 +
  156 + public Integer getDuration() {
  157 + return duration;
  158 + }
  159 +
  160 + public void setDuration(Integer duration) {
  161 + this.duration = duration;
  162 + }
150 163  
151 164 }
152 165 \ No newline at end of file
... ...
src/main/java/com/cnlive/shenhe/job/VideosJob.java
... ... @@ -53,8 +53,9 @@ public class VideosJob {
53 53 logger.info("发送数美检测的videos_id:"+video.getId());
54 54 //数美图片过滤
55 55 videosService.videoFilter(video.getId(),CommonConst.DYNAMIC_USER);
  56 + }else{
  57 + continue;
56 58 }
57   -// continue;
58 59 }
59 60 logger.info("白名单自动通过的videos_id:"+video.getId());
60 61 video.setUpdater("白名单");
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
... ... @@ -331,6 +331,7 @@ public class VideosServiceImpl {
331 331 videofilter.setResult_type(type);
332 332 videofilter.setToken_id(shyVideos.getTask_id());
333 333 videofilter.setVideos_id(cid);
  334 + videofilter.setDuration(shyVideos.getDuration());
334 335 videofilter.setCreated_at(CommonUtils.getCurrentTime());
335 336 videofilterServiceImpl.impotVideofilter(videofilter);
336 337  
... ...