Database Queries

总计44条数据
TimeDurationTypeQuery
  
13:01:34.6570.9 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "id"=1001

13:01:34.6601.9 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

13:01:34.6641.0 msSELECTSELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1664'

13:01:34.6660.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=203

13:01:34.6671.0 msUPDATEUPDATE "a57be577deb434"."tbl_tasks" SET "status"=1, "completed_at"='now()', "updated_at"='now()', "progress"=100 WHERE "id"=1664

13:01:34.6681.9 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1664, 'a:5:{s:8:"start_at";s:19:"2026-06-01 00:00:00";s:6:"end_at";s:19:"2026-06-01 00:00:00";s:6:"status";s:1:"1";s:12:"completed_at";s:19:"1970-01-01 08:00:00";s:8:"progress";i:100;}', '', 1001, '221.216.117.119')

13:01:34.6700.8 msUPDATEUPDATE "a57be577deb434"."tbl_tasks" SET "status"=2 WHERE ("parent_id"=1664) AND ("status"=0)

13:01:34.6710.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id"=1664

13:01:34.6721.5 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1664, 'a:3:{s:12:"completed_at";s:19:"1970-01-01 08:00:00";s:8:"start_at";s:19:"2026-06-01 00:00:00";s:6:"end_at";s:19:"2026-06-01 00:00:00";}', '', 1001, '221.216.117.119')

13:01:34.6740.9 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1664, 'a:3:{s:12:"completed_at";s:19:"1970-01-01 08:00:00";s:8:"start_at";s:19:"2026-06-01 00:00:00";s:6:"end_at";s:19:"2026-06-01 00:00:00";}', '', 1001, '221.216.117.119')

13:01:34.6750.9 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1664, 'a:3:{s:12:"completed_at";s:19:"1970-01-01 08:00:00";s:8:"start_at";s:19:"2026-06-01 00:00:00";s:6:"end_at";s:19:"2026-06-01 00:00:00";}', '', 1001, '221.216.117.119')

13:01:34.6760.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=203

13:01:34.6770.6 msSELECTSELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=203) AND ("status"=1)

13:01:34.6770.6 msSELECTSELECT "status", "progress" FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=203) AND (parent_id is null)

13:01:34.6781.7 msUPDATEUPDATE "a57be577deb434"."tbl_task_groups" SET "progress"=100 WHERE "id"=203

13:01:34.6801.0 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\TaskGroups', 203, 'a:1:{s:8:"progress";i:100;}', '', 1001, '221.216.117.119')

13:01:34.6810.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"=1664

13:01:34.6820.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

13:01:34.6830.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

13:01:34.6830.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

13:01:34.6863.5 msINSERTINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (10, 'status', 1664, 101, NULL, NULL, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u5b8c\u6210\u4e86","d3":"\u6e05\u5355","d4":[""]}'), (2, 'status', 203, 102, 1664, 101, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u5b8c\u6210\u4e86","d3":"\u6e05\u5355","d4":[]}')

13:01:34.6901.0 msSELECTSELECT "user_id" FROM "a57be577deb434"."tbl_task_group_user_relationships" "c" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "c"."user_id" WHERE "c"."task_group_id"=203 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

13:01:34.6920.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"=1664

13:01:34.6930.4 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)

13:01:34.6944.0 msINSERTINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description2", "description") VALUES (1001, '101', 1664, TRUE, '撒地方是否', '我完成了一个任务') RETURNING "id"

13:01:34.6980.9 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220694, 'a:11:{s:2:"id";i:220694;s:9:"object_id";i:1664;s:11:"object_type";s:3:"101";s:6:"parent";N;s:11:"description";s:24:"我完成了一个任务";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:15:"撒地方是否";}', '', 1001, '221.216.117.119')

13:01:34.6993.6 msINSERTINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (1664, '101', 220694, 1000), (1664, '101', 220694, 5250), (1664, '101', 220694, 5016), (1664, '101', 220694, 5461), (1664, '101', 220694, 5064)

