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 ') order by newstime desc' at line 1
select id,classid,ttid,isqf,titleurl,stb,fstb,restb,title,filetype,jigou,filepages,filesize,industryname,typetitle,stockname,stockcode,rating,downurl,yuanid,newstime,titlepic,smalltext from ***_ecms_news where id in () order by newstime desc