All Latest
6a217a9aecad4: POST https://beta.jinchangxiao.com/vue/source/list at 2026-06-04 09:16:10 pm by 111.194.208.14

Performance Profiling

Total processing time: 82 ms; Peak memory: 5.306 MB. Show Profiling Timeline

总计21条数据
TimeDurationCategoryInfo
  
21:16:10.98539.1 msyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=21) AND ("object_id" IN (593, 587, 586)) GROUP BY "object_id"
21:16:11.02619.3 msyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=21) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id" IN (593, 587, 586)) GROUP BY "object_id"
21:16:10.9791.8 msyii\db\Command::querySELECT COUNT(*) FROM (SELECT s.* FROM "a57be577deb434"."tbl_sources" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON "p"."id" = "s"."project_id" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "s"."created_by" WHERE ((("client"."sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 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 ("client"."sales_rep" IS NULL)) OR (("s"."sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 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 ("s"."sales_rep" IS NULL)) OR ("client"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001))) AND ("s"."status"='0') GROUP BY "s"."id" ORDER BY s.status ASC , "s"."created_at" DESC) "c"
21:16:11.0471.7 msyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/source/list', '{"SourceSearch":{"period":"","status":"0","sourceProductTypes":"","created_by":"","distribute_by":"","sales_rep":""},"Filter":{"name":"","sort":"DESC"},"page":"1","web_access_token":"ROro5dfSSS00h8isamNfV7qu7bppSyw4"}', '{"code":2000,"result":{"list":[{"id":593,"client_name":"\u4e9a\u8428\u5408\u83b1\uff08\u4e2d\u56fd\uff09\u6295\u8d44\u6709\u9650\u516c\u53f8","contact_name":"\u595a\u9759\u5cf0","contact_sex":"M","contact_mobile":"13816808912","telephone":"","telephone_area_code":"","telephone_extension_number":"","project_description":"\uff08\u672a\u8bbe\u7f6e\uff09","projects_opportunity_from":"","sales_rep":"","project_id":"","client_id":3407,"contact_id":6165,"distribute_by":"","distribute_at":"","created_by":1001,"created_at":"2026-06-04 21:16:06","updated_at":"2026-06-04 21:16:06","company_nature":4,"status":0,"from_contact":"","client_type":5,"client_industry":10,"client_class":43,"project_status":2,"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"client":{"id":3407,"key":3407,"name":"\u4e9a\u8428\u5408\u83b1(\u4e2d\u56fd)\u6295\u8d44\u6709\u9650\u516c\u53f8"},"project":{},"projectStatus":{"id":2,"key":2,"name":"\u660e\u786e\u9700\u6c42","color":"#0064ec"},"commentCount":{"object_id":593,"comment":1},"opportunityFrom":{},"salesRep":{},"distributeBy":"","sourceProductTypes":[{"id":2,"product_type_id":2,"key":2,"name":"\u670d\u52a1\u5668","description":"","source_id":593}],"haveRefused":{},"companyNature":{"id":4,"key":4,"name":"\u6c11\u8425\u4f01\u4e1a"},"unreadComments":{},"fromContact":"","clientType":{"id":5,"key":5,"name":"\u836f\u54c1\u96f6\u552e\u4f01\u4e1a\uff08\u5355\u4f53\uff09"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237","notice_days":60,"color":"#1EE6DC","visit_base":15},"clientIndustry":{"id":10,"key":10,"name":"\u91d1\u878d"},"telephone_display":"(\u672a\u8bbe\u7f6e)","can_distribute":true,"can_update":true,"can_delete":true,"sex_display":"\u7537","status_display":"\u5f85\u5206\u914d","bgcolor":"#00B7EE"},{"id":587,"client_name":"\u5317\u4eac\u7279\u79cd\u673a\u68b0\u7814\u7a76\u6240(8359)-S","contact_name":"\u9648\u5eb7","contact_sex":"M","contact_mobile":"13693264768","telephone":"","telephone_area_code":"","telephone_extension_number":"","project_description":"544 5","projects_opportunity_from":"","sales_rep":"","project_id":"","client_id":391,"contact_id":896,"distribute_by":"","distribute_at":"","created_by":1001,"created_at":"2026-06-02 16:55:09","updated_at":"2026-06-02 16:55:09","company_nature":3,"status":0,"from_contact":"","client_type":1,"client_industry":20,"client_class":43,"project_status":2,"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"client":{"id":391,"key":391,"name":"\u5317\u4eac\u7279\u79cd\u673a\u68b0\u7814\u7a76\u6240(8359)-S"},"project":{},"projectStatus":{"id":2,"key":2,"name":"\u660e\u786e\u9700\u6c42","color":"#0064ec"},"commentCount":{"object_id":587,"comment":1},"opportunityFrom":{},"salesRep":{},"distributeBy":"","sourceProductTypes":[{"id":2,"product_type_id":2,"key":2,"name":"\u670d\u52a1\u5668","description":"","source_id":587}],"haveRefused":{},"companyNature":{"id":3,"key":3,"name":"\u56fd\u6709\u4f01\u4e1a"},"unreadComments":{},"fromContact":"","clientType":{"id":1,"key":1,"name":"\u836f\u54c1\u6279\u53d1\u4f01\u4e1a\uff08\u5168\u8d44\u8d28\uff09"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237","notice_days":60,"color":"#1EE6DC","visit_base":15},"clientIndustry":{"id":20,"key":20,"name":"\u5176\u4ed6"},"telephone_display":"(\u672a\u8bbe\u7f6e)","can_distribute":true,"can_update":true,"can_delete":true,"sex_display":"\u7537","status_display":"\u5f85\u5206\u914d","bgcolor":"#00B7EE"},{"id":586,"client_name":"13244445555","contact_name":"44","contact_sex":"M","contact_mobile":"13244445559","telephone":"","telephone_area_code":"","telephone_extension_number":"","project_description":"13244445555","projects_opportunity_from":"","sales_rep":"","project_id":"","client_id":"","contact_id":"","distribute_by":"","distribute_at":"","created_by":1001,"created_at":"2026-06-02 16:54:33","updated_at":"2026-06-02 16:54:33","company_nature":1,"status":0,"from_contact":"","client_type":1,"client_industry":57,"client_class":1,"project_status":1,"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"client":{},"project":{},"projectStatus":{"id":1,"key":1,"name":"\u9690\u6027\u9700\u6c42","color":"#ffc000"},"commentCount":{"object_id":586,"comment":1},"opportunityFrom":{},"salesRep":{},"distributeBy":"","sourceProductTypes":[{"id":2,"product_type_id":2,"key":2,"name":"\u670d\u52a1\u5668","description":"","source_id":586}],"haveRefused":{},"companyNature":{"id":1,"key":1,"name":"\u56fd\u6709\u4e0a\u5e02"},"unreadComments":{},"fromContact":"","clientType":{"id":1,"key":1,"name":"\u836f\u54c1\u6279\u53d1\u4f01\u4e1a\uff08\u5168\u8d44\u8d28\uff09"},"clientClass":{"id":1,"key":1,"name":"\u6838\u5fc3\u5ba2\u6237","notice_days":10,"color":"#E89F0E","visit_base":7},"clientIndustry":{"id":57,"key":57,"name":"EDA\/CAE"},"telephone_display":"(\u672a\u8bbe\u7f6e)","can_distribute":true,"can_update":true,"can_delete":true,"sex_display":"\u7537","status_display":"\u5f85\u5206\u914d","bgcolor":"#00B7EE"}],"can_create":true,"can_create_contact":true,"pagenation":{"totalcount":3,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"111.194.208.14","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:140.0) Gecko\/20100101 Firefox\/140.0"}', FALSE, '2026-06-04 21:16:11', 76697088) RETURNING "id"
21:16:10.9811.3 msyii\db\Command::querySELECT s.* FROM "a57be577deb434"."tbl_sources" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON "p"."id" = "s"."project_id" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "s"."created_by" WHERE ((("client"."sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 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 ("client"."sales_rep" IS NULL)) OR (("s"."sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 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 ("s"."sales_rep" IS NULL)) OR ("client"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001))) AND ("s"."status"='0') GROUP BY "s"."id" ORDER BY s.status ASC , "s"."created_at" DESC LIMIT 20
21:16:10.9720.7 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
21:16:10.9730.5 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
21:16:11.0250.4 msyii\db\Command::querySELECT "source_id", count(*) AS count FROM "a57be577deb434"."tbl_source_refuse_logs" WHERE (user_id = 1001) AND ("source_id" IN (593, 587, 586)) GROUP BY "source_id"
21:16:10.9780.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
21:16:10.9740.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
21:16:10.9840.3 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001)
21:16:10.9840.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4
21:16:10.9710.3 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
21:16:11.0250.3 msyii\db\Command::querySELECT "id", "product_type_id", "product_type_id" AS "key", "name", "description", "source_id" FROM "a57be577deb434"."tbl_source_product_types" WHERE "source_id" IN (593, 587, 586)
21:16:10.9830.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
21:16:10.9850.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (3407, 391)
21:16:11.0460.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "notice_days", "color", "visit_base" FROM "a57be577deb434"."tbl_client_classes" WHERE "id" IN (43, 1)
21:16:11.0450.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_types" WHERE "id" IN (5, 1)
21:16:11.0260.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_company_natures" WHERE "id" IN (4, 3, 1)
21:16:11.0460.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_industries" WHERE "id" IN (10, 20, 57)
21:16:10.9850.2 msyii\db\Command::querySELECT "id", "id" AS "key", "project_status" AS "name", "color" FROM "a57be577deb434"."tbl_project_statuses" WHERE "id" IN (2, 1)