All Latest
694276d47a99e: POST https://beta.jinchangxiao.com/vue/task/get-edit at 2025-12-17 05:24:36 pm by 223.72.15.22

Database Queries

总计27条数据
TimeDurationTypeQuery
  
17:24:36.5052.3 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "id"=1001

17:24:36.5080.5 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "id"=1001

17:24:36.5091.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

17:24:36.51413.9 msSELECTSELECT COUNT(*) FROM (SELECT s.* FROM "a57be577deb434"."tbl_tasks" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.head_of LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE WHERE (true) AND (("tree_path" @> (SELECT array_agg(DISTINCT s.tree_path) FROM "a57be577deb434"."tbl_tasks" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.head_of LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE WHERE (true) AND (s.tree_path is not null)))) AND (s.parent_id is null) GROUP BY "s"."id") "c"

17:24:36.52914.6 msSELECTSELECT sub.* FROM (SELECT ROW_NUMBER() OVER (ORDER BY created_at DESC) as idx, sub.* FROM (SELECT s.* FROM "a57be577deb434"."tbl_tasks" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.head_of LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE WHERE (true) AND (("tree_path" @> (SELECT array_agg(DISTINCT s.tree_path) FROM "a57be577deb434"."tbl_tasks" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.head_of LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE WHERE (true) AND (s.tree_path is not null)))) AND (s.parent_id is null) GROUP BY "s"."id") "sub") "sub" WHERE "id"='1605'

17:24:36.5430.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1605'

17:24:36.5440.3 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064

17:24:36.5440.7 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5064)

17:24:36.5450.4 msSELECTSELECT "id", "id" AS "key", "title" AS "name", "project_id", "client_id", "head_of", "status", "target_completed_at", "start_at" FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=204

17:24:36.5460.3 msSELECTSELECT "id", "id" AS "key", "name", "sales_rep", "logo" FROM "a57be577deb434"."tbl_clients" WHERE "id"=982

17:24:36.5460.4 msSELECTSELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=1111

17:24:36.5470.7 msSELECTSELECT "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"=204 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

17:24:36.5480.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_task_group_head_of_relationships" WHERE ("user_id"=1001) AND ("task_group_id"=204)

17:24:36.5480.2 msSELECTSELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064

17:24:36.5490.2 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5064)

17:24:36.5490.3 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10

17:24:36.54921.1 msSELECTSELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=101) AND ("object_id"=1605) GROUP BY "object_id"

17:24:36.57118.7 msSELECTSELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=101) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id"=1605) GROUP BY "object_id"

17:24:36.5900.5 msSELECTSELECT "parent_id", count(*) as count FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id"=1605 GROUP BY "parent_id"

17:24:36.5900.5 msSELECTSELECT "parent_id", count(*) as count FROM "a57be577deb434"."tbl_tasks" WHERE ("status"=1) AND ("parent_id"=1605) GROUP BY "parent_id"

17:24:36.5910.4 msSELECTSELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE "task_group_id"=204

17:24:36.5920.8 msSELECTSELECT "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"=204) OR ("u"."id"=5064) 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

17:24:36.5930.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_visit_object_histories" WHERE ("user_id"=1001) AND ("object_type"=101) AND ("object_id"=1605)

17:24:36.5941.3 msINSERTINSERT INTO "a57be577deb434"."tbl_visit_object_histories" ("user_id", "object_type", "object_id", "last_visit_at") VALUES (1001, 101, 1605, 'now()') RETURNING "id"

17:24:36.5960.3 msSELECTSELECT "id" FROM "a57be577deb434"."tbl_visit_object_histories" WHERE "user_id"=1001 ORDER BY "last_visit_at" DESC LIMIT 10

17:24:36.5960.7 msDELETEDELETE FROM "a57be577deb434"."tbl_visit_object_histories" WHERE ("id" NOT IN (194268, 194267, 194266, 194265, 194257, 194262, 194263, 194247, 194260, 194259)) AND ("user_id"=1001)

17:24:36.5971.1 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/task/get-edit', '{"TaskSearch":{"status":"","d_id":"4"},"Filter":{"name":"created_at","sort":"DESC"},"id":"1605","web_access_token":"AB5Bz4SIDiJAh3txwTX2DWB4Z_eGe1__"}', '{"code":2000,"result":{"model":{"id":1605,"task_group_id":204,"title":"\u6d4b\u8bd5","description":"\u6d4b\u8bd5","client_id":"","head_of":5064,"status":0,"target_completed_at":"","completed_at":"","created_by":5064,"created_at":"2025-12-17 17:16:20","updated_at":"2025-12-17 17:16:20","is_important":0,"complete_description":"","weight":40,"tree_path":"1605","progress":0,"start_at":"","end_at":"","parent_id":"","is_end_out":false,"is_start_out":false,"is_child_end_out":false,"is_child_start_out":false,"end_out_value":"","start_out_value":"","child_end_out_value":"","child_start_out_value":"","headOf":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"}},"taskGroup":{"id":204,"key":204,"name":"\u6d4b\u8bd5","project_id":1111,"client_id":982,"head_of":5064,"status":0,"target_completed_at":"2025-12-18 00:00:00","start_at":"2025-12-17 00:00:00","client":{"id":982,"key":982,"name":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","sales_rep":1001,"logo":""},"project":{"id":1111,"key":1111,"name":"\u4ebf\u8054\u89c6\u9891\u4f1a\u8bae\u7edf\u4e00\u901a\u8baf"},"taskGroupHeadOfRelationships":[{"id":577,"task_group_id":204,"user_id":5064}],"isHeadOf":"","bgcolor":"#FF7300","status_display":"\u8fdb\u884c\u4e2d"},"createdBy":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","department_id":10,"avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"commentCount":{},"unreadComments":{},"parent":"","childCount":{},"childDoneCount":{},"index":1,"remain_time":"","target_completed_at_display":"","unread":0,"can_update":true,"can_delete":true,"can_create":true,"can_select":false,"bgcolor":"#FF7300","is_important_display":"\u666e\u901a","status_display":"\u8fdb\u884c\u4e2d","root_id":"","child":[],"start_at_out_day":"","end_at_out_day":"","max_weight":0},"index":1,"count":1175,"options":{"Tasks[head_of]":{"key":"Tasks[head_of]","name":"\u6210\u5458","value":[{"key":5064,"name":"\u59da\u96ea\u7eaf"}]},"Tasks[is_important]":{"key":"Tasks[is_important]","name":"\u91cd\u8981\u6027","value":[{"id":0,"key":0,"name":"\u666e\u901a"},{"id":1,"key":1,"name":"\u91cd\u8981"}]}}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"223.72.15.22","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko\/20100101 Firefox\/146.0"}', FALSE, '2025-12-17 17:24:36') RETURNING "id"