Database Queries

总计44条数据
TimeDurationTypeQuery
  
15:51:55.7160.8 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "access_token"='R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC'

15:51:55.7190.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

15:51:55.7331071.6 msSELECTSELECT DISTINCT c.*, CASE WHEN c.sales_rep IS NULL THEN 0 ELSE c.sales_rep END AS sales_rep, CASE WHEN c.sales_rep IS NULL THEN 0 ELSE 1 END AS is_public, CASE WHEN p.id IS NULL THEN false ELSE true END AS cooperated, sl_agg.lost_contact_days, arrive_agg.last_arrive_days, sl_agg.last_contact, cc.notice_days AS notice_days FROM "a57be577deb434"."tbl_clients" "c" LEFT JOIN (SELECT client_id, extract(epoch from (now() - max(end_at))) / 86400 AS last_arrive_days FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("location_in_id" IS NOT NULL) AND ("location_out_id" IS NOT NULL) AND ("client_id" IS NOT NULL) AND ("client_id"='93') GROUP BY "client_id") "arrive_agg" ON arrive_agg.client_id = c.id LEFT JOIN (SELECT client_id, extract(epoch from (now() - max(end_at))) / 86400 AS lost_contact_days, max(end_at) as last_contact FROM "a57be577deb434"."tbl_work_logs" WHERE "client_id"='93' GROUP BY "client_id") "sl_agg" ON sl_agg.client_id = c.id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON p.client_id = c.id AND p.project_status = 3 LEFT JOIN "a57be577deb434"."tbl_client_classes" "cc" ON cc.id = c.client_class WHERE ("c"."id"='93') AND ("c"."deleted"=FALSE)

15:51:56.8058.1 msSELECTSELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_clients' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;

15:51:56.81442.3 msSELECTselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_clients' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum

15:51:56.8683.9 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_types" WHERE "id"=3

15:51:56.8720.8 msSELECTSELECT "id", "id" AS "key", "name", "notice_days", "color", "visit_base" FROM "a57be577deb434"."tbl_client_classes" WHERE "id"=47

15:51:56.8731.6 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_company_natures" WHERE "id"=6

15:51:56.8755.0 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_industries" WHERE "id"=5

15:51:56.8800.3 msSELECTSELECT "id", "id" AS "key", "name", "sex", "client_lock" FROM "a57be577deb434"."tbl_users" WHERE "id"=1005

15:51:56.8810.4 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1005)

15:51:56.8826.7 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=93

15:51:56.8890.6 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=14) AND ("id" IN (212, 213, 97, 105, 115, 130, 179, 142, 319, 369)) ORDER BY "sort"

15:51:56.8901.9 msSELECTSELECT "id", "client_id" FROM "a57be577deb434"."tbl_cases" WHERE ("case_status" NOT IN (5, 6)) AND ("client_id"=93)

15:51:56.8920.3 msSELECTSELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5096

15:51:56.8930.8 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5096)

15:51:56.8940.5 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=1

15:51:56.8950.6 msSELECTSELECT "client_id", count(id) as count FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("client_id"=93) GROUP BY "client_id"

15:51:56.8961.6 msSELECTSELECT "client_id", count(id) as count FROM "a57be577deb434"."tbl_cases" WHERE "client_id"=93 GROUP BY "client_id"

15:51:56.8980.6 msSELECTSELECT "client_id", EXTRACT(epoch FROM sum(end_at - start_at)) /3600 AS hours, count(id) as times FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("scenario_id"=1) AND (("location_in_id" IS NOT NULL) AND ("location_out_id" IS NOT NULL) AND ("client_id" IS NOT NULL)) AND ("client_id"=93) GROUP BY "client_id"

15:51:56.8999.3 msSELECTSELECT "c"."client_id", sum(hours), sum(times) as times FROM "a57be577deb434"."tbl_cases" "c" LEFT JOIN (SELECT "case_id", EXTRACT(epoch FROM sum(left_at - arrived_at)) /3600 AS hours, count(id) as times FROM "a57be577deb434"."tbl_implement_records" WHERE "is_draft"=FALSE GROUP BY "case_id") "i" ON i.case_id = c.id WHERE ("case_type"=2) AND ("c"."client_id"=93) GROUP BY "c"."client_id"

