Database Queries

总计20条数据
TimeDurationTypeQuery
  
17:41:03.0364.0 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "access_token"='-seQeMPzRsLPhLztxjKAhwxnoPp3CRVG'

17:41:03.0442.0 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064

17:41:03.0460.9 msSELECTSELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1545'

17:41:03.0491.5 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5015

17:41:03.0500.5 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5015)

17:41:03.0513.3 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"=189

17:41:03.0550.6 msSELECTSELECT "id", "id" AS "key", "name", "sales_rep", "logo" FROM "a57be577deb434"."tbl_clients" WHERE "id"=1956

17:41:03.0562.1 msSELECTSELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=1972

17:41:03.0601.0 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"=189 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:41:03.0620.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_task_group_head_of_relationships" WHERE ("user_id"=5064) AND ("task_group_id"=189)

17:41:03.0620.3 msSELECTSELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

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

17:41:03.0662.0 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4

17:41:03.06828.0 msSELECTSELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=101) AND ("object_id"=1545) GROUP BY "object_id"

17:41:03.09620.8 msSELECTSELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=101) AND (remind_user_id = 5064 AND is_read = false) AND ("object_id"=1545) GROUP BY "object_id"

17:41:03.1170.6 msSELECTSELECT "parent_id", count(*) as count FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id"=1545 GROUP BY "parent_id"

17:41:03.1190.7 msSELECTSELECT "parent_id", count(*) as count FROM "a57be577deb434"."tbl_tasks" WHERE ("status"=1) AND ("parent_id"=1545) GROUP BY "parent_id"

17:41:03.1261.2 msSELECTSELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=189) AND (parent_id is null)

17:41:03.1272.0 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"=189) OR ("u"."id" IN (1011, 1001)) 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:41:03.1313.2 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5064, 2, 1153, 'v2/task/get-edit', '{"access_token":"-seQeMPzRsLPhLztxjKAhwxnoPp3CRVG","device_type":"2","id":"1545","posttime":"1765964416","token":"6346013982ba09a59b702b1dc7a04767","version_code":"1153"}', '{"code":200,"data":{"model":{"id":1545,"task_group_id":189,"title":"\u6807\u4e66\u8d2d\u4e70","description":"","client_id":null,"head_of":5015,"status":0,"target_completed_at":"2024-05-11 00:00:00","completed_at":"","created_by":1001,"created_at":"2024-05-14 11:56:35","updated_at":"2024-05-14 11:56:35","is_important":0,"complete_description":null,"weight":0,"tree_path":"1545","progress":0,"start_at":"2024-05-14 00:00:00","end_at":"2024-05-11 00:00:00","parent_id":null,"is_end_out":null,"is_start_out":null,"is_child_end_out":null,"is_child_start_out":null,"end_out_value":null,"start_out_value":null,"child_end_out_value":null,"child_start_out_value":null,"headOf":{"id":5015,"key":5015,"name":"\u5f20\u96ea\u677e","sex":"F","avatar":{"id":5,"user_id":5015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/7a105eb6-13c4-3990-9428-b163f97fe449.png"}},"taskGroup":{"id":189,"key":189,"name":"\u5ea6\u5c0f\u6ee1\u5b89\u5168\u6295\u6807\u9879\u76ee-\u601d\u8054\u79d1\u8baf","project_id":1972,"client_id":1956,"head_of":1001,"status":0,"target_completed_at":"2024-05-31 19:00:00","start_at":"","client":{"id":1956,"key":1956,"name":"\u5ea6\u5c0f\u6ee1\u79d1\u6280(\u5317\u4eac)\u6709\u9650\u516c\u53f8","sales_rep":1001,"logo":null},"project":{"id":1972,"key":1972,"name":"Fire-eye\u7f51\u7edc\u90ae\u4ef6\u6c99\u7bb1\u7cfb\u7edf\u91c7\u8d2d"},"taskGroupHeadOfRelationships":[{"id":517,"task_group_id":189,"user_id":1011},{"id":516,"task_group_id":189,"user_id":1001}],"isHeadOf":null,"bgcolor":"#FF7300","status_display":"\u8fdb\u884c\u4e2d"},"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"commentCount":{"object_id":1545,"comment":1},"unreadComments":null,"parent":null,"childCount":null,"childDoneCount":null,"index":1,"remain_time":"\u8d85\u65f6","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":"","showTime":{"time_name":"\u622a\u6b62\u65f6\u95f4","time_display":"2024\u5e7405\u670811\u65e5","description":""},"child":[],"start_at_out_day":"","end_at_out_day":"","max_weight":100},"options":[{"key":"Tasks[head_of]","name":"\u6210\u5458","value":[{"key":1011,"name":"\u97e9\u96c5\u82b3"},{"key":1001,"name":"\u5218\u4eba\u8bda"},{"key":5360,"name":"\u5f20\u7ea2\u82b3"},{"key":5015,"name":"\u5f20\u96ea\u677e"}]},{"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":""}],"ip":"221.216.117.150","ua":"jinchangxiao\/2.3.151 (iPhone 12; iOS 18.6.2; Scale\/3.00)"}', FALSE, '2025-12-17 17:41:03') RETURNING "id"