6a212fbcb1c39: POST https://beta.jinchangxiao.com/vue/schedule/save-new at 2026-06-04 03:56:44 pm by 221.216.117.119

Performance Profiling

Total processing time: 158 ms; Peak memory: 5.910 MB. Show Profiling Timeline

总计52条数据
TimeDurationCategoryInfo
  
15:56:44.79036.0 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3354) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:56:44.85622.4 msyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_schedule_head_of_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
15:56:44.7494.2 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '9', 18361, '刘人诚新建了一条待办事项', TRUE, '告诉大姑发大姑') RETURNING "id"
15:56:44.8523.7 msyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_schedule_head_of_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
15:56:44.7363.6 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_schedules" ("client_id", "project_id", "schedule_title", "is_public", "start_at", "end_at", "alarm_before", "creator", "created_by") VALUES (3354, 4177, '告诉大姑发大姑', 1, NULL, NULL, NULL, 1001, 1001) RETURNING "id"
15:56:44.8793.4 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_schedule_head_of_rels" ("user_id", "schedule_id") VALUES (1001, 18361)
15:56:44.7832.2 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 18361, 9, 1001, '2026-06-04 15:56:44', '{"id":18361,"client_id":3354,"schedule_title":"\u544a\u8bc9\u5927\u59d1\u53d1\u5927\u59d1","description":null,"schedule_week":null,"start_at":null,"complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1001,"created_at":"2026-06-04 15:56:44","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":null,"is_public":1,"system_calendar_id":null,"creator":1001,"project_id":4177,"updated_at":"2026-06-04 15:56:44","set_top_at":null}', '{"id":18361,"client_id":3354,"schedule_title":"\u544a\u8bc9\u5927\u59d1\u53d1\u5927\u59d1","description":null,"schedule_week":null,"start_at":null,"complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1001,"created_at":"2026-06-04 15:56:44","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":null,"is_public":1,"system_calendar_id":null,"creator":1001,"project_id":4177,"updated_at":"2026-06-04 15:56:44","set_top_at":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[]}') RETURNING "id"
15:56:44.8402.0 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4177) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
15:56:44.7432.0 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=32) AND ("object_id"=18361)
15:56:44.7412.0 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=9) AND ("object_id"=18361)
15:56:44.8471.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4177
15:56:44.8271.2 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3354, 1005, 'now()', NULL) RETURNING "id"
15:56:44.7481.1 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:56:44.7891.0 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3354
15:56:44.8350.9 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (1, 'create', 3354, 10, 18361, 9, 1001, '18361', '18361', array[1005], '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id"
15:56:44.8310.9 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 3354, 10, 18361, 9, 1001, '[18361]', '[18361]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id"
15:56:44.8500.9 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (1, 'create', 4177, 1, 18361, 9, 1001, '18361', '18361', array[1005], '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id"
15:56:44.8390.9 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=4177
15:56:44.8450.9 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 4177, 1, 18361, 9, 1001, '[18361]', '[18361]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id"
15:56:44.7860.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641138, 'a:13:{s:2:"id";i:641138;s:9:"object_id";i:18361;s:11:"object_type";i:9;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:517:"{"id":18361,"client_id":3354,"schedule_title":"\u544a\u8bc9\u5927\u59d1\u53d1\u5927\u59d1","description":null,"schedule_week":null,"start_at":null,"complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1001,"created_at":"2026-06-04 15:56:44","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":null,"is_public":1,"system_calendar_id":null,"creator":1001,"project_id":4177,"updated_at":"2026-06-04 15:56:44","set_top_at":null}";s:9:"new_value";s:517:"{"id":18361,"client_id":3354,"schedule_title":"\u544a\u8bc9\u5927\u59d1\u53d1\u5927\u59d1","description":null,"schedule_week":null,"start_at":null,"complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1001,"created_at":"2026-06-04 15:56:44","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":null,"is_public":1,"system_calendar_id":null,"creator":1001,"project_id":4177,"updated_at":"2026-06-04 15:56:44","set_top_at":null}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-04 15:56:44";s:9:"is_delete";N;}', '', 1001, '221.216.117.119')
15:56:44.8280.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 199846, 'a:5:{s:2:"id";i:199846;s:9:"client_id";i:3354;s:9:"sales_rep";i:1005;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119')
15:56:44.7350.8 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:56:44.8830.8 msyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/schedule/save-new', '{"Schedules":{"id":"","client_id":"3354","project_id":"4177","client_name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","project_title":"\u9500\u552e\u7ebf\u7d22\u751f\u621020260604001","schedule_title":"\u544a\u8bc9\u5927\u59d1\u53d1\u5927\u59d1","is_public":"1","start_at":"","end_at":"","time_type":"","alarm_before":"","headUsers":["1001"],"files":""},"web_access_token":"-ooNs73DKJQ01PCpcbuHx_usnaO5SdwJ"}', '{"code":2000,"result":[],"status":1,"msg":[{"name":"success","success":"\u65b0\u5f85\u529e\u4e8b\u9879\u5df2\u521b\u5efa\u6210\u529f","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 15:56:44', 154806784) RETURNING "id"
15:56:44.7530.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220697, 'a:11:{s:2:"id";i:220697;s:9:"object_id";i:18361;s:11:"object_type";s:1:"9";s:6:"parent";N;s:11:"description";s:36:"刘人诚新建了一条待办事项";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:21:"告诉大姑发大姑";}', '', 1001, '221.216.117.119')
15:56:44.8430.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4177, 'a:0:{}', '', 1001, '221.216.117.119')
15:56:44.8460.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641140, 'a:13:{s:2:"id";i:641140;s:9:"object_id";i:4177;s:11:"object_type";i:1;s:9:"target_id";i:18361;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[18361]";s:9:"new_value";s:7:"[18361]";s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119')
15:56:44.8510.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 171905, 'a:15:{s:2:"id";i:171905;s:9:"object_id";i:4177;s:11:"object_type";i:1;s:9:"target_id";i:18361;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"18361";s:9:"new_value";s:5:"18361";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1005]";s:6:"params";a:0:{}}s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.216.117.119')
15:56:44.8290.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3354, 'a:0:{}', '', 1001, '221.216.117.119')
15:56:44.8320.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641139, 'a:13:{s:2:"id";i:641139;s:9:"object_id";i:3354;s:11:"object_type";i:10;s:9:"target_id";i:18361;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[18361]";s:9:"new_value";s:7:"[18361]";s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119')
15:56:44.8360.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 171904, 'a:15:{s:2:"id";i:171904;s:9:"object_id";i:3354;s:11:"object_type";i:10;s:9:"target_id";i:18361;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"18361";s:9:"new_value";s:5:"18361";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1005]";s:6:"params";a:0:{}}s:11:"description";s:95:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.216.117.119')
15:56:44.7400.7 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Schedules', 18361, 'a:24:{s:2:"id";i:18361;s:9:"client_id";s:4:"3354";s:14:"schedule_title";s:21:"告诉大姑发大姑";s:11:"description";N;s:13:"schedule_week";N;s:8:"start_at";N;s:11:"complete_at";N;s:20:"complete_description";N;s:11:"is_complete";N;s:12:"alarm_before";N;s:10:"created_by";s:4:"1001";s:10:"created_at";N;s:9:"is_closed";N;s:9:"is_remind";N;s:9:"time_type";N;s:12:"schedule_end";N;s:9:"repeat_id";N;s:6:"end_at";N;s:9:"is_public";s:1:"1";s:18:"system_calendar_id";N;s:7:"creator";i:1001;s:10:"project_id";s:4:"4177";s:10:"updated_at";N;s:10:"set_top_at";N;}', '', 1001, '221.216.117.119')
15:56:44.7450.7 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_schedule_carbon_copy_rels" WHERE "schedule_id"=18361
15:56:44.7300.6 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
15:56:44.8440.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3354
15:56:44.7870.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3354
15:56:44.7820.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:56:44.8490.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3354
15:56:44.7810.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"=18361
15:56:44.8300.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:56:44.8330.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3354
15:56:44.8340.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:56:44.8490.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:56:44.8440.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:56:44.7310.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:56:44.8380.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4177
15:56:44.7340.4 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3354')
15:56:44.7460.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001'
15:56:44.7340.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='4177')
15:56:44.7470.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"=18361
15:56:44.7350.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
15:56:44.7540.2 msyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL)
15:56:44.7290.2 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta