yumeng 2 anni fa
parent
commit
522f316840

+ 1 - 1
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/controller/MaterialDataController.java

@@ -207,7 +207,7 @@ public class MaterialDataController {
 
 
 
-    //分成员数据
+    //视频数据
     @GetMapping("/getVideoData")
     public Result<Object> getVideoData(Long mediaId, String userId, String startDate, String endDate, String role, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) {
         // role  前端传 只有角色为 剪辑 拍摄 编导才传此参数  默认是 剪辑:clip plan shot

+ 6 - 6
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/mapper/xml/MaterialDataMapper.xml

@@ -720,7 +720,7 @@
         group by project_id) t2 on t1.projectId = t2.projectId
         left join
         (select project_id as 'projectId',
-        ifnull(count(1), 0) as 'liveVideoCount'
+        ifnull(count(1), 0) as 'clipVideoCount'
         from application.app_bytedance_material_info
         where 1 = 1
         <if test="companyId != null and companyId != ''">
@@ -895,7 +895,7 @@
         group by project_id) t2 on t1.projectId = t2.projectId
         left join
         (select project_id as 'projectId',
-        ifnull(count(1), 0) as 'liveVideoCount'
+        ifnull(count(1), 0) as 'clipVideoCount'
         from application.app_kuaishou_material_info
         where 1 = 1
         <if test="companyId != null and companyId != ''">
@@ -1058,7 +1058,7 @@
         group by leader_id) t2 on t1.leaderId = t2.leaderId
         left join
         (select leader_id as 'leaderId',
-        ifnull(count(1), 0) as 'liveVideoCount'
+        ifnull(count(1), 0) as 'clipVideoCount'
         from application.app_bytedance_material_info
         where 1 = 1
         <if test="companyId != null and companyId != ''">
@@ -1161,7 +1161,7 @@
         group by leader_id) t2 on t1.leaderId = t2.leaderId
         left join
         (select leader_id as 'leaderId',
-        ifnull(count(1), 0) as 'liveVideoCount'
+        ifnull(count(1), 0) as 'clipVideoCount'
         from application.app_kuaishou_material_info
         where 1 = 1
         <if test="companyId != null and companyId != ''">
@@ -1318,7 +1318,7 @@
         ) t2 on t1.userId = t2.userId
         left join
         (select
-        ifnull(count(1), 0) as 'liveVideoCount',
+        ifnull(count(1), 0) as 'clipVideoCount',
         <if test="role == 'clip'">
             clip_id as 'userId',
             clip_name as 'userName'
@@ -1638,7 +1638,7 @@
         ) t2 on t1.userId = t2.userId
         left join
         (select
-        ifnull(count(1), 0) as 'liveVideoCount',
+        ifnull(count(1), 0) as 'clipVideoCount',
         <if test="role == 'clip'">
             clip_id as 'userId',
             clip_name as 'userName'