Total processing time: 140 ms; Peak memory: 5.817 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 21:54:39.764 | 30.9 ms | yii\db\Command::query | SELECT "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"=1660) GROUP BY "object_id" |
| 21:54:39.734 | 29.5 ms | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=101) AND ("object_id"=1660) GROUP BY "object_id" |
| 21:54:39.687 | 6.2 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description2", "description") VALUES (1001, '101', 1660, TRUE, '阿道夫', '我完成了一个任务') RETURNING "id" |
| 21:54:39.695 | 1.5 ms | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1001) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 21:54:39.801 | 1.1 ms | yii\db\Command::query | INSERT 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":"1660","complete_description":"","type":"1"}', '{"code":2000,"result":{"model":{"id":1660,"task_group_id":201,"title":"\u963f\u9053\u592b","description":"","client_id":"","head_of":1001,"status":1,"target_completed_at":"","completed_at":"2026-06-03 21:54:39","created_by":1001,"created_at":"2026-06-03 21:54:08","updated_at":"2026-06-03 21:54:39","is_important":0,"complete_description":"","weight":"","tree_path":"1660","progress":100,"start_at":"2026-06-02 00:00:00","end_at":"2026-06-03 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":201,"key":201,"name":"11","project_id":4079,"client_id":3432,"head_of":1001,"status":0,"target_completed_at":"","start_at":"","client":{"id":3432,"key":3432,"name":"\u4e2d\u56fd\u6c11\u822a\u7ba1\u7406\u5e72\u90e8\u5b66\u9662","sales_rep":1001,"logo":""},"project":{"id":4079,"key":4079,"name":"\u6c11\u822a\u5b89\u5168\u6cd5\u5f8b\u6cd5\u89c4\u6570\u636e\u5e93\u4f18\u5316\u4e0e\u5b89\u5168\u80dc\u4efb\u529b\u6d4b\u8bc4\u7cfb\u7edf\u5f00\u53d1\u9879\u76ee"},"taskGroupHeadOfRelationships":[{"id":542,"task_group_id":201,"user_id":1001}],"isHeadOf":{"id":542,"task_group_id":201,"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":1660,"comment":1},"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\u670803\u65e5","description":""},"child":[],"start_at_out_day":"","end_at_out_day":""},"options":[{"key":"Tasks[head_of]","name":"\u6210\u5458","value":[{"key":1001,"name":"\u5218\u4eba\u8bda"}]}]},"status":1,"msg":[{"name":"success","success":"\u606d\u559c\uff0c\u4efb\u52a1\u5df2\u5b8c\u6210\uff01","error":""}],"mod":0,"ip":"111.194.208.14","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/148.0.0.0 Safari\/537.36"}', FALSE, '2026-06-03 21:54:39', 134152960) RETURNING "id" |
| 21:54:39.684 | 1.1 ms | yii\db\Command::execute | INSERT 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', 1660, 101, NULL, NULL, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u5b8c\u6210\u4e86","d3":"\u6e05\u5355","d4":[""]}'), (2, 'status', 201, 102, 1660, 101, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u5b8c\u6210\u4e86","d3":"\u6e05\u5355","d4":[]}') |
| 21:54:39.693 | 1.1 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220660, 'a:11:{s:2:"id";i:220660;s:9:"object_id";i:1660;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:9:"阿道夫";}', '', 1001, '111.194.208.14') |
| 21:54:39.674 | 1.1 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1660, 'a:5:{s:8:"start_at";s:19:"2026-06-02 00:00:00";s:6:"end_at";s:19:"2026-06-03 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, '111.194.208.14') |
| 21:54:39.799 | 1.0 ms | yii\db\Command::query | 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"=201) 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 |
| 21:54:39.681 | 1.0 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\TaskGroups', 201, 'a:1:{s:8:"progress";i:100;}', '', 1001, '111.194.208.14') |
| 21:54:39.672 | 0.8 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_tasks" SET "status"=1, "completed_at"='now()', "updated_at"='now()', "progress"=100 WHERE "id"=1660 |
| 21:54:39.676 | 0.8 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1660, 'a:3:{s:12:"completed_at";s:19:"1970-01-01 08:00:00";s:8:"start_at";s:19:"2026-06-02 00:00:00";s:6:"end_at";s:19:"2026-06-03 00:00:00";}', '', 1001, '111.194.208.14') |
| 21:54:39.680 | 0.8 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_task_groups" SET "progress"=100 WHERE "id"=201 |
| 21:54:39.677 | 0.8 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1660, 'a:3:{s:12:"completed_at";s:19:"1970-01-01 08:00:00";s:8:"start_at";s:19:"2026-06-02 00:00:00";s:6:"end_at";s:19:"2026-06-03 00:00:00";}', '', 1001, '111.194.208.14') |
| 21:54:39.678 | 0.7 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1660, 'a:3:{s:12:"completed_at";s:19:"1970-01-01 08:00:00";s:8:"start_at";s:19:"2026-06-02 00:00:00";s:6:"end_at";s:19:"2026-06-03 00:00:00";}', '', 1001, '111.194.208.14') |
| 21:54:39.795 | 0.6 ms | yii\db\Command::query | SELECT "parent_id", count(*) as count FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id"=1660 GROUP BY "parent_id" |
| 21:54:39.731 | 0.6 ms | yii\db\Command::query | 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"=201 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 |
| 21:54:39.668 | 0.6 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 21:54:39.796 | 0.6 ms | yii\db\Command::query | SELECT "parent_id", count(*) as count FROM "a57be577deb434"."tbl_tasks" WHERE ("status"=1) AND ("parent_id"=1660) GROUP BY "parent_id" |
| 21:54:39.685 | 0.5 ms | yii\db\Command::query | SELECT "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"=201 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 |
| 21:54:39.728 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1660' |
| 21:54:39.675 | 0.4 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_tasks" SET "status"=2 WHERE ("parent_id"=1660) AND ("status"=0) |
| 21:54:39.675 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id"=1660 |
| 21:54:39.669 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 21:54:39.679 | 0.3 ms | yii\db\Command::query | SELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=201) AND ("status"=1) |
| 21:54:39.730 | 0.3 ms | yii\db\Command::query | SELECT "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"=201 |
| 21:54:39.731 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sales_rep", "logo" FROM "a57be577deb434"."tbl_clients" WHERE "id"=3432 |
| 21:54:39.682 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 21:54:39.683 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 21:54:39.679 | 0.3 ms | yii\db\Command::query | SELECT "status", "progress" FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=201) AND (parent_id is null) |
| 21:54:39.671 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1660' |
| 21:54:39.683 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 21:54:39.729 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 21:54:39.729 | 0.3 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001) |
| 21:54:39.687 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 21:54:39.682 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"=1660 |
| 21:54:39.733 | 0.2 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001) |
| 21:54:39.672 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=201 |
| 21:54:39.686 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"=1660 |
| 21:54:39.733 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 21:54:39.732 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_group_head_of_relationships" WHERE ("user_id"=1001) AND ("task_group_id"=201) |
| 21:54:39.731 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=4079 |
| 21:54:39.679 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=201 |
| 21:54:39.734 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4 |
| 21:54:39.668 | 0.1 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |