Database error: Invalid SQL: select * from document_23 where 1 and document_id in (2319) and rootid = '0' and check_flag = 6 and subclass_id<>642 order by dateorder desc limit -20,20You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20,20' at line 1 MySQL Error: ()