2022062315_fetchPageData.log 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. 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
  2. sql语句:select * from biz_trader order by id desc where id = 492
  3. ["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"]
  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. 数据库执行异常: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
  9. sql语句:select * from biz_trader order by id desc where id = 492
  10. ["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"]
  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(1255): 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]=16481
  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]=1655968311.2849
  57. [REQUEST_TIME]=1655968311
  58. 15:17:14 [error]: 通用分页查询排序接口异常:数据库执行异常:Unknown column 'brd.id' in 'field list'
  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 ,(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
  60. ["42S22",1054,"Unknown column 'brd.id' in 'field list'"]
  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 'brd.id' in 'field list'
  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 ,(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
  67. ["42S22",1054,"Unknown column 'brd.id' in 'field list'"]
  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(1492): 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]=17375
  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]=1655968634.0975
  114. [REQUEST_TIME]=1655968634
  115. 15:32:50 [error]: 通用分页查询排序接口异常:数据库执行异常:Unknown column 'brd.id' in 'field list'
  116. 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
  117. ["42S22",1054,"Unknown column 'brd.id' in 'field list'"]
  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 'brd.id' in 'field list'
  123. 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
  124. ["42S22",1054,"Unknown column 'brd.id' in 'field list'"]
  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(1492): 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_CONTENT_LENGTH]=457
  140. [HTTP_HOST]=api.kuailaiyou.top
  141. [HTTP_CONTENT_TYPE]=application/json
  142. [HTTP_CONNECTION]=keep-alive
  143. [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
  144. [HTTP_ACCEPT_LANGUAGE]=zh-CN
  145. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  146. [HTTP_ACCEPT]=*/*
  147. [HTTP_ORIGIN]=https://api.kuailaiyou.top
  148. [REDIRECT_STATUS]=200
  149. [SERVER_NAME]=api.kuailaiyou.top
  150. [SERVER_PORT]=443
  151. [SERVER_ADDR]=172.18.217.149
  152. [REMOTE_PORT]=18779
  153. [REMOTE_ADDR]=106.114.65.123
  154. [SERVER_SOFTWARE]=nginx/1.20.1
  155. [GATEWAY_INTERFACE]=CGI/1.1
  156. [HTTPS]=on
  157. [REQUEST_SCHEME]=https
  158. [SERVER_PROTOCOL]=HTTP/1.1
  159. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  160. [DOCUMENT_URI]=/ajaxEntryCenter.php
  161. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  162. [SCRIPT_NAME]=/ajaxEntryCenter.php
  163. [CONTENT_LENGTH]=457
  164. [CONTENT_TYPE]=application/json
  165. [REQUEST_METHOD]=POST
  166. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  167. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  168. [FCGI_ROLE]=RESPONDER
  169. [PHP_SELF]=/ajaxEntryCenter.php
  170. [REQUEST_TIME_FLOAT]=1655969570.5988
  171. [REQUEST_TIME]=1655969570
  172. 15:37:15 [error]: 通用分页查询排序接口异常:数据库执行异常:
  173. 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
  174. ["HY093",null,null]
  175. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
  176. 异常堆栈上下文:
  177. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  178. #1 {main}
  179. 数据库执行异常:
  180. 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
  181. ["HY093",null,null]
  182. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  183. 异常堆栈上下文:
  184. #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
  185. #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
  186. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1490): pdo_fetchall()
  187. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
  188. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  189. #5 {main}
  190. [上下文相关信息]:
  191. [WsAjaxPrj]=KLY
  192. [WsAjaxBiz]=Public
  193. [WsAjaxAction]=fetchPageData
  194. [USER]=nginxphp
  195. [HOME]=/home/nginxphp
  196. [HTTP_CONTENT_LENGTH]=457
  197. [HTTP_HOST]=api.kuailaiyou.top
  198. [HTTP_CONTENT_TYPE]=application/json
  199. [HTTP_CONNECTION]=keep-alive
  200. [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
  201. [HTTP_ACCEPT_LANGUAGE]=zh-CN
  202. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  203. [HTTP_ACCEPT]=*/*
  204. [HTTP_ORIGIN]=https://api.kuailaiyou.top
  205. [REDIRECT_STATUS]=200
  206. [SERVER_NAME]=api.kuailaiyou.top
  207. [SERVER_PORT]=443
  208. [SERVER_ADDR]=172.18.217.149
  209. [REMOTE_PORT]=19426
  210. [REMOTE_ADDR]=106.114.65.123
  211. [SERVER_SOFTWARE]=nginx/1.20.1
  212. [GATEWAY_INTERFACE]=CGI/1.1
  213. [HTTPS]=on
  214. [REQUEST_SCHEME]=https
  215. [SERVER_PROTOCOL]=HTTP/1.1
  216. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  217. [DOCUMENT_URI]=/ajaxEntryCenter.php
  218. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  219. [SCRIPT_NAME]=/ajaxEntryCenter.php
  220. [CONTENT_LENGTH]=457
  221. [CONTENT_TYPE]=application/json
  222. [REQUEST_METHOD]=POST
  223. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  224. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  225. [FCGI_ROLE]=RESPONDER
  226. [PHP_SELF]=/ajaxEntryCenter.php
  227. [REQUEST_TIME_FLOAT]=1655969835.7561
  228. [REQUEST_TIME]=1655969835
  229. 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
  230. 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
  231. ["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"]
  232. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php]的[53]行 code[0] !
  233. 异常堆栈上下文:
  234. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  235. #1 {main}
  236. 数据库执行异常: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
  237. 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
  238. ["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"]
  239. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  240. 异常堆栈上下文:
  241. #0 /bizroot/approot/klywebapi/base/mysql.php(207): PdoUtil->errhandle()
  242. #1 /bizroot/approot/klywebapi/base/mysql.php(29): PdoUtil->fetchall()
  243. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(1490): pdo_fetchall()
  244. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Public/fetchPageData.php(25): bizbase_recruitAboutQuery()
  245. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  246. #5 {main}
  247. [上下文相关信息]:
  248. [WsAjaxPrj]=KLY
  249. [WsAjaxBiz]=Public
  250. [WsAjaxAction]=fetchPageData
  251. [USER]=nginxphp
  252. [HOME]=/home/nginxphp
  253. [HTTP_CONTENT_LENGTH]=457
  254. [HTTP_HOST]=api.kuailaiyou.top
  255. [HTTP_CONTENT_TYPE]=application/json
  256. [HTTP_CONNECTION]=keep-alive
  257. [HTTP_USER_AGENT]=ApiPOST Runtime +https://www.apipost.cn
  258. [HTTP_ACCEPT_LANGUAGE]=zh-CN
  259. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  260. [HTTP_ACCEPT]=*/*
  261. [HTTP_ORIGIN]=https://api.kuailaiyou.top
  262. [REDIRECT_STATUS]=200
  263. [SERVER_NAME]=api.kuailaiyou.top
  264. [SERVER_PORT]=443
  265. [SERVER_ADDR]=172.18.217.149
  266. [REMOTE_PORT]=17908
  267. [REMOTE_ADDR]=106.114.65.123
  268. [SERVER_SOFTWARE]=nginx/1.20.1
  269. [GATEWAY_INTERFACE]=CGI/1.1
  270. [HTTPS]=on
  271. [REQUEST_SCHEME]=https
  272. [SERVER_PROTOCOL]=HTTP/1.1
  273. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  274. [DOCUMENT_URI]=/ajaxEntryCenter.php
  275. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  276. [SCRIPT_NAME]=/ajaxEntryCenter.php
  277. [CONTENT_LENGTH]=457
  278. [CONTENT_TYPE]=application/json
  279. [REQUEST_METHOD]=POST
  280. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Public&WsAjaxAction=fetchPageData
  281. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  282. [FCGI_ROLE]=RESPONDER
  283. [PHP_SELF]=/ajaxEntryCenter.php
  284. [REQUEST_TIME_FLOAT]=1655970461.7786
  285. [REQUEST_TIME]=1655970461