|
@@ -2,9 +2,9 @@ select *
|
|
|
from (SELECT DISTINCT t2.tagentsid,
|
|
|
t2.ftype,
|
|
|
t2.fagentname,
|
|
|
- t2.saleprodclass
|
|
|
+ isnull(t2.saleprodclass,'[]')as saleprodclass
|
|
|
FROM tenterprise_users AS t1
|
|
|
- LEFT JOIN tagents AS t2 ON t1.tagentsid = t2.tagentsid
|
|
|
+ inner JOIN tagents AS t2 ON t1.tagentsid = t2.tagentsid
|
|
|
WHERE t1.tenterprise_userid IN $tenterprise_userid$
|
|
|
AND t2.ftype != '¸öÈË'
|
|
|
) as t1
|