Procházet zdrojové kódy

新增腾讯视频回调时间表

wangliang před 3 roky
rodič
revize
3e01ebd90c

+ 18 - 0
themis-admin/src/main/java/com/qmth/themis/admin/api/TOeTencentVideoLogController.java

@@ -0,0 +1,18 @@
+package com.qmth.themis.admin.api;
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 腾讯视频日志 前端控制器
+ * </p>
+ *
+ * @author wangliang
+ * @since 2022-06-23
+ */
+@RestController
+@RequestMapping("/t-oe-tencent-video-log")
+public class TOeTencentVideoLogController {
+
+}

+ 16 - 0
themis-business/src/main/java/com/qmth/themis/business/dao/TOeTencentVideoLogMapper.java

@@ -0,0 +1,16 @@
+package com.qmth.themis.business.dao;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.qmth.themis.business.entity.TOeTencentVideoLog;
+
+/**
+ * <p>
+ * 腾讯视频日志 Mapper 接口
+ * </p>
+ *
+ * @author wangliang
+ * @since 2022-06-23
+ */
+public interface TOeTencentVideoLogMapper extends BaseMapper<TOeTencentVideoLog> {
+
+}

+ 125 - 0
themis-business/src/main/java/com/qmth/themis/business/entity/TOeTencentVideoLog.java

@@ -0,0 +1,125 @@
+package com.qmth.themis.business.entity;
+
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+/**
+ * <p>
+ * 腾讯视频日志
+ * </p>
+ *
+ * @author wangliang
+ * @since 2022-06-23
+ */
+@ApiModel(value = "TOeTencentVideoLog对象", description = "腾讯视频日志")
+public class TOeTencentVideoLog implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @ApiModelProperty(value = "主键")
+    @JsonSerialize(using = ToStringSerializer.class)
+    private Long id;
+
+    @ApiModelProperty(value = "考生id")
+    @JsonSerialize(using = ToStringSerializer.class)
+    private Long examStudentId;
+
+    @ApiModelProperty(value = "考试id")
+    @JsonSerialize(using = ToStringSerializer.class)
+    private Long examRecordId;
+
+    @ApiModelProperty(value = "视频id")
+    private String vid;
+
+    @ApiModelProperty(value = "视频用时")
+    private BigDecimal duration;
+
+    @ApiModelProperty(value = "开启转录的视频源")
+    private String monitorRecord;
+
+    @ApiModelProperty(value = "转录视频地址")
+    private String tencentVideoUrl;
+
+    @ApiModelProperty(value = "开始时间")
+    private Long createTime;
+
+    @ApiModelProperty(value = "结束时间")
+    private Long endTime;
+
+    public BigDecimal getDuration() {
+        return duration;
+    }
+
+    public void setDuration(BigDecimal duration) {
+        this.duration = duration;
+    }
+
+    public String getVid() {
+        return vid;
+    }
+
+    public void setVid(String vid) {
+        this.vid = vid;
+    }
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public Long getExamStudentId() {
+        return examStudentId;
+    }
+
+    public void setExamStudentId(Long examStudentId) {
+        this.examStudentId = examStudentId;
+    }
+
+    public Long getExamRecordId() {
+        return examRecordId;
+    }
+
+    public void setExamRecordId(Long examRecordId) {
+        this.examRecordId = examRecordId;
+    }
+
+    public String getMonitorRecord() {
+        return monitorRecord;
+    }
+
+    public void setMonitorRecord(String monitorRecord) {
+        this.monitorRecord = monitorRecord;
+    }
+
+    public String getTencentVideoUrl() {
+        return tencentVideoUrl;
+    }
+
+    public void setTencentVideoUrl(String tencentVideoUrl) {
+        this.tencentVideoUrl = tencentVideoUrl;
+    }
+
+    public Long getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Long createTime) {
+        this.createTime = createTime;
+    }
+
+    public Long getEndTime() {
+        return endTime;
+    }
+
+    public void setEndTime(Long endTime) {
+        this.endTime = endTime;
+    }
+}

+ 16 - 0
themis-business/src/main/java/com/qmth/themis/business/service/TOeTencentVideoLogService.java

@@ -0,0 +1,16 @@
+package com.qmth.themis.business.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.qmth.themis.business.entity.TOeTencentVideoLog;
+
+/**
+ * <p>
+ * 腾讯视频日志 服务类
+ * </p>
+ *
+ * @author wangliang
+ * @since 2022-06-23
+ */
+public interface TOeTencentVideoLogService extends IService<TOeTencentVideoLog> {
+
+}

+ 20 - 0
themis-business/src/main/java/com/qmth/themis/business/service/impl/TOeTencentVideoLogServiceImpl.java

@@ -0,0 +1,20 @@
+package com.qmth.themis.business.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.qmth.themis.business.dao.TOeTencentVideoLogMapper;
+import com.qmth.themis.business.entity.TOeTencentVideoLog;
+import com.qmth.themis.business.service.TOeTencentVideoLogService;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 腾讯视频日志 服务实现类
+ * </p>
+ *
+ * @author wangliang
+ * @since 2022-06-23
+ */
+@Service
+public class TOeTencentVideoLogServiceImpl extends ServiceImpl<TOeTencentVideoLogMapper, TOeTencentVideoLog> implements TOeTencentVideoLogService {
+
+}

+ 5 - 0
themis-business/src/main/resources/mapper/TOeTencentVideoLogMapper.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.qmth.themis.business.dao.TOeTencentVideoLogMapper">
+
+</mapper>