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