MySQL Error
Message: MySQL Query Error
SQL: select count(*) as num from web_shop_config where areaid=1428 and userid in (1343841,1356692,1356999,1443549,201231,496539,650334,1115730,1116299,1117067,1117068,1117069) and state=1 and leixing= order by status desc,lasttime desc LIMIT 1
Error: 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 status desc,lasttime desc LIMIT 1' at line 1
Errno.: 1064