2022020721_entityDataHandle.log 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. 21:48:20 [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=67)>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=53
  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=67)>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=53
  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_REFERER]=https://servicewechat.com/wxcd35a60de7b5942a/0/page-frame.html
  34. [HTTP_ACCEPT_ENCODING]=gzip,compress,br,deflate
  35. [HTTP_CONTENT_TYPE]=application/json
  36. [HTTP_USER_AGENT]=Mozilla/5.0 (Linux; Android 10; AQM-AL10 Build/HONORAQM-AL10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3185 MMWEBSDK/20211202 Mobile Safari/537.36 MMWEBID/8513 MicroMessenger/8.0.18.2060(0x28001257) Process/appbrand2 WeChat/arm64 Weixin NetType/4G Language/zh_CN ABI/arm64 MiniProgramEnv/android
  37. [HTTP_CHARSET]=utf-8
  38. [HTTP_CONTENT_LENGTH]=200
  39. [HTTP_CONNECTION]=keep-alive
  40. [HTTP_HOST]=api.kuailaiyou.top
  41. [REDIRECT_STATUS]=200
  42. [SERVER_NAME]=api.kuailaiyou.top
  43. [SERVER_PORT]=443
  44. [SERVER_ADDR]=172.18.217.149
  45. [REMOTE_PORT]=15545
  46. [REMOTE_ADDR]=211.94.239.157
  47. [SERVER_SOFTWARE]=nginx/1.20.1
  48. [GATEWAY_INTERFACE]=CGI/1.1
  49. [HTTPS]=on
  50. [REQUEST_SCHEME]=https
  51. [SERVER_PROTOCOL]=HTTP/1.1
  52. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  53. [DOCUMENT_URI]=/ajaxEntryCenter.php
  54. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Worker&WsAjaxAction=entityDataHandle
  55. [SCRIPT_NAME]=/ajaxEntryCenter.php
  56. [CONTENT_LENGTH]=200
  57. [CONTENT_TYPE]=application/json
  58. [REQUEST_METHOD]=POST
  59. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Worker&WsAjaxAction=entityDataHandle
  60. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  61. [FCGI_ROLE]=RESPONDER
  62. [PHP_SELF]=/ajaxEntryCenter.php
  63. [REQUEST_TIME_FLOAT]=1644241700.2593
  64. [REQUEST_TIME]=1644241700
  65. 21:48:29 [error]: 通用的实体数据存取接口异常:数据库执行异常:Column 'id' in where clause is ambiguous
  66. 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=67)>0 as enrolled
  67. from biz_market_activity as bma
  68. left join base_user as cbu on cbu.id=bma.createuserid
  69. left join base_user as ubu on ubu.id=bma.updateuserid
  70. where id=55
  71. ["23000",1052,"Column 'id' in where clause is ambiguous"]
  72. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Worker/entityDataHandle.php]的[150]行 code[0] !
  73. 异常堆栈上下文:
  74. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  75. #1 {main}
  76. 数据库执行异常:Column 'id' in where clause is ambiguous
  77. 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=67)>0 as enrolled
  78. from biz_market_activity as bma
  79. left join base_user as cbu on cbu.id=bma.createuserid
  80. left join base_user as ubu on ubu.id=bma.updateuserid
  81. where id=55
  82. ["23000",1052,"Column 'id' in where clause is ambiguous"]
  83. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  84. 异常堆栈上下文:
  85. #0 /bizroot/approot/klywebapi/base/mysql.php(195): PdoUtil->errhandle()
  86. #1 /bizroot/approot/klywebapi/base/mysql.php(23): PdoUtil->fetch()
  87. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(3531): pdo_fetch()
  88. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Worker/entityDataHandle.php(116): bizbase_mactivityEntityHandle()
  89. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  90. #5 {main}
  91. [上下文相关信息]:
  92. [WsAjaxPrj]=KLY
  93. [WsAjaxBiz]=Worker
  94. [WsAjaxAction]=entityDataHandle
  95. [USER]=nginxphp
  96. [HOME]=/home/nginxphp
  97. [HTTP_REFERER]=https://servicewechat.com/wxcd35a60de7b5942a/0/page-frame.html
  98. [HTTP_ACCEPT_ENCODING]=gzip,compress,br,deflate
  99. [HTTP_CONTENT_TYPE]=application/json
  100. [HTTP_USER_AGENT]=Mozilla/5.0 (Linux; Android 10; AQM-AL10 Build/HONORAQM-AL10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3185 MMWEBSDK/20211202 Mobile Safari/537.36 MMWEBID/8513 MicroMessenger/8.0.18.2060(0x28001257) Process/appbrand2 WeChat/arm64 Weixin NetType/4G Language/zh_CN ABI/arm64 MiniProgramEnv/android
  101. [HTTP_CHARSET]=utf-8
  102. [HTTP_CONTENT_LENGTH]=200
  103. [HTTP_CONNECTION]=keep-alive
  104. [HTTP_HOST]=api.kuailaiyou.top
  105. [REDIRECT_STATUS]=200
  106. [SERVER_NAME]=api.kuailaiyou.top
  107. [SERVER_PORT]=443
  108. [SERVER_ADDR]=172.18.217.149
  109. [REMOTE_PORT]=15546
  110. [REMOTE_ADDR]=211.94.239.157
  111. [SERVER_SOFTWARE]=nginx/1.20.1
  112. [GATEWAY_INTERFACE]=CGI/1.1
  113. [HTTPS]=on
  114. [REQUEST_SCHEME]=https
  115. [SERVER_PROTOCOL]=HTTP/1.1
  116. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  117. [DOCUMENT_URI]=/ajaxEntryCenter.php
  118. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Worker&WsAjaxAction=entityDataHandle
  119. [SCRIPT_NAME]=/ajaxEntryCenter.php
  120. [CONTENT_LENGTH]=200
  121. [CONTENT_TYPE]=application/json
  122. [REQUEST_METHOD]=POST
  123. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Worker&WsAjaxAction=entityDataHandle
  124. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  125. [FCGI_ROLE]=RESPONDER
  126. [PHP_SELF]=/ajaxEntryCenter.php
  127. [REQUEST_TIME_FLOAT]=1644241709.1281
  128. [REQUEST_TIME]=1644241709
  129. 21:48:55 [error]: 通用的实体数据存取接口异常:数据库执行异常:Column 'id' in where clause is ambiguous
  130. 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=67)>0 as enrolled
  131. from biz_market_activity as bma
  132. left join base_user as cbu on cbu.id=bma.createuserid
  133. left join base_user as ubu on ubu.id=bma.updateuserid
  134. where id=53
  135. ["23000",1052,"Column 'id' in where clause is ambiguous"]
  136. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Worker/entityDataHandle.php]的[150]行 code[0] !
  137. 异常堆栈上下文:
  138. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  139. #1 {main}
  140. 数据库执行异常:Column 'id' in where clause is ambiguous
  141. 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=67)>0 as enrolled
  142. from biz_market_activity as bma
  143. left join base_user as cbu on cbu.id=bma.createuserid
  144. left join base_user as ubu on ubu.id=bma.updateuserid
  145. where id=53
  146. ["23000",1052,"Column 'id' in where clause is ambiguous"]
  147. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  148. 异常堆栈上下文:
  149. #0 /bizroot/approot/klywebapi/base/mysql.php(195): PdoUtil->errhandle()
  150. #1 /bizroot/approot/klywebapi/base/mysql.php(23): PdoUtil->fetch()
  151. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutActivity.php(3531): pdo_fetch()
  152. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Worker/entityDataHandle.php(116): bizbase_mactivityEntityHandle()
  153. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  154. #5 {main}
  155. [上下文相关信息]:
  156. [WsAjaxPrj]=KLY
  157. [WsAjaxBiz]=Worker
  158. [WsAjaxAction]=entityDataHandle
  159. [USER]=nginxphp
  160. [HOME]=/home/nginxphp
  161. [HTTP_REFERER]=https://servicewechat.com/wxcd35a60de7b5942a/0/page-frame.html
  162. [HTTP_ACCEPT_ENCODING]=gzip,compress,br,deflate
  163. [HTTP_CONTENT_TYPE]=application/json
  164. [HTTP_USER_AGENT]=Mozilla/5.0 (Linux; Android 10; AQM-AL10 Build/HONORAQM-AL10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3185 MMWEBSDK/20211202 Mobile Safari/537.36 MMWEBID/8513 MicroMessenger/8.0.18.2060(0x28001257) Process/appbrand2 WeChat/arm64 Weixin NetType/4G Language/zh_CN ABI/arm64 MiniProgramEnv/android
  165. [HTTP_CHARSET]=utf-8
  166. [HTTP_CONTENT_LENGTH]=200
  167. [HTTP_CONNECTION]=keep-alive
  168. [HTTP_HOST]=api.kuailaiyou.top
  169. [REDIRECT_STATUS]=200
  170. [SERVER_NAME]=api.kuailaiyou.top
  171. [SERVER_PORT]=443
  172. [SERVER_ADDR]=172.18.217.149
  173. [REMOTE_PORT]=15546
  174. [REMOTE_ADDR]=211.94.239.157
  175. [SERVER_SOFTWARE]=nginx/1.20.1
  176. [GATEWAY_INTERFACE]=CGI/1.1
  177. [HTTPS]=on
  178. [REQUEST_SCHEME]=https
  179. [SERVER_PROTOCOL]=HTTP/1.1
  180. [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
  181. [DOCUMENT_URI]=/ajaxEntryCenter.php
  182. [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Worker&WsAjaxAction=entityDataHandle
  183. [SCRIPT_NAME]=/ajaxEntryCenter.php
  184. [CONTENT_LENGTH]=200
  185. [CONTENT_TYPE]=application/json
  186. [REQUEST_METHOD]=POST
  187. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Worker&WsAjaxAction=entityDataHandle
  188. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  189. [FCGI_ROLE]=RESPONDER
  190. [PHP_SELF]=/ajaxEntryCenter.php
  191. [REQUEST_TIME_FLOAT]=1644241735.6378
  192. [REQUEST_TIME]=1644241735