2022062314_fetchPageData.log 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. 14:05:30 [error]: 通用分页查询排序接口异常:数据库执行异常:Column 'begin_datetime' in field list is ambiguous
  2. sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,CONCAT(FROM_UNIXTIME(begin_datetime,"%Y%m%d"), REPLACE(begin_hour,':','')) AS begin_time_new ,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>1655964330 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 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
  3. ["23000",1052,"Column 'begin_datetime' in field list is ambiguous"]
  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. 数据库执行异常:Column 'begin_datetime' in field list is ambiguous
  9. sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,CONCAT(FROM_UNIXTIME(begin_datetime,"%Y%m%d"), REPLACE(begin_hour,':','')) AS begin_time_new ,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>1655964330 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 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
  10. ["23000",1052,"Column 'begin_datetime' in field list is ambiguous"]
  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(1491): 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]=16997
  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]=1655964330.638
  57. [REQUEST_TIME]=1655964330
  58. 14:06:45 [error]: 通用分页查询排序接口异常:数据库执行异常:Unknown column 'btr.begin_time_new' in 'where clause'
  59. sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,CONCAT(FROM_UNIXTIME(btr.begin_datetime,"%Y%m%d"), REPLACE(btr.begin_hour,':','')) AS begin_time_new ,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>1655964405 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 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
  60. ["42S22",1054,"Unknown column 'btr.begin_time_new' in 'where clause'"]
  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. 数据库执行异常:Unknown column 'btr.begin_time_new' in 'where clause'
  66. sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,CONCAT(FROM_UNIXTIME(btr.begin_datetime,"%Y%m%d"), REPLACE(btr.begin_hour,':','')) AS begin_time_new ,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>1655964405 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 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
  67. ["42S22",1054,"Unknown column 'btr.begin_time_new' in 'where clause'"]
  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(1491): 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]=17068
  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]=1655964405.8328
  114. [REQUEST_TIME]=1655964405
  115. 14:09:06 [error]: 通用分页查询排序接口异常:数据库执行异常:Unknown column 'btr.begin_time_new' in 'where clause'
  116. sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,CONCAT(FROM_UNIXTIME(btr.begin_datetime,"%Y%m%d"), REPLACE(btr.begin_hour,':','')) AS begin_time_new ,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>1655964546 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.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
  117. ["42S22",1054,"Unknown column 'btr.begin_time_new' in 'where clause'"]
  118. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
  119. 异常堆栈上下文:
  120. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  121. #1 {main}
  122. 数据库执行异常:Unknown column 'btr.begin_time_new' in 'where clause'
  123. sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,CONCAT(FROM_UNIXTIME(btr.begin_datetime,"%Y%m%d"), REPLACE(btr.begin_hour,':','')) AS begin_time_new ,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>1655964546 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.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
  124. ["42S22",1054,"Unknown column 'btr.begin_time_new' in 'where clause'"]
  125. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  126. 异常堆栈上下文:
  127. #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
  128. #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
  129. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1491): pdo_fetchall()
  130. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
  131. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  132. #5 {main}
  133. [上下文相关信息]:
  134. [WsAjaxPrj]=KLY
  135. [WsAjaxBiz]=Public
  136. [WsAjaxAction]=fetchPageData
  137. [USER]=nginxphp
  138. [HOME]=/home/nginxphp
  139. [HTTP_REFERER]=https://servicewechat.com/wxcd35a60de7b5942a/0/page-frame.html
  140. [HTTP_ACCEPT_ENCODING]=gzip,compress,br,deflate
  141. [HTTP_CONTENT_TYPE]=application/json
  142. [HTTP_USER_AGENT]=Mozilla/5.0 (Linux; Android 10; YAL-AL50 Build/HUAWEIYAL-AL50; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/4255 MMWEBSDK/20220505 Mobile Safari/537.36 MMWEBID/5219 MicroMessenger/8.0.23.2160(0x28001768) WeChat/arm64 Weixin NetType/4G Language/zh_CN ABI/arm64 MiniProgramEnv/android
  143. [HTTP_CHARSET]=utf-8
  144. [HTTP_CONTENT_LENGTH]=330
  145. [HTTP_CONNECTION]=keep-alive
  146. [HTTP_HOST]=api.kuailaiyou.top
  147. [REDIRECT_STATUS]=200
  148. [SERVER_NAME]=api.kuailaiyou.top
  149. [SERVER_PORT]=443
  150. [SERVER_ADDR]=172.18.217.149
  151. [REMOTE_PORT]=38516
  152. [REMOTE_ADDR]=211.94.208.161
  153. [SERVER_SOFTWARE]=nginx/1.20.1
  154. [GATEWAY_INTERFACE]=CGI/1.1
  155. [HTTPS]=on
  156. [REQUEST_SCHEME]=https
  157. [SERVER_PROTOCOL]=HTTP/1.1
  158. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  159. [DOCUMENT_URI]=/ajaxEntryCenter.php
  160. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  161. [SCRIPT_NAME]=/ajaxEntryCenter.php
  162. [CONTENT_LENGTH]=330
  163. [CONTENT_TYPE]=application/json
  164. [REQUEST_METHOD]=POST
  165. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  166. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  167. [FCGI_ROLE]=RESPONDER
  168. [PHP_SELF]=/ajaxEntryCenter.php
  169. [REQUEST_TIME_FLOAT]=1655964546.9247
  170. [REQUEST_TIME]=1655964546
  171. 14:09:08 [error]: 通用分页查询排序接口异常:数据库执行异常:Unknown column 'btr.begin_time_new' in 'where clause'
  172. sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,CONCAT(FROM_UNIXTIME(btr.begin_datetime,"%Y%m%d"), REPLACE(btr.begin_hour,':','')) AS begin_time_new ,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>1655964548 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 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
  173. ["42S22",1054,"Unknown column 'btr.begin_time_new' in 'where clause'"]
  174. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
  175. 异常堆栈上下文:
  176. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  177. #1 {main}
  178. 数据库执行异常:Unknown column 'btr.begin_time_new' in 'where clause'
  179. sql语句: select btr.* ,round((btr.finish_datetime-:select_nowdate)/86400) as restdays ,CONCAT(FROM_UNIXTIME(btr.begin_datetime,"%Y%m%d"), REPLACE(btr.begin_hour,':','')) AS begin_time_new ,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>1655964548 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 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
  180. ["42S22",1054,"Unknown column 'btr.begin_time_new' in 'where clause'"]
  181. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  182. 异常堆栈上下文:
  183. #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
  184. #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
  185. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1491): pdo_fetchall()
  186. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
  187. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  188. #5 {main}
  189. [上下文相关信息]:
  190. [WsAjaxPrj]=KLY
  191. [WsAjaxBiz]=Public
  192. [WsAjaxAction]=fetchPageData
  193. [USER]=nginxphp
  194. [HOME]=/home/nginxphp
  195. [HTTP_REFERER]=https://servicewechat.com/wxcd35a60de7b5942a/0/page-frame.html
  196. [HTTP_ACCEPT_ENCODING]=gzip,compress,br,deflate
  197. [HTTP_CONTENT_TYPE]=application/json
  198. [HTTP_USER_AGENT]=Mozilla/5.0 (Linux; Android 10; YAL-AL50 Build/HUAWEIYAL-AL50; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/4255 MMWEBSDK/20220505 Mobile Safari/537.36 MMWEBID/5219 MicroMessenger/8.0.23.2160(0x28001768) WeChat/arm64 Weixin NetType/4G Language/zh_CN ABI/arm64 MiniProgramEnv/android
  199. [HTTP_CHARSET]=utf-8
  200. [HTTP_CONTENT_LENGTH]=330
  201. [HTTP_CONNECTION]=keep-alive
  202. [HTTP_HOST]=api.kuailaiyou.top
  203. [REDIRECT_STATUS]=200
  204. [SERVER_NAME]=api.kuailaiyou.top
  205. [SERVER_PORT]=443
  206. [SERVER_ADDR]=172.18.217.149
  207. [REMOTE_PORT]=38516
  208. [REMOTE_ADDR]=211.94.208.161
  209. [SERVER_SOFTWARE]=nginx/1.20.1
  210. [GATEWAY_INTERFACE]=CGI/1.1
  211. [HTTPS]=on
  212. [REQUEST_SCHEME]=https
  213. [SERVER_PROTOCOL]=HTTP/1.1
  214. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  215. [DOCUMENT_URI]=/ajaxEntryCenter.php
  216. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  217. [SCRIPT_NAME]=/ajaxEntryCenter.php
  218. [CONTENT_LENGTH]=330
  219. [CONTENT_TYPE]=application/json
  220. [REQUEST_METHOD]=POST
  221. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  222. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  223. [FCGI_ROLE]=RESPONDER
  224. [PHP_SELF]=/ajaxEntryCenter.php
  225. [REQUEST_TIME_FLOAT]=1655964548.9898
  226. [REQUEST_TIME]=1655964548
  227. 14:09:16 [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 ') btr left join biz_trader bt on bt.id=btr.biz_traderid left ...' at line 1
  228. 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 WHERE biz_traderid=) 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>1655964556 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 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
  229. ["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 ') btr left join biz_trader bt on bt.id=btr.biz_traderid left ...' at line 1"]
  230. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
  231. 异常堆栈上下文:
  232. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  233. #1 {main}
  234. 数据库执行异常: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 ') btr left join biz_trader bt on bt.id=btr.biz_traderid left ...' at line 1
  235. 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 WHERE biz_traderid=) 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>1655964556 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 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
  236. ["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 ') btr left join biz_trader bt on bt.id=btr.biz_traderid left ...' at line 1"]
  237. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  238. 异常堆栈上下文:
  239. #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
  240. #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
  241. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1489): pdo_fetchall()
  242. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
  243. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  244. #5 {main}
  245. [上下文相关信息]:
  246. [WsAjaxPrj]=KLY
  247. [WsAjaxBiz]=Public
  248. [WsAjaxAction]=fetchPageData
  249. [USER]=nginxphp
  250. [HOME]=/home/nginxphp
  251. [HTTP_CONTENT_LENGTH]=457
  252. [HTTP_HOST]=api.kuailaiyou.top
  253. [HTTP_CONTENT_TYPE]=application/json
  254. [HTTP_CONNECTION]=keep-alive
  255. [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
  256. [HTTP_ACCEPT_LANGUAGE]=zh-CN
  257. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  258. [HTTP_ACCEPT]=*/*
  259. [HTTP_ORIGIN]=https://api.kuailaiyou.top
  260. [REDIRECT_STATUS]=200
  261. [SERVER_NAME]=api.kuailaiyou.top
  262. [SERVER_PORT]=443
  263. [SERVER_ADDR]=172.18.217.149
  264. [REMOTE_PORT]=17182
  265. [REMOTE_ADDR]=106.114.65.123
  266. [SERVER_SOFTWARE]=nginx/1.20.1
  267. [GATEWAY_INTERFACE]=CGI/1.1
  268. [HTTPS]=on
  269. [REQUEST_SCHEME]=https
  270. [SERVER_PROTOCOL]=HTTP/1.1
  271. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  272. [DOCUMENT_URI]=/ajaxEntryCenter.php
  273. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  274. [SCRIPT_NAME]=/ajaxEntryCenter.php
  275. [CONTENT_LENGTH]=457
  276. [CONTENT_TYPE]=application/json
  277. [REQUEST_METHOD]=POST
  278. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  279. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  280. [FCGI_ROLE]=RESPONDER
  281. [PHP_SELF]=/ajaxEntryCenter.php
  282. [REQUEST_TIME_FLOAT]=1655964556.0294
  283. [REQUEST_TIME]=1655964556
  284. 14:09:45 [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 ') btr left join biz_trader bt on bt.id=btr.biz_traderid left ...' at line 1
  285. 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 WHERE biz_traderid=) 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>1655964585 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 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
  286. ["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 ') btr left join biz_trader bt on bt.id=btr.biz_traderid left ...' at line 1"]
  287. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
  288. 异常堆栈上下文:
  289. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  290. #1 {main}
  291. 数据库执行异常: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 ') btr left join biz_trader bt on bt.id=btr.biz_traderid left ...' at line 1
  292. 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 WHERE biz_traderid=) 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>1655964585 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 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
  293. ["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 ') btr left join biz_trader bt on bt.id=btr.biz_traderid left ...' at line 1"]
  294. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  295. 异常堆栈上下文:
  296. #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
  297. #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
  298. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1489): pdo_fetchall()
  299. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
  300. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  301. #5 {main}
  302. [上下文相关信息]:
  303. [WsAjaxPrj]=KLY
  304. [WsAjaxBiz]=Public
  305. [WsAjaxAction]=fetchPageData
  306. [USER]=nginxphp
  307. [HOME]=/home/nginxphp
  308. [HTTP_REFERER]=https://servicewechat.com/wxcd35a60de7b5942a/0/page-frame.html
  309. [HTTP_ACCEPT_ENCODING]=gzip,compress,br,deflate
  310. [HTTP_CONTENT_TYPE]=application/json
  311. [HTTP_USER_AGENT]=Mozilla/5.0 (Linux; Android 10; YAL-AL50 Build/HUAWEIYAL-AL50; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/4255 MMWEBSDK/20220505 Mobile Safari/537.36 MMWEBID/5219 MicroMessenger/8.0.23.2160(0x28001768) WeChat/arm64 Weixin NetType/4G Language/zh_CN ABI/arm64 MiniProgramEnv/android
  312. [HTTP_CHARSET]=utf-8
  313. [HTTP_CONTENT_LENGTH]=331
  314. [HTTP_CONNECTION]=keep-alive
  315. [HTTP_HOST]=api.kuailaiyou.top
  316. [REDIRECT_STATUS]=200
  317. [SERVER_NAME]=api.kuailaiyou.top
  318. [SERVER_PORT]=443
  319. [SERVER_ADDR]=172.18.217.149
  320. [REMOTE_PORT]=38516
  321. [REMOTE_ADDR]=211.94.208.161
  322. [SERVER_SOFTWARE]=nginx/1.20.1
  323. [GATEWAY_INTERFACE]=CGI/1.1
  324. [HTTPS]=on
  325. [REQUEST_SCHEME]=https
  326. [SERVER_PROTOCOL]=HTTP/1.1
  327. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  328. [DOCUMENT_URI]=/ajaxEntryCenter.php
  329. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  330. [SCRIPT_NAME]=/ajaxEntryCenter.php
  331. [CONTENT_LENGTH]=331
  332. [CONTENT_TYPE]=application/json
  333. [REQUEST_METHOD]=POST
  334. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  335. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  336. [FCGI_ROLE]=RESPONDER
  337. [PHP_SELF]=/ajaxEntryCenter.php
  338. [REQUEST_TIME_FLOAT]=1655964585.0205
  339. [REQUEST_TIME]=1655964585
  340. 14:11:38 [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 '' at line 1
  341. 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>1655964698 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 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
  342. ["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 '' at line 1"]
  343. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
  344. 异常堆栈上下文:
  345. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  346. #1 {main}
  347. 数据库执行异常: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 '' at line 1
  348. 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>1655964698 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 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
  349. ["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 '' at line 1"]
  350. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  351. 异常堆栈上下文:
  352. #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
  353. #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
  354. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1489): pdo_fetchall()
  355. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
  356. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  357. #5 {main}
  358. [上下文相关信息]:
  359. [WsAjaxPrj]=KLY
  360. [WsAjaxBiz]=Public
  361. [WsAjaxAction]=fetchPageData
  362. [USER]=nginxphp
  363. [HOME]=/home/nginxphp
  364. [HTTP_CONTENT_LENGTH]=457
  365. [HTTP_HOST]=api.kuailaiyou.top
  366. [HTTP_CONTENT_TYPE]=application/json
  367. [HTTP_CONNECTION]=keep-alive
  368. [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
  369. [HTTP_ACCEPT_LANGUAGE]=zh-CN
  370. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  371. [HTTP_ACCEPT]=*/*
  372. [HTTP_ORIGIN]=https://api.kuailaiyou.top
  373. [REDIRECT_STATUS]=200
  374. [SERVER_NAME]=api.kuailaiyou.top
  375. [SERVER_PORT]=443
  376. [SERVER_ADDR]=172.18.217.149
  377. [REMOTE_PORT]=17329
  378. [REMOTE_ADDR]=106.114.65.123
  379. [SERVER_SOFTWARE]=nginx/1.20.1
  380. [GATEWAY_INTERFACE]=CGI/1.1
  381. [HTTPS]=on
  382. [REQUEST_SCHEME]=https
  383. [SERVER_PROTOCOL]=HTTP/1.1
  384. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  385. [DOCUMENT_URI]=/ajaxEntryCenter.php
  386. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  387. [SCRIPT_NAME]=/ajaxEntryCenter.php
  388. [CONTENT_LENGTH]=457
  389. [CONTENT_TYPE]=application/json
  390. [REQUEST_METHOD]=POST
  391. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  392. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  393. [FCGI_ROLE]=RESPONDER
  394. [PHP_SELF]=/ajaxEntryCenter.php
  395. [REQUEST_TIME_FLOAT]=1655964698.3967
  396. [REQUEST_TIME]=1655964698