|
@@ -131,8 +131,9 @@
|
|
|
</if>
|
|
|
|
|
|
<if test='dimension=="designer" and designerId!=null'>
|
|
|
- and user_id=#{designerId}
|
|
|
+ and (clip_id=#{designerId} or shot_id=#{designerId} or plan_id=#{designerId})
|
|
|
</if>
|
|
|
+
|
|
|
AND stat_date >= #{startDate}
|
|
|
AND stat_date <= #{endDate}
|
|
|
AND company_id=#{companyId}
|