2021121014_entityDataHandle.log 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. 14:36:13 [error]: 通用的实体数据存取接口异常:数据库执行异常:Unknown column 'btr.biz_traderid' in 'where clause'
  2. sql语句: select bt.*,bu.mobile as bu_mobile,bu.subsystem as subsystem,bu.wxapp_appid,bu.wxapp_openid,bu.wxmina_appid,bu.wxmina_openid ,(select ifnull(avg(result_level),0) from biz_appraisal bapr where bapr.biz_catalog=1 and bapr.toerid=btr.biz_traderid ) as trader_appraisal_avg from biz_trader bt left join base_user bu on bu.id =bt.base_userid where bt.id=:bizUserId limit 1;
  3. ["42S22",1054,"Unknown column 'btr.biz_traderid' in 'where clause'"]
  4. 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Plater/entityDataHandle.php]的[198]行 code[0] !
  5. 异常堆栈上下文:
  6. #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
  7. #1 {main}
  8. 数据库执行异常:Unknown column 'btr.biz_traderid' in 'where clause'
  9. sql语句: select bt.*,bu.mobile as bu_mobile,bu.subsystem as subsystem,bu.wxapp_appid,bu.wxapp_openid,bu.wxmina_appid,bu.wxmina_openid ,(select ifnull(avg(result_level),0) from biz_appraisal bapr where bapr.biz_catalog=1 and bapr.toerid=btr.biz_traderid ) as trader_appraisal_avg from biz_trader bt left join base_user bu on bu.id =bt.base_userid where bt.id=:bizUserId limit 1;
  10. ["42S22",1054,"Unknown column 'btr.biz_traderid' in 'where clause'"]
  11. 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
  12. 异常堆栈上下文:
  13. #0 /bizroot/approot/klywebapi/base/mysql.php(195): PdoUtil->errhandle()
  14. #1 /bizroot/approot/klywebapi/base/mysql.php(23): PdoUtil->fetch()
  15. #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutTrader.php(104): pdo_fetch()
  16. #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Plater/entityDataHandle.php(127): bizbase_traderEntityHandle()
  17. #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
  18. #5 {main}
  19. [上下文相关信息]:
  20. [WsAjaxPrj]=KLY
  21. [WsAjaxBiz]=Plater
  22. [WsAjaxAction]=entityDataHandle
  23. [USER]=nginxphp
  24. [HOME]=/home/nginxphp
  25. [HTTP_ACCEPT_LANGUAGE]=zh-CN,zh;q=0.9
  26. [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
  27. [HTTP_REFERER]=https://admin.kuailaiyou.top/
  28. [HTTP_SEC_FETCH_DEST]=empty
  29. [HTTP_SEC_FETCH_MODE]=cors
  30. [HTTP_SEC_FETCH_SITE]=same-site
  31. [HTTP_ORIGIN]=https://admin.kuailaiyou.top
  32. [HTTP_SEC_CH_UA_PLATFORM]="Windows"
  33. [HTTP_USER_AGENT]=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
  34. [HTTP_SEC_CH_UA_MOBILE]=?0
  35. [HTTP_CONTENT_TYPE]=application/json;charset=UTF-8
  36. [HTTP_ACCEPT]=application/json, text/plain, */*
  37. [HTTP_SEC_CH_UA]="Google Chrome";v="93", " Not;A Brand";v="99", "Chromium";v="93"
  38. [HTTP_CONTENT_LENGTH]=148
  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]=15073
  46. [REMOTE_ADDR]=60.24.227.178
  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=Plater&WsAjaxAction=entityDataHandle
  55. [SCRIPT_NAME]=/ajaxEntryCenter.php
  56. [CONTENT_LENGTH]=148
  57. [CONTENT_TYPE]=application/json;charset=UTF-8
  58. [REQUEST_METHOD]=POST
  59. [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Plater&WsAjaxAction=entityDataHandle
  60. [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
  61. [FCGI_ROLE]=RESPONDER
  62. [PHP_SELF]=/ajaxEntryCenter.php
  63. [REQUEST_TIME_FLOAT]=1639118173.4872
  64. [REQUEST_TIME]=1639118173