Time | Duration | Type | Query |
---|---|---|---|
10:02:50.630 | 2.6 ms | SELECT | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='hLtdglndkreOmfJjmOe7Mve0kQO2lAQu' |
10:02:50.633 | 1.4 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:02:50.635 | 1.6 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1565' |
10:02:50.637 | 0.2 ms | SELECT | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:02:50.638 | 0.4 ms | SELECT | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000) |
10:02:50.638 | 0.4 ms | SELECT | SELECT "id", "id" AS "key", "title" AS "name", "project_id", "client_id", "head_of", "status", "target_completed_at" FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=195 |
10:02:50.639 | 0.5 ms | SELECT | SELECT "id", "id" AS "key", "name", "sales_rep", "logo" FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661 |
10:02:50.639 | 0.4 ms | SELECT | SELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=1791 |
10:02:50.640 | 0.9 ms | SELECT | SELECT "c".* FROM "a57be577deb434"."tbl_task_group_head_of_relationships" "c" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "c"."user_id" WHERE "c"."task_group_id"=195 ORDER BY pinyin1 nulls first, namecut1 nulls first, pinyin2 nulls first, namecut2 nulls first, pinyin3 nulls first, namecut3 nulls first, pinyin4 nulls first, namecut4 nulls first |
10:02:50.641 | 0.2 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_task_group_head_of_relationships" WHERE ("user_id"=1000) AND ("task_group_id"=195) |
10:02:50.642 | 0.2 ms | SELECT | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:02:50.642 | 0.2 ms | SELECT | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000) |
10:02:50.642 | 0.3 ms | SELECT | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10 |
10:02:50.643 | 20.2 ms | SELECT | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=101) AND ("object_id"=1565) GROUP BY "object_id" |
10:02:50.663 | 17.2 ms | SELECT | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=101) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=1565) GROUP BY "object_id" |
10:02:50.683 | 0.5 ms | SELECT | SELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE "task_group_id"=195 |
10:02:50.684 | 0.8 ms | SELECT | SELECT "u"."id" AS "key", "u"."name" FROM "a57be577deb434"."tbl_users" "u" LEFT JOIN "a57be577deb434"."tbl_task_group_user_relationships" "turs" ON u.id = turs.user_id WHERE ("turs"."task_group_id"=195) OR ("u"."id"=1000) GROUP BY "u"."id" ORDER BY pinyin1 nulls first, namecut1 nulls first, pinyin2 nulls first, namecut2 nulls first, pinyin3 nulls first, namecut3 nulls first, pinyin4 nulls first, namecut4 nulls first |
10:02:50.685 | 1.3 ms | INSERT | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 0, 267, 'v2/task/get-edit', '{"access_token":"hLtdglndkreOmfJjmOe7Mve0kQO2lAQu","device_type":"0","version_code":"267","id":"1565","token":"ac049cda576e698be916c6834683211c","posttime":"1758247370"}', '{"code":200,"data":{"model":{"id":1565,"task_group_id":195,"title":"cfff","description":"\u98de\u98de\u98de","client_id":null,"head_of":1000,"status":0,"target_completed_at":"2025-11-01 23:59:59","completed_at":"","created_by":1000,"created_at":"2025-09-10 16:20:25","updated_at":"2025-09-10 16:20:25","is_important":0,"complete_description":null,"weight":50,"headOf":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"}},"taskGroup":{"id":195,"key":195,"name":"\u4f60\u653e\u5047\u70e6\u607c","project_id":1791,"client_id":1661,"head_of":1000,"status":0,"target_completed_at":"2025-12-01 23:59:59","client":{"id":1661,"key":1661,"name":"\u5317\u4eac\u7f51\u4fe1\u5143\u79d1\u6280\u6709\u9650\u516c\u53f8","sales_rep":1001,"logo":null},"project":{"id":1791,"key":1791,"name":"\u706b\u773c5500VX\u91c7\u8d2d\u9879\u76ee"},"taskGroupHeadOfRelationships":[{"id":530,"task_group_id":195,"user_id":1000}],"isHeadOf":{"id":530,"task_group_id":195,"user_id":1000},"bgcolor":"#0064ec","status_display":"\u8fdb\u884c\u4e2d"},"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"commentCount":null,"unreadComments":null,"remain_time":"43\u592914\u5c0f\u65f6","target_completed_at_display":"","unread":0,"can_update":true,"can_delete":true,"can_select":true,"bgcolor":"#0064ec","is_important_display":"\u666e\u901a","status_display":"\u8fdb\u884c\u4e2d","max_weight":0},"options":[{"key":"Tasks[head_of]","name":"\u6210\u5458","value":[{"key":1000,"name":"\u66f9\u6c38\u751f"}]},{"key":"Tasks[is_important]","name":"\u91cd\u8981\u6027","value":[{"key":"0","name":"\u666e\u901a"},{"key":"1","name":"\u91cd\u8981"}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-19 10:02:50') RETURNING "id" |