2022020815_entityDataHandle.log 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. 15:10:34 [error]: 通用的实体数据存取接口异常:数据库执行异常:Column 'id' in where clause is ambiguous
  2. sql语句:select *,cbu.login_name as cbu_login_name,ubu.login_name as ubu_login_name ,(st_distance_sphere(point(CAST(bma.addr_lng AS decimal(11,8)),CAST(bma.addr_lat AS decimal(11,8))),point(CAST(117.68898010254 AS decimal(11,8)),CAST(39.035186251066 AS decimal(11,8))))) as distance ,(select count(*) from biz_market_activity_order bmao where bmao.`status`=1 and bmao.market_activityid=bma.id and bmao.biz_workerid=68)>0 as enrolled
  3. from biz_market_activity as bma
  4. left join base_user as cbu on cbu.id=bma.createuserid
  5. left join base_user as ubu on ubu.id=bma.updateuserid
  6. where id=57
  7. ["23000",1052,"Column 'id' in where clause is ambiguous"]
  8. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Worker/entityDataHandle.php]的[150]行 code[0] !
  9. 异常堆栈上下文:
  10. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  11. #1 {main}
  12. 数据库执行异常:Column 'id' in where clause is ambiguous
  13. sql语句:select *,cbu.login_name as cbu_login_name,ubu.login_name as ubu_login_name ,(st_distance_sphere(point(CAST(bma.addr_lng AS decimal(11,8)),CAST(bma.addr_lat AS decimal(11,8))),point(CAST(117.68898010254 AS decimal(11,8)),CAST(39.035186251066 AS decimal(11,8))))) as distance ,(select count(*) from biz_market_activity_order bmao where bmao.`status`=1 and bmao.market_activityid=bma.id and bmao.biz_workerid=68)>0 as enrolled
  14. from biz_market_activity as bma
  15. left join base_user as cbu on cbu.id=bma.createuserid
  16. left join base_user as ubu on ubu.id=bma.updateuserid
  17. where id=57
  18. ["23000",1052,"Column 'id' in where clause is ambiguous"]
  19. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  20. 异常堆栈上下文:
  21. #0 /bizroot/approot/klywebapi/base/mysql.php(195): PdoUtil->errhandle()
  22. #1 /bizroot/approot/klywebapi/base/mysql.php(23): PdoUtil->fetch()
  23. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(3531): pdo_fetch()
  24. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Worker/entityDataHandle.php(116): bizbase_mactivityEntityHandle()
  25. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  26. #5 {main}
  27. [上下文相关信息]:
  28. [WsAjaxPrj]=KLY
  29. [WsAjaxBiz]=Worker
  30. [WsAjaxAction]=entityDataHandle
  31. [USER]=nginxphp
  32. [HOME]=/home/nginxphp
  33. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  34. [HTTP_REFERER]=https://servicewechat.com/wxcd35a60de7b5942a/devtools/page-frame.html
  35. [HTTP_SEC_FETCH_DEST]=empty
  36. [HTTP_SEC_FETCH_MODE]=cors
  37. [HTTP_SEC_FETCH_SITE]=cross-site
  38. [HTTP_ACCEPT]=*/*
  39. [HTTP_CONTENT_TYPE]=application/json
  40. [HTTP_USER_AGENT]=Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1 wechatdevtools/1.05.2108130 MicroMessenger/8.0.5 Language/zh_CN webview/
  41. [HTTP_CONTENT_LENGTH]=200
  42. [HTTP_CONNECTION]=keep-alive
  43. [HTTP_HOST]=api.kuailaiyou.top
  44. [REDIRECT_STATUS]=200
  45. [SERVER_NAME]=api.kuailaiyou.top
  46. [SERVER_PORT]=443
  47. [SERVER_ADDR]=172.18.217.149
  48. [REMOTE_PORT]=33665
  49. [REMOTE_ADDR]=117.14.227.199
  50. [SERVER_SOFTWARE]=nginx/1.20.1
  51. [GATEWAY_INTERFACE]=CGI/1.1
  52. [HTTPS]=on
  53. [REQUEST_SCHEME]=https
  54. [SERVER_PROTOCOL]=HTTP/1.1
  55. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  56. [DOCUMENT_URI]=/ajaxEntryCenter.php
  57. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Worker&WsAjaxAction=entityDataHandle
  58. [SCRIPT_NAME]=/ajaxEntryCenter.php
  59. [CONTENT_LENGTH]=200
  60. [CONTENT_TYPE]=application/json
  61. [REQUEST_METHOD]=POST
  62. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Worker&WsAjaxAction=entityDataHandle
  63. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  64. [FCGI_ROLE]=RESPONDER
  65. [PHP_SELF]=/ajaxEntryCenter.php
  66. [REQUEST_TIME_FLOAT]=1644304234.9683
  67. [REQUEST_TIME]=1644304234
  68. 15:10:39 [error]: 通用的实体数据存取接口异常:数据库执行异常:Column 'id' in where clause is ambiguous
  69. sql语句:select *,cbu.login_name as cbu_login_name,ubu.login_name as ubu_login_name ,(st_distance_sphere(point(CAST(bma.addr_lng AS decimal(11,8)),CAST(bma.addr_lat AS decimal(11,8))),point(CAST(117.68898010254 AS decimal(11,8)),CAST(39.035186251066 AS decimal(11,8))))) as distance ,(select count(*) from biz_market_activity_order bmao where bmao.`status`=1 and bmao.market_activityid=bma.id and bmao.biz_workerid=68)>0 as enrolled
  70. from biz_market_activity as bma
  71. left join base_user as cbu on cbu.id=bma.createuserid
  72. left join base_user as ubu on ubu.id=bma.updateuserid
  73. where id=56
  74. ["23000",1052,"Column 'id' in where clause is ambiguous"]
  75. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Worker/entityDataHandle.php]的[150]行 code[0] !
  76. 异常堆栈上下文:
  77. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  78. #1 {main}
  79. 数据库执行异常:Column 'id' in where clause is ambiguous
  80. sql语句:select *,cbu.login_name as cbu_login_name,ubu.login_name as ubu_login_name ,(st_distance_sphere(point(CAST(bma.addr_lng AS decimal(11,8)),CAST(bma.addr_lat AS decimal(11,8))),point(CAST(117.68898010254 AS decimal(11,8)),CAST(39.035186251066 AS decimal(11,8))))) as distance ,(select count(*) from biz_market_activity_order bmao where bmao.`status`=1 and bmao.market_activityid=bma.id and bmao.biz_workerid=68)>0 as enrolled
  81. from biz_market_activity as bma
  82. left join base_user as cbu on cbu.id=bma.createuserid
  83. left join base_user as ubu on ubu.id=bma.updateuserid
  84. where id=56
  85. ["23000",1052,"Column 'id' in where clause is ambiguous"]
  86. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  87. 异常堆栈上下文:
  88. #0 /bizroot/approot/klywebapi/base/mysql.php(195): PdoUtil->errhandle()
  89. #1 /bizroot/approot/klywebapi/base/mysql.php(23): PdoUtil->fetch()
  90. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(3531): pdo_fetch()
  91. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Worker/entityDataHandle.php(116): bizbase_mactivityEntityHandle()
  92. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  93. #5 {main}
  94. [上下文相关信息]:
  95. [WsAjaxPrj]=KLY
  96. [WsAjaxBiz]=Worker
  97. [WsAjaxAction]=entityDataHandle
  98. [USER]=nginxphp
  99. [HOME]=/home/nginxphp
  100. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  101. [HTTP_REFERER]=https://servicewechat.com/wxcd35a60de7b5942a/devtools/page-frame.html
  102. [HTTP_SEC_FETCH_DEST]=empty
  103. [HTTP_SEC_FETCH_MODE]=cors
  104. [HTTP_SEC_FETCH_SITE]=cross-site
  105. [HTTP_ACCEPT]=*/*
  106. [HTTP_CONTENT_TYPE]=application/json
  107. [HTTP_USER_AGENT]=Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1 wechatdevtools/1.05.2108130 MicroMessenger/8.0.5 Language/zh_CN webview/
  108. [HTTP_CONTENT_LENGTH]=200
  109. [HTTP_CONNECTION]=keep-alive
  110. [HTTP_HOST]=api.kuailaiyou.top
  111. [REDIRECT_STATUS]=200
  112. [SERVER_NAME]=api.kuailaiyou.top
  113. [SERVER_PORT]=443
  114. [SERVER_ADDR]=172.18.217.149
  115. [REMOTE_PORT]=33697
  116. [REMOTE_ADDR]=117.14.227.199
  117. [SERVER_SOFTWARE]=nginx/1.20.1
  118. [GATEWAY_INTERFACE]=CGI/1.1
  119. [HTTPS]=on
  120. [REQUEST_SCHEME]=https
  121. [SERVER_PROTOCOL]=HTTP/1.1
  122. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  123. [DOCUMENT_URI]=/ajaxEntryCenter.php
  124. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Worker&WsAjaxAction=entityDataHandle
  125. [SCRIPT_NAME]=/ajaxEntryCenter.php
  126. [CONTENT_LENGTH]=200
  127. [CONTENT_TYPE]=application/json
  128. [REQUEST_METHOD]=POST
  129. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Worker&WsAjaxAction=entityDataHandle
  130. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  131. [FCGI_ROLE]=RESPONDER
  132. [PHP_SELF]=/ajaxEntryCenter.php
  133. [REQUEST_TIME_FLOAT]=1644304239.928
  134. [REQUEST_TIME]=1644304239
  135. 15:11:30 [error]: 通用的实体数据存取接口异常:数据库执行异常:Column 'id' in where clause is ambiguous
  136. sql语句:select *,cbu.login_name as cbu_login_name,ubu.login_name as ubu_login_name ,(select count(*) from biz_market_activity_order bmao where bmao.`status`=1 and bmao.market_activityid=bma.id and bmao.biz_workerid=0)>0 as enrolled
  137. from biz_market_activity as bma
  138. left join base_user as cbu on cbu.id=bma.createuserid
  139. left join base_user as ubu on ubu.id=bma.updateuserid
  140. where id=57
  141. ["23000",1052,"Column 'id' in where clause is ambiguous"]
  142. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Plater/entityDataHandle.php]的[229]行 code[0] !
  143. 异常堆栈上下文:
  144. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  145. #1 {main}
  146. 数据库执行异常:Column 'id' in where clause is ambiguous
  147. sql语句:select *,cbu.login_name as cbu_login_name,ubu.login_name as ubu_login_name ,(select count(*) from biz_market_activity_order bmao where bmao.`status`=1 and bmao.market_activityid=bma.id and bmao.biz_workerid=0)>0 as enrolled
  148. from biz_market_activity as bma
  149. left join base_user as cbu on cbu.id=bma.createuserid
  150. left join base_user as ubu on ubu.id=bma.updateuserid
  151. where id=57
  152. ["23000",1052,"Column 'id' in where clause is ambiguous"]
  153. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  154. 异常堆栈上下文:
  155. #0 /bizroot/approot/klywebapi/base/mysql.php(195): PdoUtil->errhandle()
  156. #1 /bizroot/approot/klywebapi/base/mysql.php(23): PdoUtil->fetch()
  157. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(3531): pdo_fetch()
  158. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Plater/entityDataHandle.php(178): bizbase_mactivityEntityHandle()
  159. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  160. #5 {main}
  161. [上下文相关信息]:
  162. [WsAjaxPrj]=KLY
  163. [WsAjaxBiz]=Plater
  164. [WsAjaxAction]=entityDataHandle
  165. [USER]=nginxphp
  166. [HOME]=/home/nginxphp
  167. [HTTP_ACCEPT_LANGUAGE]=zh-CN,zh;q=0.9
  168. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  169. [HTTP_REFERER]=https://admin.kuailaiyou.top/
  170. [HTTP_SEC_FETCH_DEST]=empty
  171. [HTTP_SEC_FETCH_MODE]=cors
  172. [HTTP_SEC_FETCH_SITE]=same-site
  173. [HTTP_ORIGIN]=https://admin.kuailaiyou.top
  174. [HTTP_SEC_CH_UA_PLATFORM]="Windows"
  175. [HTTP_USER_AGENT]=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
  176. [HTTP_SEC_CH_UA_MOBILE]=?0
  177. [HTTP_CONTENT_TYPE]=application/json;charset=UTF-8
  178. [HTTP_ACCEPT]=application/json, text/plain, */*
  179. [HTTP_SEC_CH_UA]=" Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97"
  180. [HTTP_CONTENT_LENGTH]=151
  181. [HTTP_CONNECTION]=keep-alive
  182. [HTTP_HOST]=api.kuailaiyou.top
  183. [REDIRECT_STATUS]=200
  184. [SERVER_NAME]=api.kuailaiyou.top
  185. [SERVER_PORT]=443
  186. [SERVER_ADDR]=172.18.217.149
  187. [REMOTE_PORT]=48545
  188. [REMOTE_ADDR]=117.14.227.199
  189. [SERVER_SOFTWARE]=nginx/1.20.1
  190. [GATEWAY_INTERFACE]=CGI/1.1
  191. [HTTPS]=on
  192. [REQUEST_SCHEME]=https
  193. [SERVER_PROTOCOL]=HTTP/1.1
  194. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  195. [DOCUMENT_URI]=/ajaxEntryCenter.php
  196. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Plater&WsAjaxAction=entityDataHandle
  197. [SCRIPT_NAME]=/ajaxEntryCenter.php
  198. [CONTENT_LENGTH]=151
  199. [CONTENT_TYPE]=application/json;charset=UTF-8
  200. [REQUEST_METHOD]=POST
  201. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Plater&WsAjaxAction=entityDataHandle
  202. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  203. [FCGI_ROLE]=RESPONDER
  204. [PHP_SELF]=/ajaxEntryCenter.php
  205. [REQUEST_TIME_FLOAT]=1644304290.8793
  206. [REQUEST_TIME]=1644304290