Total processing time: 239 ms; Peak memory: 5.784 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 17:37:40.111 | 22.3 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 2780, 37, 1001, '2026-07-02 17:37:39', '{"id":2780,"client_id":null,"project_id":null,"title":"\u6d4b\u8bd5","status":1,"next_verify_user":1011,"verify_at":null,"description":"\u6d4b\u8bd5","refuse_description":null,"is_resubmited":false,"created_by":1001,"created_at":"2026-07-02 17:37:39","updated_at":"2026-07-02 17:37:39","supplier_id":null,"purchase_contract_id":null,"amount":null,"borrow_amount":null,"borrow_collect_day":null,"borrow_collect_status":1,"borrow_collect_description":null,"borrow_collect_at":null,"erp_payment_settle_amount":"0","erp_payment_un_settle_amount":"0","erp_borrow_settle_amount":"0","erp_borrow_un_settle_amount":"0","next_cancel_verify_user":null,"cancel_at":null,"cancel_description":null,"erp_payment_all_settle_amount":"0"}', '{"id":2780,"client_id":null,"project_id":null,"title":"\u6d4b\u8bd5","status":1,"next_verify_user":1011,"verify_at":null,"description":"\u6d4b\u8bd5","refuse_description":null,"is_resubmited":false,"created_by":1001,"created_at":"2026-07-02 17:37:39","updated_at":"2026-07-02 17:37:39","supplier_id":null,"purchase_contract_id":null,"amount":null,"borrow_amount":null,"borrow_collect_day":null,"borrow_collect_status":1,"borrow_collect_description":null,"borrow_collect_at":null,"erp_payment_settle_amount":"0","erp_payment_un_settle_amount":"0","erp_borrow_settle_amount":"0","erp_borrow_un_settle_amount":"0","next_cancel_verify_user":null,"cancel_at":null,"cancel_description":null,"erp_payment_all_settle_amount":"0"}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":[]}') RETURNING "id" |
| 17:37:40.014 | 8.5 ms | yii\db\Command::query | select 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_approve_carbon_copy_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 17:37:40.068 | 8.2 ms | yii\db\Command::query | select 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_unread_comments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 17:37:40.102 | 7.8 ms | yii\db\Command::query | select 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_object_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 17:37:40.008 | 5.7 ms | yii\db\Command::query | SELECT 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_approve_carbon_copy_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 17:37:39.991 | 5.4 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (17, 320, 2780) RETURNING "id" |
| 17:37:39.967 | 5.3 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_approves" ("title", "description", "amount", "borrow_amount", "borrow_collect_day", "client_id", "project_id", "supplier_id", "purchase_contract_id", "created_by", "created_at", "status", "is_resubmited") VALUES ('测试', '测试', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1001, 'now()', 1, FALSE) RETURNING "id" |
| 17:37:39.976 | 4.3 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=28) AND ("object_id"=2780) |
| 17:37:40.058 | 4.1 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '37', 2780, '刘人诚 有一个审批需要审批', TRUE, '测试') RETURNING "id" |
| 17:37:40.134 | 3.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 ('INSERT', 'app\models\ObjectChangeLogs', 643075, 'a:13:{s:2:"id";i:643075;s:9:"object_id";i:2780;s:11:"object_type";i:37;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:721:"{"id":2780,"client_id":null,"project_id":null,"title":"\u6d4b\u8bd5","status":1,"next_verify_user":1011,"verify_at":null,"description":"\u6d4b\u8bd5","refuse_description":null,"is_resubmited":false,"created_by":1001,"created_at":"2026-07-02 17:37:39","updated_at":"2026-07-02 17:37:39","supplier_id":null,"purchase_contract_id":null,"amount":null,"borrow_amount":null,"borrow_collect_day":null,"borrow_collect_status":1,"borrow_collect_description":null,"borrow_collect_at":null,"erp_payment_settle_amount":"0","erp_payment_un_settle_amount":"0","erp_borrow_settle_amount":"0","erp_borrow_un_settle_amount":"0","next_cancel_verify_user":null,"cancel_at":null,"cancel_description":null,"erp_payment_all_settle_amount":"0"}";s:9:"new_value";s:721:"{"id":2780,"client_id":null,"project_id":null,"title":"\u6d4b\u8bd5","status":1,"next_verify_user":1011,"verify_at":null,"description":"\u6d4b\u8bd5","refuse_description":null,"is_resubmited":false,"created_by":1001,"created_at":"2026-07-02 17:37:39","updated_at":"2026-07-02 17:37:39","supplier_id":null,"purchase_contract_id":null,"amount":null,"borrow_amount":null,"borrow_collect_day":null,"borrow_collect_status":1,"borrow_collect_description":null,"borrow_collect_at":null,"erp_payment_settle_amount":"0","erp_payment_un_settle_amount":"0","erp_borrow_settle_amount":"0","erp_borrow_un_settle_amount":"0","next_cancel_verify_user":null,"cancel_at":null,"cancel_description":null,"erp_payment_all_settle_amount":"0"}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-07-02 17:37:39";s:9:"is_delete";N;}', '', 1001, '221.216.117.25') |
| 17:37:40.064 | 3.5 ms | yii\db\Command::query | SELECT 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_unread_comments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 17:37:39.980 | 3.4 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=29) AND ("object_id"=2780) |
| 17:37:40.099 | 3.3 ms | yii\db\Command::query | SELECT 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_object_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 17:37:40.076 | 3.3 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (2780, '37', 221003, 1011) |
| 17:37:40.003 | 3.3 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_approve_verify_rels" ("approve_id", "user_id", "status") VALUES (2780, 1011, 0) |
| 17:37:40.033 | 3.1 ms | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_approve_payment_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."approve_id"=2780) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (2, 5)) |
| 17:37:40.138 | 3.0 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/approve/save-new', '{"Approves":{"id":"","title":"\u6d4b\u8bd5","description":"\u6d4b\u8bd5","form_type":"320","amount":"","borrow_amount":"","borrow_collect_day":"","client_id":"","client_name":"","project_id":"","supplier_id":"","supplier_name":"","purchase_contract_id":"","files":"","attachmentFiles":"","form_approveVerifyRels":["1011"],"form_approveCarbonCopyRels":["1013","5360"]},"web_access_token":"9OODFZFZk-X86cfjXzRsEqn62HNQjGnS"}', '{"code":2000,"result":{"id":2780},"status":1,"msg":[{"name":"success","success":"\u65b0\u5ba1\u6279\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0,"ip":"221.216.117.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-02 17:37:40', 230564864) RETURNING "id" |
| 17:37:40.037 | 2.8 ms | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_approve_payment_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."approve_id"=2780) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (2, 5)) |
| 17:37:40.023 | 2.8 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_approve_carbon_copy_rels" ("approve_id", "user_id") VALUES (2780, 1013), (2780, 5360) |
| 17:37:40.027 | 2.0 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approves" SET "next_verify_user"=1011 WHERE "id"=2780 |
| 17:37:39.973 | 1.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 ('INSERT', 'app\models\Approves', 2780, 'a:29:{s:2:"id";i:2780;s:9:"client_id";s:0:"";s:10:"project_id";s:0:"";s:5:"title";s:6:"测试";s:6:"status";i:1;s:16:"next_verify_user";N;s:9:"verify_at";N;s:11:"description";s:6:"测试";s:18:"refuse_description";N;s:13:"is_resubmited";b:0;s:10:"created_by";i:1001;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"supplier_id";s:0:"";s:20:"purchase_contract_id";s:0:"";s:6:"amount";N;s:13:"borrow_amount";N;s:18:"borrow_collect_day";s:0:"";s:21:"borrow_collect_status";N;s:26:"borrow_collect_description";N;s:17:"borrow_collect_at";N;s:25:"erp_payment_settle_amount";N;s:28:"erp_payment_un_settle_amount";N;s:24:"erp_borrow_settle_amount";N;s:27:"erp_borrow_un_settle_amount";N;s:23:"next_cancel_verify_user";N;s:9:"cancel_at";N;s:18:"cancel_description";N;s:29:"erp_payment_all_settle_amount";N;}', '', 1001, '221.216.117.25') |
| 17:37:39.989 | 1.7 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=17) |
| 17:37:40.031 | 1.4 ms | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_approve_payment_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_advance_payment_tickets" "t" ON r.erp_advance_payment_ticket_id = t.id WHERE ("r"."approve_id"=2780) AND ("t"."is_payment_settle"=TRUE) AND ("t"."status" IN (2, 5)) |
| 17:37:40.051 | 1.4 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approves" SET "erp_borrow_settle_amount"='0', "borrow_collect_status"=1, "erp_borrow_un_settle_amount"='0' WHERE "id"=2780 |
| 17:37:40.043 | 1.3 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approves" SET "erp_payment_settle_amount"='0', "erp_payment_un_settle_amount"='0', "erp_payment_all_settle_amount"='0' WHERE "id"=2780 |
| 17:37:39.997 | 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\TermTaxonomyRelationships', 135795, 'a:9:{s:2:"id";i:135795;s:9:"object_id";i:2780;s:11:"taxonomy_id";s:3:"320";s:7:"term_id";i:17;s:5:"value";N;s:11:"object_type";N;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1001, '221.216.117.25') |
| 17:37:40.045 | 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\Approves', 2780, 'a:3:{s:25:"erp_payment_settle_amount";i:0;s:28:"erp_payment_un_settle_amount";i:0;s:29:"erp_payment_all_settle_amount";i:0;}', '', 1001, '221.216.117.25') |
| 17:37:40.029 | 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\Approves', 2780, 'a:1:{s:16:"next_verify_user";i:1011;}', '', 1001, '221.216.117.25') |
| 17:37:40.049 | 1.0 ms | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_collect_ticket_approve_borrow_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_collect_tickets" "t" ON r.erp_other_collect_ticket_id = t.id WHERE ("r"."approve_id"=2780) AND ("t"."status" IN (2, 5)) AND (t.settle_amount >= t.amount) |
| 17:37:39.999 | 1.0 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE ("id"='1011') AND ("user_status"='1') ORDER BY array_position(array[1011], id) |
| 17:37:40.052 | 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\Approves', 2780, 'a:0:{}', '', 1001, '221.216.117.25') |
| 17:37:40.062 | 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 ('INSERT', 'app\models\Comments', 221003, 'a:11:{s:2:"id";i:221003;s:9:"object_id";i:2780;s:11:"object_type";s:2:"37";s:6:"parent";N;s:11:"description";s:37:"刘人诚 有一个审批需要审批";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:6:"测试";}', '', 1001, '221.216.117.25') |
| 17:37:40.006 | 1.0 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_approve_carbon_copy_rels" WHERE "approve_id"=2780 |
| 17:37:39.911 | 0.8 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:37:40.080 | 0.8 ms | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1011) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 17:37:40.001 | 0.7 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"=1011) |
| 17:37:40.042 | 0.7 ms | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_approve_payment_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."approve_id"=2780) AND ("t"."status" IN (1, 2, 5)) |
| 17:37:39.913 | 0.7 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:37:40.002 | 0.7 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE "approve_id"=2780 |
| 17:37:40.041 | 0.6 ms | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_approve_payment_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."approve_id"=2780) AND ("t"."status" IN (1, 2, 5)) |
| 17:37:40.026 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("status"=0) AND ("approve_id"=2780) ORDER BY "id" |
| 17:37:40.055 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("status"=0) AND ("approve_id"=2780) ORDER BY "id" |
| 17:37:40.040 | 0.6 ms | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_approve_payment_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_advance_payment_tickets" "t" ON r.erp_advance_payment_ticket_id = t.id WHERE ("r"."approve_id"=2780) AND ("t"."status" IN (1, 2, 5)) |
| 17:37:39.921 | 0.6 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 17:37:39.915 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:37:40.098 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:37:40.053 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:37:39.988 | 0.4 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='320') |
| 17:37:39.911 | 0.4 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:37:40.081 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=2780 |
| 17:37:40.082 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=17) AND ("id" IN (224, 2, 165, 179, 175, 205, 204, 320, 359, 369)) |
| 17:37:40.057 | 0.4 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 17:37:39.984 | 0.3 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=2780) AND ("term_id"=17) |
| 17:37:40.056 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"=2780 |
| 17:37:39.998 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='320' |
| 17:37:40.054 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"=2780 |