15:51:56.9103.7 msSELECTSELECT "c"."client_id", sum(hours), sum(times) as times FROM "a57be577deb434"."tbl_cases" "c" LEFT JOIN (SELECT "case_id", EXTRACT(epoch FROM sum(end_at - start_at)) /3600 AS hours, count(id) as times FROM "a57be577deb434"."tbl_pre_sales" WHERE "is_draft"=FALSE GROUP BY "case_id") "i" ON i.case_id = c.id WHERE ("case_type"=1) AND ("c"."client_id"=93) GROUP BY "c"."client_id"

15:51:56.9140.5 msSELECTSELECT "client_id", EXTRACT(epoch FROM sum(end_at - start_at)) /3600 AS hours, count(id) as times FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("scenario_id"=2) AND ("client_id"=93) GROUP BY "client_id"

15:51:56.9156.9 msSELECTSELECT "client_id", sum(amount) AS sum FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (2, 3)) AND ("client_id"=93) GROUP BY "client_id"

15:51:56.9224.5 msSELECTSELECT "id", "id" AS "key", "address" AS "name", "client_id" FROM "a57be577deb434"."tbl_client_addresses" WHERE "client_id"=93

15:51:56.9277.8 msSELECTSELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "client_id"=93

15:51:56.9350.4 msSELECTSELECT "id", "id" AS "key", "status" AS "name" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2

15:51:56.9360.4 msSELECTSELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1003, 1005, 5296, 1022, 1023, 5360)

15:51:56.9371.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (1101, 4701, 5181, 5201, 5182, 5233, 5793, 5847, 5842, 5876, 5983, 6136)

15:51:56.938343.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (1101, 4701, 5181, 5201, 5182, 5233, 5793, 5847, 5842, 5876, 5983, 6136)

15:51:57.2830.7 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (102, 184, 187, 165, 179, 142, 189, 135, 140, 160, 137, 139, 136, 2, 141, 93, 327, 231, 5, 207, 229, 1, 224, 223, 214, 8, 219, 9, 208, 210, 211, 226, 227, 7, 216, 6, 228, 11, 209, 94, 217, 230, 213, 221, 225, 212, 215, 153, 183, 190, 307, 203, 197, 199, 185, 319, 349, 356, 371, 377, 348, 332, 363, 369, 367)) ORDER BY "sort"

15:51:57.2840.8 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (1101, 4701, 5181, 5201, 5182, 5233, 5793, 5847, 5842, 5876, 5983, 6136)

15:51:57.2850.7 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (102, 184, 187, 165, 179, 142, 189, 135, 140, 160, 137, 139, 136, 2, 141, 93, 327, 231, 5, 207, 229, 1, 224, 223, 214, 8, 219, 9, 208, 210, 211, 226, 227, 7, 216, 6, 228, 11, 209, 94, 217, 230, 213, 221, 225, 212, 215, 153, 183, 190, 307, 203, 197, 199, 185, 319, 349, 356, 371, 377, 348, 332, 363, 369, 367)) ORDER BY "sort"

15:51:57.28628.1 msSELECTSELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=10) AND ("object_id"=93) GROUP BY "object_id"

15:51:57.31418.8 msSELECTSELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=10) AND (("remind_user_id"=1000) AND ("is_read"=FALSE)) AND ("object_id"=93) GROUP BY "object_id"

15:51:57.3340.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_client_address_rels" WHERE "client_id"=93

15:51:57.3347.0 msSELECTSELECT *, geolocation[0] AS lng, geolocation[1] AS lat FROM "a57be577deb434"."tbl_addresses" WHERE ("address2" != '') AND ("address2" IS NOT NULL) AND ("id" IN (4069, 4070, 4071, 4072, 4073))

15:51:57.3462.6 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" "c" WHERE (("c"."sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("c"."sales_rep" IS NULL) OR ("c"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))) AND ("c"."id"=93))

