Browse Source

头条视频报表_修改

hcst_sunzhen 5 years ago
parent
commit
727868e3b5

+ 8 - 8
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/report/mapper/xml/ByteDanceVideoReportDailyMapper.xml

@@ -475,16 +475,16 @@
 
 
         <choose>   <!-- 编导、剪辑、拍摄、平面只能查看自己本职工作制作的视频,设计组长和管理员能查看所有的-->
         <choose>   <!-- 编导、剪辑、拍摄、平面只能查看自己本职工作制作的视频,设计组长和管理员能查看所有的-->
             <when test="role == 'plan'">
             <when test="role == 'plan'">
-                and f.plan = #{userId}
+                and f.plan_id = #{userId}
             </when>
             </when>
             <when test="role == 'clip'">
             <when test="role == 'clip'">
-                and f.clip = #{userId}
+                and f.clip_id = #{userId}
             </when>
             </when>
             <when test="role == 'shot' ">
             <when test="role == 'shot' ">
-                and f.shot = #{userId}
+                and f.shot_id = #{userId}
             </when>
             </when>
             <when test="role == 'plane'  or role == 'planeLeader' ">
             <when test="role == 'plane'  or role == 'planeLeader' ">
-                and f.plan = #{userId}
+                and f.plane_id = #{userId}
             </when>
             </when>
             <when test="role == 'admin' or role == 'designTeamLeader'">
             <when test="role == 'admin' or role == 'designTeamLeader'">
                 and 1=1
                 and 1=1
@@ -711,16 +711,16 @@
 
 
         <choose>   <!-- 编导、剪辑、拍摄、平面只能查看自己本职工作制作的视频,设计组长和管理员能查看所有的-->
         <choose>   <!-- 编导、剪辑、拍摄、平面只能查看自己本职工作制作的视频,设计组长和管理员能查看所有的-->
             <when test="role == 'plan'">
             <when test="role == 'plan'">
-                and f.plan = #{userId}
+                and f.plan_id = #{userId}
             </when>
             </when>
             <when test="role == 'clip'">
             <when test="role == 'clip'">
-                and f.clip = #{userId}
+                and f.clip_id = #{userId}
             </when>
             </when>
             <when test="role == 'shot' ">
             <when test="role == 'shot' ">
-                and f.shot = #{userId}
+                and f.shot_id = #{userId}
             </when>
             </when>
             <when test="role == 'plane'  or role == 'planeLeader' ">
             <when test="role == 'plane'  or role == 'planeLeader' ">
-                and f.plan = #{userId}
+                and f.plane_id = #{userId}
             </when>
             </when>
             <when test="role == 'admin' or role == 'designTeamLeader'">
             <when test="role == 'admin' or role == 'designTeamLeader'">
                 and 1=1
                 and 1=1