Database Queries

总计17条数据
TimeDurationTypeQuery
  
17:37:23.6534.0 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd'

17:37:23.6591.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

17:37:23.6622.3 msSELECTSELECT c.*, CASE WHEN count(cm.id) != 0 THEN 1 ELSE null END as mp_open_id FROM "a57be577deb434"."tbl_contacts" "c" LEFT JOIN "a57be577deb434"."tbl_contact_mobiles" "cm" ON c.id = cm.contact_id AND cm.mp_open_id IS NOT NULL WHERE "c"."id"='3642' GROUP BY "c"."id"

17:37:23.6651.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=982

17:37:23.6670.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=3642

17:37:23.6680.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_contact_key_roles" WHERE "contact_id"=3642 ORDER BY "key_role"

17:37:23.6680.4 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

17:37:23.6690.6 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001)

17:37:23.6700.7 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3642

17:37:23.6710.9 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (226, 1, 164, 142, 184, 189, 349)) ORDER BY "sort"

17:37:23.6720.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3642

17:37:23.6720.4 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (226, 1, 164, 142, 184, 189, 349)) ORDER BY "sort"

17:37:23.67327.0 msSELECTSELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=14) AND ("object_id"=3642) GROUP BY "object_id"

17:37:23.7020.6 msSELECTSELECT "id" AS "key", "status" AS "name" FROM "a57be577deb434"."tbl_contact_statuses"

17:37:23.7030.6 msSELECTSELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("is_delete"=FALSE) ORDER BY "sort", "id"

17:37:23.7040.4 msSELECTSELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("is_delete"=FALSE) ORDER BY "sort", "id"

17:37:23.7053.7 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 6, 166, 'v2/contact/get-edit', '{"id":"3642","posttime":"1751881042","access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"6","version_code":"166","token":"7a7cae747a5ec2581852912d0158dd64"}', '{"code":200,"data":{"model":{"id":3642,"name":"\u5218\u4eba\u8bda","email":"","pinyin_shortcut":"lrc","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":982,"supplier_id":null,"created_by":1001,"created_at":"2021-06-30 15:36:59","updated_at":"2022-05-05 09:01:11","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":1,"pinyin1":"liu","pinyin2":"ren","pinyin3":"cheng","pinyin4":null,"namecut1":"\u5218","namecut2":"\u4eba","namecut3":"\u8bda","namecut4":null,"is_mp_bind":true,"client":{"id":982,"name":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","abbr":null,"pinyin_shortcut":"zgxxaqyjs","description":"","corp_rep":"","website":"","capital":null,"established_at":null,"headcount":"","reg_address":null,"working_address":null,"telephone":"01062305540","fax":"","scale":"","branch":"","purchase_scale_per_yr":"0","purchase_freq":"","company_nature":3,"client_class":1,"client_industry":4,"client_type":6,"sales_rep":1001,"main_contact":null,"created_by":5076,"created_at":"2018-05-16 18:55:46","updated_at":"2025-07-04 15:31:55","main_business":"","deleted":false,"capital_currency":"rmb","invoice_info":"","logo":null,"en_name":"","pick_at":"2024-06-27 14:45:57","it_budget":"800","deployment_mode":"","it_per_num":"","public_relations_difficulty":"","it_status":"","decision_process":"","coach":"","competitor":"","peers":"","supplier":"","main_product":"","client_base_info_count":2,"client_key_info_count":1,"contact_count":62,"visit_count":0,"cooperate_count":0,"case_pre_sales_count":0,"case_implement_count":0,"is_overdue_remind":false,"from_contact":null},"supplier":null,"mobiles":[{"id":4282,"contact_id":3642,"mobile":"13501128560","mp_open_id":"oagch6Zg40PW4PKtJZmsSRbK5K8g","mobile_display":"13501128560"}],"keyRoles":[],"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}},"contactKeyRoles":[],"contactAttitude":null,"commentCount":null,"bind_status":1,"bind_status_display":"\u5df2\u8ba4\u8bc1","name_display":"\u5218\u4eba\u8bda","can_update":true,"can_delete":true},"options":[{"key":"Contacts[user_status]","name":"\u7528\u6237\u72b6\u6001","value":[{"key":1,"name":"\u79bb\u804c"},{"key":2,"name":"\u5728\u804c"},{"key":3,"name":"\u5931\u8054"}]},{"key":"Contacts[sex]","name":"sex","value":[{"key":"M","name":"\u7537"},{"key":"F","name":"\u5973"}]},{"key":"Contacts[contactKeyRoles]","name":"\u5173\u952e\u89d2\u8272","value":[{"key":133,"name":"\u603b\u51b3\u7b56\u4eba"},{"key":134,"name":"\u8d22\u52a1\u51b3\u7b56\u4eba"},{"key":135,"name":"\u91c7\u8d2d\u51b3\u7b56\u4eba"},{"key":136,"name":"\u6280\u672f\u51b3\u7b56\u4eba"},{"key":137,"name":"\u4f7f\u7528\u51b3\u7b56\u4eba"},{"key":138,"name":"Coach"},{"key":160,"name":"\u666e\u901a\u4eba"}]},{"key":"Contacts[contactAttitude]","name":"\u5ba2\u6237\u5173\u7cfb","value":[{"key":139,"name":"\u652f\u6301"},{"key":140,"name":"\u4e2d\u7acb"},{"key":141,"name":"\u53cd\u5bf9"}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-07 17:37:23') RETURNING "id"