15:51:57.3550.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

15:51:57.3590.5 msSELECTSELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_types" WHERE ("is_delete"=FALSE) OR ("id"=3) ORDER BY "order"

15:51:57.3590.5 msSELECTSELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE ("is_delete"=FALSE) OR ("id"=47) ORDER BY "order"

15:51:57.3600.5 msSELECTSELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_company_natures" WHERE ("is_delete"=FALSE) OR ("id"=6) ORDER BY "order"

15:51:57.3610.4 msSELECTSELECT "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_industries" WHERE ("is_delete"=FALSE) OR ("id"=5) ORDER BY "order"

15:51:57.3642.1 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1000, 2, 1159, 'v2/client/get-edit', '{"access_token":"R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC","device_type":"2","id":"93","posttime":"1781250688","token":"489d997785d55e96641c937a90bbaa91","version_code":"1159"}', '{"code":200,"data":{"model":{"id":93,"name":"\u5eb7\u9f99\u5316\u6210(\u5317\u4eac)\u65b0\u836f\u6280\u672f\u80a1\u4efd\u6709\u9650\u516c\u53f8","abbr":null,"pinyin_shortcut":"klhcbjxyjsgfyxgs","description":"\u7535\u8bdd\u53ef\u4ee5\u63a5\u901a\uff0c\u4f46\u662f\u90a3\u8fb9\u4fe1\u53f7\u4e0d\u597d\u8fd8\u662f\u600e\u4e48\uff0c\u8054\u7cfb\u4e24\u6b21\u90fd\u662f\u540c\u6837\u7684\u60c5\u51b5\uff0c\u545c\u545c\u5566\u5566\u6ca1\u4eba\u8bf4\u8bdd\u3002","corp_rep":"\u697c\u67cf\u826f ","website":"http:\/\/www.pharmaron.com\/","capital":"59066.3575","established_at":"2004-07-01","headcount":"1200","reg_address":203,"working_address":null,"telephone":"010-57330000 ","fax":"","scale":"","branch":"\u5eb7\u9f99\u5316\u6210\uff08\u5317\u4eac\uff09\u65b0\u836f\u6280\u672f\u6709\u9650\u516c\u53f8\u901a\u5dde\u5206\u516c\u53f8","purchase_scale_per_yr":"50","purchase_freq":"","company_nature":6,"client_class":47,"client_industry":5,"client_type":3,"sales_rep":1005,"main_contact":null,"created_by":5096,"created_at":"2017-02-21 12:42:50","updated_at":"2026-06-05 11:26:50","main_business":"\u533b\u836f\u751f\u4ea7","deleted":false,"capital_currency":"rmb","invoice_info":"","logo":"","en_name":"","pick_at":"2023-07-10 10:54:08","it_budget":"","deployment_mode":"","it_per_num":"","public_relations_difficulty":"","it_status":"","decision_process":"","coach":"","competitor":"","peers":"","supplier":"","main_product":"","client_base_info_count":7,"client_key_info_count":2,"contact_count":12,"visit_count":0,"cooperate_count":1,"case_pre_sales_count":0,"case_implement_count":5,"is_overdue_remind":true,"from_contact":null,"tax_no":null,"is_public":1,"cooperated":true,"lost_contact_days":"106.17495123044","last_arrive_days":"177.946027619329","last_contact":"2026-02-26 11:40:00","notice_days":30,"workingAddress":null,"clientType":{"id":3,"key":3,"name":"\u4e2a\u4eba\u6d88\u8d39\u8005"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237","notice_days":30,"color":"#EB13C3","visit_base":10},"companyNature":{"id":6,"key":6,"name":"\u5916\u8d44\u4f01\u4e1a"},"clientIndustry":{"id":5,"key":5,"name":"\u5236\u9020"},"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","client_lock":false,"avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"}},"clientFrom":null,"unCloseCases":[],"createdBy":{"id":5096,"key":5096,"name":"\u674e\u6c5f\u661f","sex":"F","department_id":1,"avatar":{"id":55,"user_id":5096,"name":"\/files\/cdn\/a57be577deb434\/avatar\/dfb8e15a-c62e-3531-a805-e436f46176e6.jpg"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"workLogCount":{"client_id":93,"count":74},"caseCount":{"client_id":93,"count":125},"salesTimeCount":{"client_id":93,"hours":"24.5825","times":36},"implementTimeCount":{"client_id":93,"sum":"464.299722222222","times":"104"},"presalesTimeCount":{"client_id":93,"sum":"38.0088888888889","times":"18"},"engineerTimeCount":null,"reimbursementAmountSum":{"client_id":93,"sum":"10768.57"},"addresses":[{"id":82,"key":82,"name":"\u5317\u4eac\u5e02\u5317\u4eac\u7ecf\u6d4e\u6280\u672f\u5f00\u53d1\u533a\u6cf0\u6cb3\u8def6\u53f71\u5e62\u516b\u5c42","client_id":93}],"contacts":[{"id":1101,"name":"\u5b59\u5251\u950b","email":"","pinyin_shortcut":"sjf","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":93,"supplier_id":null,"created_by":1003,"created_at":"2017-09-12 08:21:58","updated_at":"2021-11-23 10:36:43","user_status":2,"description":"\u54ea\u6765\u7684\u7535\u8bdd\uff0c\u4ee5\u540e\u4e0d\u8981\u518d\u6253\u4e86","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"sun","pinyin2":"jian","pinyin3":"feng","pinyin4":null,"namecut1":"\u5b59","namecut2":"\u5251","namecut3":"\u950b","namecut4":null,"is_mp_bind":null,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1003,"key":1003,"name":"\u5415\u5174\u5143","sex":"M","user_status":"-1"},"mobiles":[{"id":1092,"contact_id":1101,"mobile":"18911772166","mp_open_id":null}],"contactKeyRoles":[{"id":136,"key":136,"name":"\u6280\u672f\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":141,"key":141,"name":"\u53cd\u5bf9"}},{"id":4701,"name":"\u5218\u6653\u51cc","email":"xiaoling.liu@pharmaron.com","pinyin_shortcut":"lxl","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"57330000","client_id":93,"supplier_id":null,"created_by":1005,"created_at":"2023-07-16 17:56:44","updated_at":"2024-09-03 14:02:32","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"liu","pinyin2":"xiao","pinyin3":"ling","pinyin4":null,"namecut1":"\u5218","namecut2":"\u6653","namecut3":"\u51cc","namecut4":null,"is_mp_bind":true,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","user_status":"1"},"mobiles":[{"id":5509,"contact_id":4701,"mobile":"18601034651","mp_open_id":"oagch6Z9oHFEx7_v9jzvSrokypoU"}],"contactKeyRoles":[{"id":136,"key":136,"name":"\u6280\u672f\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":139,"key":139,"name":"\u652f\u6301"}},{"id":5181,"name":"\u4efb\u53f6\u8f89","email":"","pinyin_shortcut":"ryh","sex":"M","birth_date":null,"department":"","job_position":"\u6280\u672f\u5de5\u7a0b\u5e08","mobile":"","telephone":"","client_id":93,"supplier_id":null,"created_by":1005,"created_at":"2024-01-23 11:50:38","updated_at":"2024-01-23 11:50:38","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"ren","pinyin2":"ye","pinyin3":"hui","pinyin4":null,"namecut1":"\u4efb","namecut2":"\u53f6","namecut3":"\u8f89","namecut4":null,"is_mp_bind":true,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","user_status":"1"},"mobiles":[{"id":5969,"contact_id":5181,"mobile":"18301451285","mp_open_id":"oagch6TrH5pF-sZzMkwGjjSNeohg"}],"contactKeyRoles":[],"contactAttitude":{"id":140,"key":140,"name":"\u4e2d\u7acb"}},{"id":5201,"name":"\u5f90\u8f89","email":"","pinyin_shortcut":"xh","sex":"M","birth_date":null,"department":"","job_position":"\u6280\u672f","mobile":"","telephone":"57330000","client_id":93,"supplier_id":null,"created_by":1005,"created_at":"2024-01-31 17:15:10","updated_at":"2024-12-11 13:41:07","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"010","telephone_extension_number":"","mp_open_id":null,"pinyin1":"xu","pinyin2":"hui","pinyin3":null,"pinyin4":null,"namecut1":"\u5f90","namecut2":"\u8f89","namecut3":null,"namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","user_status":"1"},"mobiles":[{"id":5989,"contact_id":5201,"mobile":"18910065517","mp_open_id":null}],"contactKeyRoles":[{"id":137,"key":137,"name":"\u4f7f\u7528\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":139,"key":139,"name":"\u652f\u6301"}},{"id":5182,"name":"\u5b59\u96ea\u5a67","email":"","pinyin_shortcut":"sxj","sex":"M","birth_date":null,"department":"","job_position":"\u8d44\u4ea7\u8c03\u914d","mobile":"","telephone":"","client_id":93,"supplier_id":null,"created_by":1005,"created_at":"2024-01-23 11:51:18","updated_at":"2024-01-23 11:51:18","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"sun","pinyin2":"xue","pinyin3":"jing","pinyin4":null,"namecut1":"\u5b59","namecut2":"\u96ea","namecut3":"\u5a67","namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","user_status":"1"},"mobiles":[{"id":5970,"contact_id":5182,"mobile":"13436788133","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null},{"id":5233,"name":"\u5f20\u5b50\u5cb3","email":"","pinyin_shortcut":"zzy","sex":"M","birth_date":null,"department":"","job_position":"\u6280\u672f\u5de5\u7a0b\u5e08","mobile":"","telephone":"","client_id":93,"supplier_id":null,"created_by":5296,"created_at":"2024-03-12 21:06:05","updated_at":"2024-03-12 21:07:25","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"zhang","pinyin2":"zi","pinyin3":"yue","pinyin4":null,"namecut1":"\u5f20","namecut2":"\u5b50","namecut3":"\u5cb3","namecut4":null,"is_mp_bind":true,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":5296,"key":5296,"name":"\u8d75\u5b87","sex":"M","user_status":"-1"},"mobiles":[{"id":6022,"contact_id":5233,"mobile":"15801415393","mp_open_id":"oagch6UX6EgAPHG2NBsLgSwNF2PA"}],"contactKeyRoles":[{"id":160,"key":160,"name":"\u666e\u901a\u4eba"}],"contactAttitude":null},{"id":5793,"name":"\u6881\u6b63","email":"","pinyin_shortcut":"lz","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":93,"supplier_id":null,"created_by":1022,"created_at":"2024-06-05 18:30:48","updated_at":"2024-06-05 18:30:48","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"liang","pinyin2":"zheng","pinyin3":null,"pinyin4":null,"namecut1":"\u6881","namecut2":"\u6b63","namecut3":null,"namecut4":null,"is_mp_bind":true,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1022,"key":1022,"name":"\u5f90\u7855","sex":"M","user_status":"1"},"mobiles":[{"id":6586,"contact_id":5793,"mobile":"18610298995","mp_open_id":"oagch6aBrbhNPvMfokuVmtgGIOLw"}],"contactKeyRoles":[],"contactAttitude":null},{"id":5847,"name":"\u5f20\u7389\u6885","email":"Yumei.zhang@pharmaron.com","pinyin_shortcut":"zym","sex":"F","birth_date":null,"department":"\u91c7\u8d2d\u90e8","job_position":"\u91c7\u8d2d\u7ecf\u7406","mobile":"","telephone":"","client_id":93,"supplier_id":null,"created_by":1005,"created_at":"2024-08-12 11:41:11","updated_at":"2024-08-12 11:41:11","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"zhang","pinyin2":"yu","pinyin3":"mei","pinyin4":null,"namecut1":"\u5f20","namecut2":"\u7389","namecut3":"\u6885","namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","user_status":"1"},"mobiles":[{"id":6640,"contact_id":5847,"mobile":"13520635417","mp_open_id":null}],"contactKeyRoles":[{"id":135,"key":135,"name":"\u91c7\u8d2d\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":140,"key":140,"name":"\u4e2d\u7acb"}},{"id":5842,"name":"\u4f55\u5ca9","email":"","pinyin_shortcut":"hy","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":93,"supplier_id":null,"created_by":1023,"created_at":"2024-08-07 16:06:40","updated_at":"2024-08-07 16:06:40","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"he","pinyin2":"yan","pinyin3":null,"pinyin4":null,"namecut1":"\u4f55","namecut2":"\u5ca9","namecut3":null,"namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1023,"key":1023,"name":"\u5468\u5b50\u5065","sex":"M","user_status":"1"},"mobiles":[{"id":6635,"contact_id":5842,"mobile":"18910065569","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null},{"id":5876,"name":"\u51af\u5b66\u9e4f","email":"xuepeng.feng@pharmaron.com","pinyin_shortcut":"fxp","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":93,"supplier_id":null,"created_by":1005,"created_at":"2024-09-13 13:27:00","updated_at":"2024-09-13 13:27:00","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"feng","pinyin2":"xue","pinyin3":"peng","pinyin4":null,"namecut1":"\u51af","namecut2":"\u5b66","namecut3":"\u9e4f","namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","user_status":"1"},"mobiles":[{"id":6667,"contact_id":5876,"mobile":"18611394482","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null},{"id":5983,"name":"\u8d75\u79b9\u6850","email":"yutong.zhao@pharmaron.com","pinyin_shortcut":"zyt","sex":"M","birth_date":null,"department":"\u91c7\u8d2d\u90e8","job_position":"\u91c7\u8d2d","mobile":"","telephone":"","client_id":93,"supplier_id":null,"created_by":1005,"created_at":"2025-01-15 11:17:59","updated_at":"2025-03-05 13:35:07","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"zhao","pinyin2":"yu","pinyin3":"tong","pinyin4":null,"namecut1":"\u8d75","namecut2":"\u79b9","namecut3":"\u6850","namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","user_status":"1"},"mobiles":[{"id":6770,"contact_id":5983,"mobile":"19525486256","mp_open_id":null}],"contactKeyRoles":[{"id":160,"key":160,"name":"\u666e\u901a\u4eba"}],"contactAttitude":null},{"id":6136,"name":"\u51af\u6d77\u4fa0","email":"","pinyin_shortcut":"fhx","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":93,"supplier_id":null,"created_by":5360,"created_at":"2025-09-02 09:18:53","updated_at":"2025-09-02 09:18:53","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"feng","pinyin2":"hai","pinyin3":"xia","pinyin4":null,"namecut1":"\u51af","namecut2":"\u6d77","namecut3":"\u4fa0","namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":5360,"key":5360,"name":"\u5f20\u7ea2\u82b3","sex":"F","user_status":"1"},"mobiles":[{"id":6917,"contact_id":6136,"mobile":"17320765603","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null}],"commentCount":{"object_id":93,"comment":20},"unreadComments":null,"fromContact":null,"workingAddresses":[{"id":4069,"name":"\u5eb7\u9f99\u5316\u6210(\u5317\u4eac)\u65b0\u836f\u6280\u672f\u80a1\u4efd\u6709\u9650\u516c\u53f8","address1":"\u5317\u4eac\u5e02\u5317\u4eac\u7ecf\u6d4e\u6280\u672f\u5f00\u53d1\u533a\u6cf0\u6cb3\u8def6\u53f71\u5e62\u516b\u5c42","address2":"\u5317\u4eac\u5e02\u5927\u5174\u533a\u6cf0\u6cb3\u8def6\u53f7","state":"\u5317\u4eac\u5e02","city":"\u5e02\u8f96\u533a","region":"\u5927\u5174\u533a","zip":null,"country":"\u4e2d\u56fd","geolocation":"(116.5236,39.7551)","created_by":1005,"created_at":"2025-01-14 09:55:39","updated_at":"2025-01-14 09:55:39","state_id":110000,"city_id":110100,"region_id":110115,"country_id":1,"lng":"116.5236","lat":"39.7551"},{"id":4070,"name":"\u5eb7\u9f99\u5316\u6210(\u5317\u4eac)\u65b0\u836f\u6280\u672f\u80a1\u4efd\u6709\u9650\u516c\u53f8","address1":"\u5317\u4eac\u5e02\u660c\u5e73\u533a\u751f\u547d\u56ed\u8def32\u53f7","address2":"\u79d1\u5b66\u56ed\u8def32\u53f7","state":"\u5317\u4eac\u5e02","city":"\u5e02\u8f96\u533a","region":"\u660c\u5e73\u533a","zip":null,"country":"\u4e2d\u56fd","geolocation":"(116.2812,40.09549)","created_by":1005,"created_at":"2025-01-14 09:55:39","updated_at":"2025-01-14 09:55:39","state_id":110000,"city_id":110100,"region_id":110114,"country_id":1,"lng":"116.2812","lat":"40.09549"},{"id":4071,"name":"\u5eb7\u9f99\u5316\u6210(\u5317\u4eac)\u65b0\u836f\u6280\u672f\u80a1\u4efd\u6709\u9650\u516c\u53f8","address1":"\u5317\u4eac\u5e02\u5927\u5174\u533a\u534e\u4f57\u8def51\u53f7","address2":"\u534e\u4f57\u8def51","state":"\u5317\u4eac\u5e02","city":"\u5e02\u8f96\u533a","region":"\u5927\u5174\u533a","zip":null,"country":"\u4e2d\u56fd","geolocation":"(116.288,39.67292)","created_by":1005,"created_at":"2025-01-14 09:55:39","updated_at":"2025-01-14 09:55:39","state_id":110000,"city_id":110100,"region_id":110115,"country_id":1,"lng":"116.288","lat":"39.67292"},{"id":4072,"name":"\u5eb7\u9f99\u5316\u6210(\u5317\u4eac)\u65b0\u836f\u6280\u672f\u80a1\u4efd\u6709\u9650\u516c\u53f8","address1":"\u5317\u4eac\u5e02\u5927\u5174\u533a\u878d\u5174\u5317\u4e8c\u8857\u4e0e\u745e\u5408\u897f\u4e8c\u8def\u4ea4\u53c9\u53e3\u4e1c220\u7c73","address2":"\u5317\u4eac\u7ecf\u6d4e\u6280\u672f\u5f00\u53d1\u533a\u745e\u5408\u897f\u4e8c\u8def8\u53f7\u9662\u5317\u4eac\u4ea6\u5e84\u7ec6\u80de\u6cbb\u7597\u7814\u53d1\u4e2d\u8bd5\u57fa\u5730(\u4e1c\u95e8)","state":"\u5317\u4eac\u5e02","city":"\u5e02\u8f96\u533a","region":"\u5927\u5174\u533a","zip":null,"country":"\u4e2d\u56fd","geolocation":"(116.4987,39.72636)","created_by":1005,"created_at":"2025-01-14 09:55:39","updated_at":"2025-01-14 09:55:39","state_id":110000,"city_id":110100,"region_id":110115,"country_id":1,"lng":"116.4987","lat":"39.72636"},{"id":4073,"name":"\u5eb7\u9f99\u5316\u6210(\u5317\u4eac)\u65b0\u836f\u6280\u672f\u80a1\u4efd\u6709\u9650\u516c\u53f8","address1":"\u5317\u4eac\u5e02\u5927\u5174\u533a\u5174\u6d77\u4e8c\u88575\u53f7","address2":"\u5174\u6d77\u4e8c\u88575\u53f7\u9662","state":"\u5317\u4eac\u5e02","city":"\u5e02\u8f96\u533a","region":"\u5927\u5174\u533a","zip":null,"country":"\u4e2d\u56fd","geolocation":"(116.4971,39.74537)","created_by":1005,"created_at":"2025-01-14 09:55:39","updated_at":"2025-01-14 09:55:39","state_id":110000,"city_id":110100,"region_id":110115,"country_id":1,"lng":"116.4971","lat":"39.74537"}],"unread":0,"lost_contact_days_display":"3\u4e2a\u6708\u524d","last_arrive_days_display":null,"bgcolor":"#EB13C3","overdue_display":"\u903e\u671f77\u5929\u672a\u8054\u7cfb","last_arrive_overdue_display":"\u903e\u671f168\u5929\u672a\u62dc\u8bbf","can_pick_up":false,"can_transfer":true,"can_update":true,"can_delete":false,"can_give_up":true,"can_create_contact":true,"can_edit_contact":true,"object_type":10,"can_create_reimbursement":true,"can_create_schedule":true,"can_create_work_log":true},"options":[{"key":"sales_rep","name":"\u5ba2\u6237\u7ecf\u7406","value":[{"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"}]},{"key":"client_industry","name":"\u5ba2\u6237\u884c\u4e1a","value":[{"key":57,"name":"EDA\/CAE"},{"key":1,"name":"\u653f\u5e9c"},{"key":25,"name":"\u6559\u80b2\uff08\u673a\u6784\uff09"},{"key":2,"name":"\u6559\u80b2\uff08\u9ad8\u6821\uff09"},{"key":24,"name":"\u6559\u80b2\uff08\u666e\u6559\uff09"},{"key":3,"name":"\u533b\u7597"},{"key":4,"name":"\u901a\u4fe1"},{"key":5,"name":"\u5236\u9020"},{"key":58,"name":"\u519b\u5de5"},{"key":6,"name":"\u7535\u5546"},{"key":7,"name":"\u9152\u5e97"},{"key":8,"name":"\u7269\u6d41"},{"key":9,"name":"\u5730\u4ea7"},{"key":10,"name":"\u91d1\u878d"},{"key":11,"name":"\u4ea4\u901a"},{"key":12,"name":"\u5e7f\u544a"},{"key":13,"name":"SI\/ISV"},{"key":14,"name":"\u5e7f\u7535"},{"key":15,"name":"\u7535\u529b"},{"key":16,"name":"\u80fd\u6e90"},{"key":17,"name":"\u96f6\u552e"},{"key":18,"name":"\u5a92\u4f53"},{"key":19,"name":"OTT"},{"key":20,"name":"\u5176\u4ed6"},{"key":59,"name":"\u8d38\u6613"}]},{"key":"company_nature","name":"\u516c\u53f8\u6027\u8d28","value":[{"key":1,"name":"\u56fd\u6709\u4e0a\u5e02"},{"key":2,"name":"\u6c11\u8425\u4e0a\u5e02"},{"key":3,"name":"\u56fd\u6709\u4f01\u4e1a"},{"key":4,"name":"\u6c11\u8425\u4f01\u4e1a"},{"key":6,"name":"\u5916\u8d44\u4f01\u4e1a"}]},{"key":"client_class","name":"\u5ba2\u6237\u7ea7\u522b","value":[{"key":1,"name":"\u6838\u5fc3\u5ba2\u6237"},{"key":80,"name":"\u7a33\u5b9a\u5ba2\u6237"},{"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},{"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"}]},{"key":"client_type","name":"\u5ba2\u6237\u6027\u8d28","value":[{"key":1,"name":"\u836f\u54c1\u6279\u53d1\u4f01\u4e1a\uff08\u5168\u8d44\u8d28\uff09"},{"key":6,"name":"\u836f\u54c1\u6279\u53d1\u4f01\u4e1a\uff08\u666e\u901a\uff09"},{"key":5,"name":"\u836f\u54c1\u96f6\u552e\u4f01\u4e1a\uff08\u5355\u4f53\uff09"},{"key":3,"name":"\u4e2a\u4eba\u6d88\u8d39\u8005"}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"223.104.41.38","ua":"jinchangxiao\/2.3.156 (iPhone 12; iOS 26.5; Scale\/3.00)"}', FALSE, '2026-06-12 15:51:57', 1748928000) RETURNING "id"