@@ -279,6 +279,7 @@
sop_user_logs ul LEFT JOIN qw_sop qs on ul.sop_id=qs.id
WHERE
ul.`status` = '1'
+ and qs.is_rating=1
and qs.type=2
and qs.send_type in (2,11)
and qs.`status` in (2,3)
@@ -295,7 +296,6 @@
- and qs.is_rating=1