123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290 |
- 15:11:51 [error]: 通用分页查询排序接口异常:数据库执行异常:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where id = 492' at line 1
- sql语句:select * from biz_trader order by id desc where id = 492
- ["42000",1064,"You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where id = 492' at line 1"]
- 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
- #1 {main}
- 数据库执行异常:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where id = 492' at line 1
- sql语句:select * from biz_trader order by id desc where id = 492
- ["42000",1064,"You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where id = 492' at line 1"]
- 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
- #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
- #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1255): pdo_fetchall()
- #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
- #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
- #5 {main}
- [上下文相关信息]:
- [WsAjaxPrj]=KLY
- [WsAjaxBiz]=Public
- [WsAjaxAction]=fetchPageData
- [USER]=nginxphp
- [HOME]=/home/nginxphp
- [HTTP_CONTENT_LENGTH]=457
- [HTTP_HOST]=api.kuailaiyou.top
- [HTTP_CONTENT_TYPE]=application/json
- [HTTP_CONNECTION]=keep-alive
- [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
- [HTTP_ACCEPT_LANGUAGE]=zh-CN
- [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
- [HTTP_ACCEPT]=*/*
- [HTTP_ORIGIN]=https://api.kuailaiyou.top
- [REDIRECT_STATUS]=200
- [SERVER_NAME]=api.kuailaiyou.top
- [SERVER_PORT]=443
- [SERVER_ADDR]=172.18.217.149
- [REMOTE_PORT]=16481
- [REMOTE_ADDR]=106.114.65.123
- [SERVER_SOFTWARE]=nginx/1.20.1
- [GATEWAY_INTERFACE]=CGI/1.1
- [HTTPS]=on
- [REQUEST_SCHEME]=https
- [SERVER_PROTOCOL]=HTTP/1.1
- [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
- [DOCUMENT_URI]=/ajaxEntryCenter.php
- [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
- [SCRIPT_NAME]=/ajaxEntryCenter.php
- [CONTENT_LENGTH]=457
- [CONTENT_TYPE]=application/json
- [REQUEST_METHOD]=POST
- [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
- [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
- [FCGI_ROLE]=RESPONDER
- [PHP_SELF]=/ajaxEntryCenter.php
- [REQUEST_TIME_FLOAT]=1655968311.2849
- [REQUEST_TIME]=1655968311
- 15:17:14 [error]: 通用分页查询排序接口异常:数据库执行异常:Unknown column 'brd.id' in 'field list'
- sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,bt.id as btid,bt.company_name,bt.catalog as bt_catalog,bt.certif_confirmed as bt_certif_confirmed ,bu.id as buid,bu.mobile bu_mobile ,concat(brd.id,'-',brd.begin_datetime,'-',brd.finish_datetime,'-',bt2.id,'-',bt2bu.id,'-',bt2bu.mobile,'-',bt2.true_name) as delegate_info ,(st_distance_sphere(point(CAST(btr.work_addr_lng AS decimal(11,8)),CAST(btr.work_addr_lat AS decimal(11,8))),point(CAST(:nowlng AS decimal(11,8)),CAST(:nowlat AS decimal(11,8))))) as distance FROM (SELECT *, CONCAT(FROM_UNIXTIME(begin_datetime,"%Y%m%d"), REPLACE(begin_hour,':','')) AS begin_time_new FROM biz_trader_recruit ) btr left join biz_trader bt on bt.id=btr.biz_traderid left join base_user bu on bu.id=bt.base_userid left join biz_worker_trace wktr on wktr.biz_workerid=0 and wktr.biz_catalog=0 and wktr.biz_id=btr.id where 1=1 and btr.`deleted`=0 and 1=1 and ( urgent_level=1 ) and (btr.work_addr like concat('%',:qy_workCity,'%') ) and (select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`>=2 or btdw.`status`=-1 or btdw.`status`=-3 ) ) <btr.need_total and ((btr.settle_catalog=0 and btr.begin_time_new >= :query_nowdate_new_ma) or (btr.settle_catalog=1)) order by btr.istop desc,btr.id desc limit 0,1000
- ["42S22",1054,"Unknown column 'brd.id' in 'field list'"]
- 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
- #1 {main}
- 数据库执行异常:Unknown column 'brd.id' in 'field list'
- sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,bt.id as btid,bt.company_name,bt.catalog as bt_catalog,bt.certif_confirmed as bt_certif_confirmed ,bu.id as buid,bu.mobile bu_mobile ,concat(brd.id,'-',brd.begin_datetime,'-',brd.finish_datetime,'-',bt2.id,'-',bt2bu.id,'-',bt2bu.mobile,'-',bt2.true_name) as delegate_info ,(st_distance_sphere(point(CAST(btr.work_addr_lng AS decimal(11,8)),CAST(btr.work_addr_lat AS decimal(11,8))),point(CAST(:nowlng AS decimal(11,8)),CAST(:nowlat AS decimal(11,8))))) as distance FROM (SELECT *, CONCAT(FROM_UNIXTIME(begin_datetime,"%Y%m%d"), REPLACE(begin_hour,':','')) AS begin_time_new FROM biz_trader_recruit ) btr left join biz_trader bt on bt.id=btr.biz_traderid left join base_user bu on bu.id=bt.base_userid left join biz_worker_trace wktr on wktr.biz_workerid=0 and wktr.biz_catalog=0 and wktr.biz_id=btr.id where 1=1 and btr.`deleted`=0 and 1=1 and ( urgent_level=1 ) and (btr.work_addr like concat('%',:qy_workCity,'%') ) and (select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`>=2 or btdw.`status`=-1 or btdw.`status`=-3 ) ) <btr.need_total and ((btr.settle_catalog=0 and btr.begin_time_new >= :query_nowdate_new_ma) or (btr.settle_catalog=1)) order by btr.istop desc,btr.id desc limit 0,1000
- ["42S22",1054,"Unknown column 'brd.id' in 'field list'"]
- 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
- #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
- #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1492): pdo_fetchall()
- #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
- #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
- #5 {main}
- [上下文相关信息]:
- [WsAjaxPrj]=KLY
- [WsAjaxBiz]=Public
- [WsAjaxAction]=fetchPageData
- [USER]=nginxphp
- [HOME]=/home/nginxphp
- [HTTP_CONTENT_LENGTH]=457
- [HTTP_HOST]=api.kuailaiyou.top
- [HTTP_CONTENT_TYPE]=application/json
- [HTTP_CONNECTION]=keep-alive
- [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
- [HTTP_ACCEPT_LANGUAGE]=zh-CN
- [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
- [HTTP_ACCEPT]=*/*
- [HTTP_ORIGIN]=https://api.kuailaiyou.top
- [REDIRECT_STATUS]=200
- [SERVER_NAME]=api.kuailaiyou.top
- [SERVER_PORT]=443
- [SERVER_ADDR]=172.18.217.149
- [REMOTE_PORT]=17375
- [REMOTE_ADDR]=106.114.65.123
- [SERVER_SOFTWARE]=nginx/1.20.1
- [GATEWAY_INTERFACE]=CGI/1.1
- [HTTPS]=on
- [REQUEST_SCHEME]=https
- [SERVER_PROTOCOL]=HTTP/1.1
- [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
- [DOCUMENT_URI]=/ajaxEntryCenter.php
- [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
- [SCRIPT_NAME]=/ajaxEntryCenter.php
- [CONTENT_LENGTH]=457
- [CONTENT_TYPE]=application/json
- [REQUEST_METHOD]=POST
- [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
- [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
- [FCGI_ROLE]=RESPONDER
- [PHP_SELF]=/ajaxEntryCenter.php
- [REQUEST_TIME_FLOAT]=1655968634.0975
- [REQUEST_TIME]=1655968634
- 15:32:50 [error]: 通用分页查询排序接口异常:数据库执行异常:Unknown column 'brd.id' in 'field list'
- sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,bt.id as btid,bt.company_name,bt.catalog as bt_catalog,bt.certif_confirmed as bt_certif_confirmed ,bu.id as buid,bu.mobile bu_mobile ,concat(brd.id,'-',brd.begin_datetime,'-',brd.finish_datetime,'-',bt2.id,'-',bt2bu.id,'-',bt2bu.mobile,'-',bt2.true_name) as delegate_info ,(st_distance_sphere(point(CAST(btr.work_addr_lng AS decimal(11,8)),CAST(btr.work_addr_lat AS decimal(11,8))),point(CAST(:nowlng AS decimal(11,8)),CAST(:nowlat AS decimal(11,8))))) as distance FROM (SELECT *, CONCAT(FROM_UNIXTIME(begin_datetime,"%Y%m%d"), REPLACE(begin_hour,':','')) AS begin_time_new FROM biz_trader_recruit ) btr left join biz_trader bt on bt.id=btr.biz_traderid left join base_user bu on bu.id=bt.base_userid left join biz_worker_trace wktr on wktr.biz_workerid=0 and wktr.biz_catalog=0 and wktr.biz_id=btr.id where 1=1 and btr.`deleted`=0 and 1=1 and ( urgent_level=1 ) and (btr.work_addr like concat('%',:qy_workCity,'%') ) and (select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`>=2 or btdw.`status`=-1 or btdw.`status`=-3 ) ) <btr.need_total and ((btr.settle_catalog=0 and btr.begin_time_new >= :query_nowdate_new_ma) or (btr.settle_catalog=1)) order by btr.istop desc,btr.id desc limit 0,1000
- ["42S22",1054,"Unknown column 'brd.id' in 'field list'"]
- 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
- #1 {main}
- 数据库执行异常:Unknown column 'brd.id' in 'field list'
- sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,bt.id as btid,bt.company_name,bt.catalog as bt_catalog,bt.certif_confirmed as bt_certif_confirmed ,bu.id as buid,bu.mobile bu_mobile ,concat(brd.id,'-',brd.begin_datetime,'-',brd.finish_datetime,'-',bt2.id,'-',bt2bu.id,'-',bt2bu.mobile,'-',bt2.true_name) as delegate_info ,(st_distance_sphere(point(CAST(btr.work_addr_lng AS decimal(11,8)),CAST(btr.work_addr_lat AS decimal(11,8))),point(CAST(:nowlng AS decimal(11,8)),CAST(:nowlat AS decimal(11,8))))) as distance FROM (SELECT *, CONCAT(FROM_UNIXTIME(begin_datetime,"%Y%m%d"), REPLACE(begin_hour,':','')) AS begin_time_new FROM biz_trader_recruit ) btr left join biz_trader bt on bt.id=btr.biz_traderid left join base_user bu on bu.id=bt.base_userid left join biz_worker_trace wktr on wktr.biz_workerid=0 and wktr.biz_catalog=0 and wktr.biz_id=btr.id where 1=1 and btr.`deleted`=0 and 1=1 and ( urgent_level=1 ) and (btr.work_addr like concat('%',:qy_workCity,'%') ) and (select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`>=2 or btdw.`status`=-1 or btdw.`status`=-3 ) ) <btr.need_total and ((btr.settle_catalog=0 and btr.begin_time_new >= :query_nowdate_new_ma) or (btr.settle_catalog=1)) order by btr.istop desc,btr.id desc limit 0,1000
- ["42S22",1054,"Unknown column 'brd.id' in 'field list'"]
- 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
- #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
- #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1492): pdo_fetchall()
- #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
- #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
- #5 {main}
- [上下文相关信息]:
- [WsAjaxPrj]=KLY
- [WsAjaxBiz]=Public
- [WsAjaxAction]=fetchPageData
- [USER]=nginxphp
- [HOME]=/home/nginxphp
- [HTTP_CONTENT_LENGTH]=457
- [HTTP_HOST]=api.kuailaiyou.top
- [HTTP_CONTENT_TYPE]=application/json
- [HTTP_CONNECTION]=keep-alive
- [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
- [HTTP_ACCEPT_LANGUAGE]=zh-CN
- [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
- [HTTP_ACCEPT]=*/*
- [HTTP_ORIGIN]=https://api.kuailaiyou.top
- [REDIRECT_STATUS]=200
- [SERVER_NAME]=api.kuailaiyou.top
- [SERVER_PORT]=443
- [SERVER_ADDR]=172.18.217.149
- [REMOTE_PORT]=18779
- [REMOTE_ADDR]=106.114.65.123
- [SERVER_SOFTWARE]=nginx/1.20.1
- [GATEWAY_INTERFACE]=CGI/1.1
- [HTTPS]=on
- [REQUEST_SCHEME]=https
- [SERVER_PROTOCOL]=HTTP/1.1
- [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
- [DOCUMENT_URI]=/ajaxEntryCenter.php
- [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
- [SCRIPT_NAME]=/ajaxEntryCenter.php
- [CONTENT_LENGTH]=457
- [CONTENT_TYPE]=application/json
- [REQUEST_METHOD]=POST
- [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
- [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
- [FCGI_ROLE]=RESPONDER
- [PHP_SELF]=/ajaxEntryCenter.php
- [REQUEST_TIME_FLOAT]=1655969570.5988
- [REQUEST_TIME]=1655969570
- 15:37:15 [error]: 通用分页查询排序接口异常:数据库执行异常:
- sql语句: select btr.* ,(st_distance_sphere(point(CAST(btr.work_addr_lng AS decimal(11,8)),CAST(btr.work_addr_lat AS decimal(11,8))),point(CAST(:nowlng AS decimal(11,8)),CAST(:nowlat AS decimal(11,8))))) as distance FROM (SELECT *, CONCAT(FROM_UNIXTIME(begin_datetime,"%Y%m%d"), REPLACE(begin_hour,':','')) AS begin_time_new FROM biz_trader_recruit ) btr where 1=1 and btr.`deleted`=0 and 1=1 and ( urgent_level=1 ) and (btr.work_addr like concat('%',:qy_workCity,'%') ) and (select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`>=2 or btdw.`status`=-1 or btdw.`status`=-3 ) ) <btr.need_total and ((btr.settle_catalog=0 and btr.begin_time_new >= :query_nowdate_new_ma) or (btr.settle_catalog=1)) order by btr.istop desc,btr.id desc limit 0,1000
- ["HY093",null,null]
- 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
- #1 {main}
- 数据库执行异常:
- sql语句: select btr.* ,(st_distance_sphere(point(CAST(btr.work_addr_lng AS decimal(11,8)),CAST(btr.work_addr_lat AS decimal(11,8))),point(CAST(:nowlng AS decimal(11,8)),CAST(:nowlat AS decimal(11,8))))) as distance FROM (SELECT *, CONCAT(FROM_UNIXTIME(begin_datetime,"%Y%m%d"), REPLACE(begin_hour,':','')) AS begin_time_new FROM biz_trader_recruit ) btr where 1=1 and btr.`deleted`=0 and 1=1 and ( urgent_level=1 ) and (btr.work_addr like concat('%',:qy_workCity,'%') ) and (select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`>=2 or btdw.`status`=-1 or btdw.`status`=-3 ) ) <btr.need_total and ((btr.settle_catalog=0 and btr.begin_time_new >= :query_nowdate_new_ma) or (btr.settle_catalog=1)) order by btr.istop desc,btr.id desc limit 0,1000
- ["HY093",null,null]
- 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
- #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
- #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1490): pdo_fetchall()
- #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
- #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
- #5 {main}
- [上下文相关信息]:
- [WsAjaxPrj]=KLY
- [WsAjaxBiz]=Public
- [WsAjaxAction]=fetchPageData
- [USER]=nginxphp
- [HOME]=/home/nginxphp
- [HTTP_CONTENT_LENGTH]=457
- [HTTP_HOST]=api.kuailaiyou.top
- [HTTP_CONTENT_TYPE]=application/json
- [HTTP_CONNECTION]=keep-alive
- [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
- [HTTP_ACCEPT_LANGUAGE]=zh-CN
- [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
- [HTTP_ACCEPT]=*/*
- [HTTP_ORIGIN]=https://api.kuailaiyou.top
- [REDIRECT_STATUS]=200
- [SERVER_NAME]=api.kuailaiyou.top
- [SERVER_PORT]=443
- [SERVER_ADDR]=172.18.217.149
- [REMOTE_PORT]=19426
- [REMOTE_ADDR]=106.114.65.123
- [SERVER_SOFTWARE]=nginx/1.20.1
- [GATEWAY_INTERFACE]=CGI/1.1
- [HTTPS]=on
- [REQUEST_SCHEME]=https
- [SERVER_PROTOCOL]=HTTP/1.1
- [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
- [DOCUMENT_URI]=/ajaxEntryCenter.php
- [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
- [SCRIPT_NAME]=/ajaxEntryCenter.php
- [CONTENT_LENGTH]=457
- [CONTENT_TYPE]=application/json
- [REQUEST_METHOD]=POST
- [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
- [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
- [FCGI_ROLE]=RESPONDER
- [PHP_SELF]=/ajaxEntryCenter.php
- [REQUEST_TIME_FLOAT]=1655969835.7561
- [REQUEST_TIME]=1655969835
- 15:47:41 [error]: 通用分页查询排序接口异常:数据库执行异常:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Array order by btr.istop desc,btr.id desc limit 0,1000' at line 1
- sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,bt.id as btid,bt.company_name,bt.catalog as bt_catalog,bt.certif_confirmed as bt_certif_confirmed ,bu.id as buid,bu.mobile bu_mobile ,concat(brd.id,'-',brd.begin_datetime,'-',brd.finish_datetime,'-',bt2.id,'-',bt2bu.id,'-',bt2bu.mobile,'-',bt2.true_name) as delegate_info ,(select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`>=2 ) ) as now_worker_total ,(select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`>=1 ) ) as now_worker_total000 ,(select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`=-1 or btdw.`status`=-3 ) ) as num_abnormal_total ,(st_distance_sphere(point(CAST(btr.work_addr_lng AS decimal(11,8)),CAST(btr.work_addr_lat AS decimal(11,8))),point(CAST(:nowlng AS decimal(11,8)),CAST(:nowlat AS decimal(11,8))))) as distance FROM (SELECT *, CONCAT(FROM_UNIXTIME(begin_datetime,"%Y%m%d"), REPLACE(begin_hour,':','')) AS begin_time_new FROM biz_trader_recruit ) btr left join biz_trader bt on bt.id=btr.biz_traderid left join base_user bu on bu.id=bt.base_userid left join biz_recruit_delegate brd on brd.biz_recruitid=btr.id and brd.finish_datetime>1655970461 left join biz_trader2 bt2 on bt2.id=brd.biz_trader2id left join base_user bt2bu on bt2bu.id=bt2.base_userid left join biz_worker_trace wktr on wktr.biz_workerid=0 and wktr.biz_catalog=0 and wktr.biz_id=btr.id where 1=1 and btr.`deleted`=0 Array order by btr.istop desc,btr.id desc limit 0,1000
- ["42000",1064,"You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Array order by btr.istop desc,btr.id desc limit 0,1000' at line 1"]
- 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
- #1 {main}
- 数据库执行异常:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Array order by btr.istop desc,btr.id desc limit 0,1000' at line 1
- sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,bt.id as btid,bt.company_name,bt.catalog as bt_catalog,bt.certif_confirmed as bt_certif_confirmed ,bu.id as buid,bu.mobile bu_mobile ,concat(brd.id,'-',brd.begin_datetime,'-',brd.finish_datetime,'-',bt2.id,'-',bt2bu.id,'-',bt2bu.mobile,'-',bt2.true_name) as delegate_info ,(select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`>=2 ) ) as now_worker_total ,(select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`>=1 ) ) as now_worker_total000 ,(select count(*) from biz_todowork btdw where btdw.biz_recruitid=btr.id and ( btdw.`status`=-1 or btdw.`status`=-3 ) ) as num_abnormal_total ,(st_distance_sphere(point(CAST(btr.work_addr_lng AS decimal(11,8)),CAST(btr.work_addr_lat AS decimal(11,8))),point(CAST(:nowlng AS decimal(11,8)),CAST(:nowlat AS decimal(11,8))))) as distance FROM (SELECT *, CONCAT(FROM_UNIXTIME(begin_datetime,"%Y%m%d"), REPLACE(begin_hour,':','')) AS begin_time_new FROM biz_trader_recruit ) btr left join biz_trader bt on bt.id=btr.biz_traderid left join base_user bu on bu.id=bt.base_userid left join biz_recruit_delegate brd on brd.biz_recruitid=btr.id and brd.finish_datetime>1655970461 left join biz_trader2 bt2 on bt2.id=brd.biz_trader2id left join base_user bt2bu on bt2bu.id=bt2.base_userid left join biz_worker_trace wktr on wktr.biz_workerid=0 and wktr.biz_catalog=0 and wktr.biz_id=btr.id where 1=1 and btr.`deleted`=0 Array order by btr.istop desc,btr.id desc limit 0,1000
- ["42000",1064,"You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Array order by btr.istop desc,btr.id desc limit 0,1000' at line 1"]
- 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
- #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
- #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1490): pdo_fetchall()
- #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
- #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
- #5 {main}
- [上下文相关信息]:
- [WsAjaxPrj]=KLY
- [WsAjaxBiz]=Public
- [WsAjaxAction]=fetchPageData
- [USER]=nginxphp
- [HOME]=/home/nginxphp
- [HTTP_CONTENT_LENGTH]=457
- [HTTP_HOST]=api.kuailaiyou.top
- [HTTP_CONTENT_TYPE]=application/json
- [HTTP_CONNECTION]=keep-alive
- [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
- [HTTP_ACCEPT_LANGUAGE]=zh-CN
- [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
- [HTTP_ACCEPT]=*/*
- [HTTP_ORIGIN]=https://api.kuailaiyou.top
- [REDIRECT_STATUS]=200
- [SERVER_NAME]=api.kuailaiyou.top
- [SERVER_PORT]=443
- [SERVER_ADDR]=172.18.217.149
- [REMOTE_PORT]=17908
- [REMOTE_ADDR]=106.114.65.123
- [SERVER_SOFTWARE]=nginx/1.20.1
- [GATEWAY_INTERFACE]=CGI/1.1
- [HTTPS]=on
- [REQUEST_SCHEME]=https
- [SERVER_PROTOCOL]=HTTP/1.1
- [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
- [DOCUMENT_URI]=/ajaxEntryCenter.php
- [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
- [SCRIPT_NAME]=/ajaxEntryCenter.php
- [CONTENT_LENGTH]=457
- [CONTENT_TYPE]=application/json
- [REQUEST_METHOD]=POST
- [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
- [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
- [FCGI_ROLE]=RESPONDER
- [PHP_SELF]=/ajaxEntryCenter.php
- [REQUEST_TIME_FLOAT]=1655970461.7786
- [REQUEST_TIME]=1655970461
|