2022080518_fetchPageData.log 5.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. 18:06:48 [error]: 通用分页查询排序接口异常:数据库执行异常:
  2. 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 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>1659694008 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 and 1=1 and ( urgent_level=0 ) and btr.`status` = 2 order by btr.istop desc,btr.id desc limit 0,10
  3. ["HY093",null,null]
  4. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Plater/fetchPageData.php]的[162]行 code[0] !
  5. 异常堆栈上下文:
  6. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  7. #1 {main}
  8. 数据库执行异常:
  9. 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 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>1659694008 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 and 1=1 and ( urgent_level=0 ) and btr.`status` = 2 order by btr.istop desc,btr.id desc limit 0,10
  10. ["HY093",null,null]
  11. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  12. 异常堆栈上下文:
  13. #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
  14. #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
  15. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1507): pdo_fetchall()
  16. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Plater/fetchPageData.php(84): bizbase_recruitAboutQuery()
  17. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  18. #5 {main}
  19. [上下文相关信息]:
  20. [WsAjaxPrj]=KLY
  21. [WsAjaxBiz]=Plater
  22. [WsAjaxAction]=fetchPageData
  23. [USER]=nginxphp
  24. [HOME]=/home/nginxphp
  25. [HTTP_ACCEPT_LANGUAGE]=zh-CN,zh;q=0.9
  26. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  27. [HTTP_REFERER]=https://admin.kuailaiyou.top/
  28. [HTTP_SEC_FETCH_DEST]=empty
  29. [HTTP_SEC_FETCH_MODE]=cors
  30. [HTTP_SEC_FETCH_SITE]=same-site
  31. [HTTP_ORIGIN]=https://admin.kuailaiyou.top
  32. [HTTP_CONTENT_TYPE]=application/json;charset=UTF-8
  33. [HTTP_USER_AGENT]=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
  34. [HTTP_SEC_CH_UA_MOBILE]=?0
  35. [HTTP_ACCEPT]=application/json, text/plain, */*
  36. [HTTP_SEC_CH_UA]=" Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90"
  37. [HTTP_CONTENT_LENGTH]=229
  38. [HTTP_CONNECTION]=keep-alive
  39. [HTTP_HOST]=api.kuailaiyou.top
  40. [REDIRECT_STATUS]=200
  41. [SERVER_NAME]=api.kuailaiyou.top
  42. [SERVER_PORT]=443
  43. [SERVER_ADDR]=172.18.217.149
  44. [REMOTE_PORT]=13057
  45. [REMOTE_ADDR]=106.114.70.85
  46. [SERVER_SOFTWARE]=nginx/1.20.1
  47. [GATEWAY_INTERFACE]=CGI/1.1
  48. [HTTPS]=on
  49. [REQUEST_SCHEME]=https
  50. [SERVER_PROTOCOL]=HTTP/1.1
  51. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  52. [DOCUMENT_URI]=/ajaxEntryCenter.php
  53. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Plater&WsAjaxAction=fetchPageData
  54. [SCRIPT_NAME]=/ajaxEntryCenter.php
  55. [CONTENT_LENGTH]=229
  56. [CONTENT_TYPE]=application/json;charset=UTF-8
  57. [REQUEST_METHOD]=POST
  58. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Plater&WsAjaxAction=fetchPageData
  59. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  60. [FCGI_ROLE]=RESPONDER
  61. [PHP_SELF]=/ajaxEntryCenter.php
  62. [REQUEST_TIME_FLOAT]=1659694008.0368
  63. [REQUEST_TIME]=1659694008