2022062313_fetchPageData.log 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. 13:39:59 [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 ,(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 biz_trader_recruit as 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>1655962799 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=1 ) and (btr.work_addr like concat('%',:qy_workCity,'%') ) order by btr.istop desc,btr.id desc limit 0,1000
  3. ["HY093",null,null]
  4. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 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 ,(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 biz_trader_recruit as 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>1655962799 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=1 ) and (btr.work_addr like concat('%',:qy_workCity,'%') ) order by btr.istop desc,btr.id desc limit 0,1000
  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(1486): pdo_fetchall()
  16. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
  17. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  18. #5 {main}
  19. [上下文相关信息]:
  20. [WsAjaxPrj]=KLY
  21. [WsAjaxBiz]=Public
  22. [WsAjaxAction]=fetchPageData
  23. [USER]=nginxphp
  24. [HOME]=/home/nginxphp
  25. [HTTP_CONTENT_LENGTH]=457
  26. [HTTP_HOST]=api.kuailaiyou.top
  27. [HTTP_CONTENT_TYPE]=application/json
  28. [HTTP_CONNECTION]=keep-alive
  29. [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
  30. [HTTP_ACCEPT_LANGUAGE]=zh-CN
  31. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  32. [HTTP_ACCEPT]=*/*
  33. [HTTP_ORIGIN]=https://api.kuailaiyou.top
  34. [REDIRECT_STATUS]=200
  35. [SERVER_NAME]=api.kuailaiyou.top
  36. [SERVER_PORT]=443
  37. [SERVER_ADDR]=172.18.217.149
  38. [REMOTE_PORT]=19009
  39. [REMOTE_ADDR]=106.114.65.123
  40. [SERVER_SOFTWARE]=nginx/1.20.1
  41. [GATEWAY_INTERFACE]=CGI/1.1
  42. [HTTPS]=on
  43. [REQUEST_SCHEME]=https
  44. [SERVER_PROTOCOL]=HTTP/1.1
  45. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  46. [DOCUMENT_URI]=/ajaxEntryCenter.php
  47. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  48. [SCRIPT_NAME]=/ajaxEntryCenter.php
  49. [CONTENT_LENGTH]=457
  50. [CONTENT_TYPE]=application/json
  51. [REQUEST_METHOD]=POST
  52. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  53. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  54. [FCGI_ROLE]=RESPONDER
  55. [PHP_SELF]=/ajaxEntryCenter.php
  56. [REQUEST_TIME_FLOAT]=1655962799.7606
  57. [REQUEST_TIME]=1655962799
  58. 13:43:20 [error]: 通用分页查询排序接口异常:数据库执行异常:
  59. 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 biz_trader_recruit as 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>1655963000 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=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 order by btr.istop desc,btr.id desc limit 0,1000
  60. ["HY093",null,null]
  61. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
  62. 异常堆栈上下文:
  63. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  64. #1 {main}
  65. 数据库执行异常:
  66. 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 biz_trader_recruit as 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>1655963000 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=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 order by btr.istop desc,btr.id desc limit 0,1000
  67. ["HY093",null,null]
  68. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  69. 异常堆栈上下文:
  70. #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
  71. #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
  72. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1488): pdo_fetchall()
  73. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
  74. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  75. #5 {main}
  76. [上下文相关信息]:
  77. [WsAjaxPrj]=KLY
  78. [WsAjaxBiz]=Public
  79. [WsAjaxAction]=fetchPageData
  80. [USER]=nginxphp
  81. [HOME]=/home/nginxphp
  82. [HTTP_CONTENT_LENGTH]=457
  83. [HTTP_HOST]=api.kuailaiyou.top
  84. [HTTP_CONTENT_TYPE]=application/json
  85. [HTTP_CONNECTION]=keep-alive
  86. [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
  87. [HTTP_ACCEPT_LANGUAGE]=zh-CN
  88. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  89. [HTTP_ACCEPT]=*/*
  90. [HTTP_ORIGIN]=https://api.kuailaiyou.top
  91. [REDIRECT_STATUS]=200
  92. [SERVER_NAME]=api.kuailaiyou.top
  93. [SERVER_PORT]=443
  94. [SERVER_ADDR]=172.18.217.149
  95. [REMOTE_PORT]=19159
  96. [REMOTE_ADDR]=106.114.65.123
  97. [SERVER_SOFTWARE]=nginx/1.20.1
  98. [GATEWAY_INTERFACE]=CGI/1.1
  99. [HTTPS]=on
  100. [REQUEST_SCHEME]=https
  101. [SERVER_PROTOCOL]=HTTP/1.1
  102. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  103. [DOCUMENT_URI]=/ajaxEntryCenter.php
  104. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  105. [SCRIPT_NAME]=/ajaxEntryCenter.php
  106. [CONTENT_LENGTH]=457
  107. [CONTENT_TYPE]=application/json
  108. [REQUEST_METHOD]=POST
  109. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  110. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  111. [FCGI_ROLE]=RESPONDER
  112. [PHP_SELF]=/ajaxEntryCenter.php
  113. [REQUEST_TIME_FLOAT]=1655963000.431
  114. [REQUEST_TIME]=1655963000