excepInfo: select p.end_time,go.name as goods_name,go.img as img,p.name as name,p.award_value as award_value,go.id as goods_id,p.id as p_id,start_time,end_time,sell_price,market_price,max_num,sold_num,go.seller_id from iwebshop_promotion as p left join iwebshop_goods  as go on p.condition = go.id where p.type = 1 and p.is_close = 0 and p.is_show = 1 and go.is_del = 0 AND go.id is not null and category_id=   order by p.sort asc limit 5000
 -- 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 p.sort asc limit 5000' at line 1
excepFile: /data/html/wwwroot/releases/20181019v2/lib/db/db_class.php
excepLine: 119
excepCode: 1000
excepTime: 2018-11-14 17:00:02
#0 /data/html/wwwroot/releases/20181019v2/lib/core/query_class.php(161): IDB->query(select p.end_time,go.name as goods_name,go.img as img,p.name as name,p.award_value as award_value,go.id as goods_id,p.id as p_id,start_time,end_time,sell_price,market_price,max_num,sold_num,go.seller_id from iwebshop_promotion as p left join iwebshop_goods  as go on p.condition = go.id where p.type = 1 and p.is_close = 0 and p.is_show = 1 and go.is_del = 0 AND go.id is not null and category_id=   order by p.sort asc limit 5000)
#1 /data/html/wwwroot/releases/20181106v2/controllers/site.php(84): IQuery->find()
#2 : Site->index_flash_all()
#3 /data/html/wwwroot/releases/20181019v2/lib/web/action/inline_action.php(24): call_user_func()
#4 /data/html/wwwroot/releases/20181019v2/lib/web/controller/controller_class.php(126): IInlineAction->run()
#5 /data/html/wwwroot/releases/20181019v2/lib/core/webapplication_class.php(76): IController->run(index_flash_all)
#6 /data/html/wwwroot/releases/20181019v2/lib/core/application_class.php(94): IWebApplication->execRequest()
#7 /data/html/wwwroot/releases/20181019v2/index.php(6): IApplication->run()