13:01:34.7033.9 msSELECTSELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id" IN (1000, 5250, 5016, 1001, 5461, 5064)) AND ("id" != 1001) AND (channel_id IS NOT NULL)

13:01:34.7080.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

13:01:34.7100.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1664'

13:01:34.7100.3 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

13:01:34.7110.5 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001)

13:01:34.7120.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"=203

13:01:34.7120.9 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"=203 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

13:01:34.7140.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_task_group_head_of_relationships" WHERE ("user_id"=1001) AND ("task_group_id"=203)

13:01:34.7140.2 msSELECTSELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001

13:01:34.7150.3 msSELECTSELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001)

13:01:34.7150.5 msSELECTSELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4

13:01:34.71633.3 msSELECTSELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=101) AND ("object_id"=1664) GROUP BY "object_id"

13:01:34.74927.4 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"=1664) GROUP BY "object_id"

13:01:34.7770.7 msSELECTSELECT "parent_id", count(*) as count FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id"=1664 GROUP BY "parent_id"

13:01:34.7781.8 msSELECTSELECT "parent_id", count(*) as count FROM "a57be577deb434"."tbl_tasks" WHERE ("status"=1) AND ("parent_id"=1664) GROUP BY "parent_id"

13:01:34.7852.1 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"=203) OR ("u"."id"=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

13:01:34.7881.2 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/task/close', '{"id":"1664","complete_description":"","type":"1","web_access_token":"-ooNs73DKJQ01PCpcbuHx_usnaO5SdwJ"}', '{"code":2000,"result":{"model":{"id":1664,"task_group_id":203,"title":"\u6492\u5730\u65b9\u662f\u5426","description":"","client_id":"","head_of":1001,"status":1,"target_completed_at":"","completed_at":"2026-06-04 13:01:34","created_by":1001,"created_at":"2026-06-03 22:43:47","updated_at":"2026-06-04 13:01:34","is_important":0,"complete_description":"","weight":0,"tree_path":"1664","progress":100,"start_at":"2026-06-01 00:00:00","end_at":"2026-06-01 00:00:00","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":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"}},"taskGroup":{"id":203,"key":203,"name":"\u9879\u76ee","project_id":"","client_id":"","head_of":1001,"status":0,"target_completed_at":"","start_at":"","client":{},"project":{},"taskGroupHeadOfRelationships":[{"id":549,"task_group_id":203,"user_id":1000},{"id":550,"task_group_id":203,"user_id":5250},{"id":551,"task_group_id":203,"user_id":5016},{"id":548,"task_group_id":203,"user_id":1001},{"id":552,"task_group_id":203,"user_id":5461},{"id":553,"task_group_id":203,"user_id":5064}],"isHeadOf":{"id":548,"task_group_id":203,"user_id":1001},"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\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"commentCount":{"object_id":1664,"comment":2},"unreadComments":{},"parent":"","childCount":{},"childDoneCount":{},"index":1,"remain_time":"","target_completed_at_display":"","unread":0,"can_update":true,"can_delete":true,"can_create":false,"can_select":true,"bgcolor":"#21943A","is_important_display":"\u666e\u901a","status_display":"\u5df2\u5b8c\u6210","root_id":"","showTime":{"time_name":"\u5b8c\u6210\u65f6\u95f4","time_display":"2026\u5e7406\u670804\u65e5","description":""},"child":[],"start_at_out_day":"","end_at_out_day":""},"options":[{"key":"Tasks[head_of]","name":"\u6210\u5458","value":[{"key":1000,"name":"\u66f9\u6c38\u751f"},{"key":5250,"name":"\u8463\u8363"},{"key":5016,"name":"\u9ad8\u90e1\u9633"},{"key":1001,"name":"\u5218\u4eba\u8bda"},{"key":5461,"name":"\u8096\u5e05"},{"key":5064,"name":"\u59da\u96ea\u7eaf"}]}]},"status":1,"msg":[{"name":"success","success":"\u606d\u559c\uff0c\u4efb\u52a1\u5df2\u5b8c\u6210\uff01","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-04 13:01:34', 131991808) RETURNING "id"