You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'up.filename!='' and up.belong_type='avatar' and a.is_delete = 0 and a.is_publish' at line 1