Total processing time: 2,033 ms; Peak memory: 6.833 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 17:59:52.542 | 1279.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3364) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:59:52.206 | 36.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_project_product_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 17:59:53.839 | 31.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3364) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:59:52.093 | 30.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\ProjectChangeLogs', 17872, 'a:8:{s:2:"id";i:17872;s:10:"project_id";i:4181;s:14:"project_status";i:2;s:6:"budget";i:0;s:10:"profit_pct";i:0;s:9:"collected";i:0;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 17:59:52.319 | 23.1 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_project_product_version_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 17:59:52.259 | 19.4 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_project_product_versions' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 17:59:52.184 | 19.1 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_project_product_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 17:59:52.435 | 18.4 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_project_statuses' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 17:59:52.408 | 16.7 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (9, 128, 4181) |
| 17:59:53.953 | 16.3 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_erp_sales_order_products' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 17:59:52.054 | 14.8 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_projects" ("client_id", "project_status", "project_progress", "profit_pct", "bargain_date", "project_title", "from_contact", "contract_type", "comment", "project_product_version_id", "creator", "budget", "created_by", "collected", "change_status_to", "pinyin_shortcut") VALUES (3364, 2, 2, '0', '2026-06-05', '房贷首付的', NULL, 1, '', NULL, 1001, '0', 1001, '0', 3, 'fdsfd') RETURNING "id" |
| 17:59:53.925 | 14.1 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_erp_sales_order_verify_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 17:59:52.144 | 11.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3364' |
| 17:59:52.458 | 10.9 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1001, '1', 4181, TRUE, '刘人诚新建了一条状态为明确需求的商机', '') RETURNING "id" |
| 17:59:53.889 | 10.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("created_at" >= '2026-06-05 00:00:00') AND ("created_at" <= '2026-06-05 23:59:59') AND ("serial_no" ILIKE '%XSDD-20260605-%') AND (LENGTH(serial_no) = 19) ORDER BY "serial_no" DESC |
| 17:59:53.830 | 9.5 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "cooperate_count"=0 WHERE "id"=3364 |
| 17:59:52.343 | 9.0 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_product_version_rels" ("project_product_version_id", "product_id", "amount", "number", "total_amount", "description", "supplier_id", "hardware_from", "software_from", "maintenance_from", "hardware_to", "software_to", "maintenance_to") VALUES (1377, 1558, '88221', 1, '88221', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL), (1377, 1558, '88221', 1, '88221', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL), (1377, 1558, '88221', 1, '88221', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL) |
| 17:59:52.082 | 7.4 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_change_logs" ("project_id", "project_status", "budget", "profit_pct", "collected", "start_from", "end_at") VALUES (4181, 2, '0', '0', '0', 'now()', NULL) RETURNING "id" |
| 17:59:52.071 | 7.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4181) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:59:52.525 | 6.8 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (1, 'create', 4181, 1, 1001, '2026-06-05 17:59:52', '{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}') RETURNING "id" |
| 17:59:52.288 | 6.8 ms | yii\db\Command::query | INSERT 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', 4181, 1, 1377, 112, 1001, '[1377]', '[1377]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u4ea7\u54c1\u5386\u53f2\u62a5\u4ef7\u6e05\u5355","d4":["2026-06-05 17:59\u4ea7\u54c1\u5386\u53f2\u62a5\u4ef7\u6e05\u5355"]}') RETURNING "id" |
| 17:59:52.162 | 6.7 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=4181 |
| 17:59:52.243 | 6.2 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_product_rels" ("project_id", "product_id", "amount", "number", "total_amount", "description", "supplier_id", "hardware_from", "software_from", "maintenance_from", "hardware_to", "software_to", "maintenance_to") VALUES (4181, 1558, '88221', 1, '88221', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL), (4181, 1558, '88221', 1, '88221', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL), (4181, 1558, '88221', 1, '88221', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL) |
| 17:59:52.395 | 5.8 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_status_logs" ("project_id", "new_status", "created_by", "created_at") VALUES (4181, 2, 1001, 'now()') RETURNING "id" |
| 17:59:52.128 | 5.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 ('INSERT', 'app\models\Projects', 4181, 'a:32:{s:2:"id";i:4181;s:9:"client_id";s:4:"3364";s:14:"project_status";i:2;s:16:"project_progress";s:1:"2";s:6:"budget";i:0;s:10:"profit_pct";i:0;s:12:"bargain_date";s:10:"2026-06-05";s:11:"description";N;s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";N;s:11:"engineer_id";N;s:13:"project_title";s:15:"房贷首付的";s:9:"collected";i:0;s:17:"status_updated_at";N;s:12:"success_rate";N;s:7:"comment";s:0:"";s:13:"contract_type";s:1:"1";s:19:"progress_updated_at";N;s:19:"forecast_updated_at";N;s:6:"end_at";N;s:15:"pinyin_shortcut";s:5:"fdsfd";s:7:"creator";i:1001;s:11:"used_client";N;s:12:"from_contact";s:0:"";s:19:"total_contact_point";N;s:18:"paid_contact_point";N;s:26:"project_product_version_id";s:0:"";s:20:"is_sales_order_ready";N;s:14:"collected_plan";N;s:16:"change_status_to";i:3;s:9:"is_verify";N;}', '', 1001, '221.216.117.119') |
| 17:59:53.914 | 5.5 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_sales_orders" ("serial_no", "handler", "created_by", "amount", "wrote_date", "created_at", "verify_type", "status", "client_id", "project_id", "description", "extra", "number", "outbound_status") VALUES ('XSDD-20260605-00009', 1001, 1001, '529326', '2026-06-05', 'now()', 2, 1, 3364, 4181, NULL, '{"payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["1001","5295"],"salesContractPaymentCollectionRemindDates":null}', '3', FALSE) RETURNING "id" |
| 17:59:52.313 | 5.0 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_project_product_version_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 17:59:53.906 | 4.5 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE ("id"='1001') AND ("user_status"='1') ORDER BY array_position(array[1001], id) |
| 17:59:52.367 | 4.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4181) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:59:52.513 | 4.2 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', 4181, 1, 1001, '2026-06-05 17:59:52', '{"id":4181,"client_id":3364,"project_status":2,"project_progress":2,"budget":"264663","profit_pct":"10","bargain_date":"2026-06-05","description":null,"created_by":1001,"created_at":"2026-06-05 17:59:52","updated_at":"2026-06-05 17:59:52","engineer_id":null,"project_title":"\u623f\u8d37\u9996\u4ed8\u7684","collected":"0","status_updated_at":"2026-06-05 17:59:52.021481+08","success_rate":null,"comment":"","contract_type":1,"progress_updated_at":"2026-06-05 17:59:52.021481+08","forecast_updated_at":"2026-06-05 17:59:52.021481+08","end_at":null,"pinyin_shortcut":"fdsfd","creator":1001,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":1377,"is_sales_order_ready":false,"collected_plan":null,"change_status_to":3,"is_verify":false}', '{"id":4181,"client_id":3364,"project_status":2,"project_progress":2,"budget":"264663","profit_pct":"10","bargain_date":"2026-06-05","description":null,"created_by":1001,"created_at":"2026-06-05 17:59:52","updated_at":"2026-06-05 17:59:52","engineer_id":null,"project_title":"\u623f\u8d37\u9996\u4ed8\u7684","collected":"0","status_updated_at":"2026-06-05 17:59:52.021481+08","success_rate":null,"comment":"","contract_type":1,"progress_updated_at":"2026-06-05 17:59:52.021481+08","forecast_updated_at":"2026-06-05 17:59:52.021481+08","end_at":null,"pinyin_shortcut":"fdsfd","creator":1001,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":1377,"is_sales_order_ready":false,"collected_plan":null,"change_status_to":3,"is_verify":false}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}') RETURNING "id" |
| 17:59:52.374 | 4.1 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_change_logs" SET "end_at"='now()' WHERE "id"=17872 |
| 17:59:52.384 | 4.0 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_change_logs" ("project_id", "project_status", "budget", "profit_pct", "collected", "start_from", "end_at") VALUES (4181, 2, '264663', '10', '0', 'now()', NULL) RETURNING "id" |
| 17:59:52.355 | 4.0 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=4181 |
| 17:59:52.429 | 4.0 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_project_statuses' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 17:59:52.388 | 4.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\ProjectChangeLogs', 17873, 'a:8:{s:2:"id";i:17873;s:10:"project_id";i:4181;s:14:"project_status";i:2;s:6:"budget";d:264663;s:10:"profit_pct";d:10;s:9:"collected";i:0;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 17:59:52.380 | 3.9 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\ProjectChangeLogs', 17872, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 17:59:52.255 | 3.8 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_project_product_versions' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 17:59:52.280 | 3.6 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_product_versions" ("project_id", "created_by", "created_at") VALUES (4181, 1001, '2026-06-05 17:59:52') RETURNING "id" |
| 17:59:54.010 | 3.4 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_sales_order_products" ("erp_sales_order_id", "product_id", "number", "amount", "total_amount", "description", "supplier_id", "hardware_from", "software_from", "maintenance_from", "hardware_to", "software_to", "maintenance_to") VALUES (1720, 1558, '1', '88221', '88221', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL) RETURNING "id" |
| 17:59:53.902 | 3.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_verify_processes" WHERE "id"=6 |
| 17:59:53.949 | 3.2 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_erp_sales_order_products' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 17:59:52.404 | 2.9 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=4181) AND ("term_id"=9) |
| 17:59:53.922 | 2.8 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_erp_sales_order_verify_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 17:59:52.300 | 2.8 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "project_product_version_id"=1377 WHERE "id"=4181 |
| 17:59:52.303 | 2.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4181) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:59:52.307 | 2.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3364 |
| 17:59:52.296 | 2.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=4181 |
| 17:59:52.361 | 2.3 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_product_types" ("project_id", "product_type_id", "name", "budget", "pct", "profit") VALUES (4181, 5, '安全设备', '264663', 10, '26466.3') |
| 17:59:52.401 | 2.2 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\ProjectStatusLogs', 4377, 'a:6:{s:2:"id";i:4377;s:10:"project_id";i:4181;s:10:"new_status";i:2;s:10:"old_status";N;s:10:"created_by";i:1001;s:10:"created_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 17:59:53.883 | 2.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4181) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:59:53.822 | 2.1 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3364, 1001, 'now()', NULL) RETURNING "id" |
| 17:59:53.942 | 1.9 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "amount"='0', "number"='0', "next_verify_user"=1001 WHERE "id"=1720 |
| 17:59:52.014 | 1.8 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='1') |
| 17:59:52.250 | 1.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4181 |
| 17:59:52.507 | 1.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4181 |
| 17:59:53.939 | 1.8 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_sales_order_verify_rels" ("erp_sales_order_id", "user_id", "status") VALUES (1720, 1001, 0) |
| 17:59:52.252 | 1.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=4181 ORDER BY "id" |
| 17:59:52.456 | 1.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 17:59:53.879 | 1.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4181 |
| 17:59:52.510 | 1.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:59:54.033 | 1.2 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/project/save-new', '{"Projects":{"id":"","client_name":"\u5317\u4eac\u6781\u901a\u4e16\u7eaa\u4fe1\u606f\u6280\u672f\u6709\u9650\u516c\u53f8\uff08\u8fc7\u5355\uff09","client_id":"3364","project_status":"3","project_progress":"2","profit":"26466.3","profit_pct":"10.00","bargain_date":"2026-06-05","project_title":"\u623f\u8d37\u9996\u4ed8\u7684","from_contact_name":"","from_contact":"","salesForecast":"181","purchaseType":"128","opportunityFrom":"","contract_type":"1","comment":"","payment_collection_remind_ahead":"1 day","project_product_version_id":"","projectProductRels":{"new":{"2":{"product_id":"1558","amount":"88221","total_amount":"88221","number":"1","description":"","hardware_from":"","hardware_to":"","maintenance_from":"","maintenance_to":"","software_from":"","software_to":"","supplier_id":""},"1":{"product_id":"1558","amount":"88221","total_amount":"88221","number":"1","description":"","hardware_from":"","hardware_to":"","maintenance_from":"","maintenance_to":"","software_from":"","software_to":"","supplier_id":""},"0":{"product_id":"1558","amount":"88221","total_amount":"88221","number":"1","description":"","hardware_from":"","hardware_to":"","maintenance_from":"","maintenance_to":"","software_from":"","software_to":"","supplier_id":""}}},"projectContactPoints":"","projectContactPointRels":"","projectUsedClient":{"used_client":"","budget":"","profit":"","profit_pct":"","projectUsedClientPaymentCollectionRemindReceivers":"","projectUsedClientPaymentCollectionRemindDates":"","remind_ahead":"","projectUsedClientPayments":"","projectUsedClientInvoices":""},"projectProductTypes":{"5":{"budget":"264663","profit":"26466.3","pct":"10"}},"projectArchitects":"","projectRemindReceivers":"","salesContractPaymentCollectionRemindReceivers":["1001","5295"],"salesContractPaymentCollectionRemindDates":""},"web_access_token":"l4p3M_87vSdo8QF-blMLH4iPaepKw7vp"}', '{"code":2000,"result":{"id":4181},"status":1,"msg":[{"name":"success","success":"\u65b0\u5546\u673a\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-05 17:59:54', 2028336128) RETURNING "id" |
| 17:59:54.029 | 1.2 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "is_used"=FALSE WHERE "id"=1720 |
| 17:59:52.366 | 1.1 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "profit_pct"='10', "budget"='264663', "end_at"=NULL WHERE "id"=4181 |
| 17:59:53.827 | 1.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_projects" WHERE ("project_status"=3) AND ("bargain_date" >= '2026-01-01 00:00:00') AND ("bargain_date" <= '2026-12-31 23:59:59') AND ("client_id"=3364) |
| 17:59:53.882 | 1.0 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "is_verify"=TRUE WHERE "id"=4181 |
| 17:59:53.887 | 1.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=4181 |
| 17:59:53.921 | 1.0 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE "erp_sales_order_id"=1720 |
| 17:59:52.284 | 1.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:59:52.537 | 0.9 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\UserActionLogs', 171984, 'a:15:{s:2:"id";i:171984;s:9:"object_id";i:4181;s:11:"object_type";i:1;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:161:"{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:9:"new_value";s:161:"{"uncollected":null,"unissued_invoice":null,"paymentCollections":null,"remain":null,"issued_invoices":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";s:6:"params";a:0:{}}s:11:"description";s:81:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-05 17:59:52";s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.216.117.119') |
| 17:59:52.540 | 0.9 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "name"='北京极通世纪信息技术有限公司(过单)', "updated_at"='now()' WHERE "id"=3364 |
| 17:59:52.017 | 0.9 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='2') |
| 17:59:53.900 | 0.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=4181 ORDER BY "id" |
| 17:59:53.871 | 0.8 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3364, 1001, 'now()', NULL) RETURNING "id" |
| 17:59:52.306 | 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\Projects', 4181, 'a:1:{s:26:"project_product_version_id";i:1377;}', '', 1001, '221.216.117.119') |
| 17:59:52.006 | 0.7 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:59:52.012 | 0.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3364' |
| 17:59:54.026 | 0.7 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2257 |
| 17:59:52.016 | 0.6 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3364') |
| 17:59:52.393 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3364' |
| 17:59:52.472 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:59:54.024 | 0.6 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2256 |
| 17:59:54.021 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "erp_sales_order_id"=1720 |
| 17:59:54.020 | 0.5 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "amount"='264663', "number"='3' WHERE "id"=1720 |
| 17:59:52.455 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4181 |
| 17:59:52.538 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3364' |
| 17:59:53.886 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3364 |
| 17:59:54.028 | 0.5 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2258 |
| 17:59:52.427 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=4181 |
| 17:59:53.825 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:59:54.014 | 0.5 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "erp_sales_order_product_id"=2256 WHERE "id"=12134 |
| 17:59:54.022 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_order_product_id" IN (2256, 2257, 2258) |
| 17:59:52.471 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3364' |
| 17:59:52.360 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=5 |
| 17:59:52.427 | 0.5 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (13, 181, 4181) |
| 17:59:52.014 | 0.5 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"='3364') AND ("project_title"='房贷首付的')) |
| 17:59:53.827 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3364' |
| 17:59:52.521 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:59:53.947 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:59:54.015 | 0.4 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_sales_order_products" ("erp_sales_order_id", "product_id", "number", "amount", "total_amount", "description", "supplier_id", "hardware_from", "software_from", "maintenance_from", "hardware_to", "software_to", "maintenance_to") VALUES (1720, 1558, '1', '88221', '88221', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL) RETURNING "id" |
| 17:59:54.018 | 0.4 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_sales_order_products" ("erp_sales_order_id", "product_id", "number", "amount", "total_amount", "description", "supplier_id", "hardware_from", "software_from", "maintenance_from", "hardware_to", "software_to", "maintenance_to") VALUES (1720, 1558, '1', '88221', '88221', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL) RETURNING "id" |
| 17:59:52.008 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:59:52.426 | 0.4 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=4181) AND ("term_id"=13) |
| 17:59:52.520 | 0.4 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', 641365, 'a:13:{s:2:"id";i:641365;s:9:"object_id";i:4181;s:11:"object_type";i:1;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:805:"{"id":4181,"client_id":3364,"project_status":2,"project_progress":2,"budget":"264663","profit_pct":"10","bargain_date":"2026-06-05","description":null,"created_by":1001,"created_at":"2026-06-05 17:59:52","updated_at":"2026-06-05 17:59:52","engineer_id":null,"project_title":"\u623f\u8d37\u9996\u4ed8\u7684","collected":"0","status_updated_at":"2026-06-05 17:59:52.021481+08","success_rate":null,"comment":"","contract_type":1,"progress_updated_at":"2026-06-05 17:59:52.021481+08","forecast_updated_at":"2026-06-05 17:59:52.021481+08","end_at":null,"pinyin_shortcut":"fdsfd","creator":1001,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":1377,"is_sales_order_ready":false,"collected_plan":null,"change_status_to":3,"is_verify":false}";s:9:"new_value";s:805:"{"id":4181,"client_id":3364,"project_status":2,"project_progress":2,"budget":"264663","profit_pct":"10","bargain_date":"2026-06-05","description":null,"created_by":1001,"created_at":"2026-06-05 17:59:52","updated_at":"2026-06-05 17:59:52","engineer_id":null,"project_title":"\u623f\u8d37\u9996\u4ed8\u7684","collected":"0","status_updated_at":"2026-06-05 17:59:52.021481+08","success_rate":null,"comment":"","contract_type":1,"progress_updated_at":"2026-06-05 17:59:52.021481+08","forecast_updated_at":"2026-06-05 17:59:52.021481+08","end_at":null,"pinyin_shortcut":"fdsfd","creator":1001,"used_client":null,"from_contact":null,"total_contact_point":null,"paid_contact_point":null,"project_product_version_id":1377,"is_sales_order_ready":false,"collected_plan":null,"change_status_to":3,"is_verify":false}";s:11:"description";s:81:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-05 17:59:52";s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 17:59:54.025 | 0.4 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='0' WHERE "id"=2257 |
| 17:59:53.947 | 0.4 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', 1720, 20007, 1001, '2026-06-05 17:59:52', '{"id":1720,"serial_no":"XSDD-20260605-00009","from_date":null,"wrote_date":"2026-06-05","handler":1001,"client_id":3364,"purchase_contract_id":null,"project_id":4181,"sales_contract_id":null,"erp_store_id":null,"status":1,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":1001,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"1001\",\"5295\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-05 17:59:52","updated_at":"2026-06-05 17:59:52","print_times":null}', '{"id":1720,"serial_no":"XSDD-20260605-00009","from_date":null,"wrote_date":"2026-06-05","handler":1001,"client_id":3364,"purchase_contract_id":null,"project_id":4181,"sales_contract_id":null,"erp_store_id":null,"status":1,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":1001,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"1001\",\"5295\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-05 17:59:52","updated_at":"2026-06-05 17:59:52","print_times":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8ba2\u5355\u7533\u8bf7","d4":[]}') RETURNING "id" |
| 17:59:53.826 | 0.4 ms | yii\db\Command::query | INSERT 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', 3364, 10, 4181, 1, 1001, '[4181]', '[4181]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":["\u623f\u8d37\u9996\u4ed8\u7684"]}') RETURNING "id" |
| 17:59:54.023 | 0.4 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='0' WHERE "id"=2256 |
| 17:59:54.019 | 0.4 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\ProjectProductRels', 12136, 'a:1:{s:26:"erp_sales_order_product_id";i:2258;}', '', 1001, '221.216.117.119') |
| 17:59:52.018 | 0.4 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='3') |
| 17:59:54.019 | 0.3 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "erp_sales_order_product_id"=2258 WHERE "id"=12136 |
| 17:59:52.471 | 0.3 ms | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 17:59:53.945 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1720 |
| 17:59:53.946 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1720) ORDER BY "id" |
| 17:59:54.017 | 0.3 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "erp_sales_order_product_id"=2257 WHERE "id"=12135 |
| 17:59:54.014 | 0.3 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\ErpSalesOrderProducts', 2256, 'a:21:{s:2:"id";i:2256;s:18:"erp_sales_order_id";i:1720;s:12:"erp_store_id";N;s:10:"product_id";i:1558;s:11:"description";s:0:"";s:6:"number";i:1;s:8:"outbound";N;s:6:"amount";s:5:"88221";s:12:"total_amount";s:5:"88221";s:11:"last_number";N;s:11:"last_amount";N;s:17:"last_total_amount";N;s:4:"cost";N;s:10:"total_cost";N;s:11:"supplier_id";N;s:13:"hardware_from";N;s:13:"software_from";N;s:16:"maintenance_from";N;s:11:"hardware_to";N;s:11:"software_to";N;s:14:"maintenance_to";N;}', '', 1001, '221.216.117.119') |
| 17:59:53.885 | 0.3 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\Projects', 4181, 'a:0:{}', '', 1001, '221.216.117.119') |
| 17:59:54.027 | 0.3 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='0' WHERE "id"=2258 |
| 17:59:54.016 | 0.3 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\ErpSalesOrderProducts', 2257, 'a:21:{s:2:"id";i:2257;s:18:"erp_sales_order_id";i:1720;s:12:"erp_store_id";N;s:10:"product_id";i:1558;s:11:"description";s:0:"";s:6:"number";i:1;s:8:"outbound";N;s:6:"amount";s:5:"88221";s:12:"total_amount";s:5:"88221";s:11:"last_number";N;s:11:"last_amount";N;s:17:"last_total_amount";N;s:4:"cost";N;s:10:"total_cost";N;s:11:"supplier_id";N;s:13:"hardware_from";N;s:13:"software_from";N;s:16:"maintenance_from";N;s:11:"hardware_to";N;s:11:"software_to";N;s:14:"maintenance_to";N;}', '', 1001, '221.216.117.119') |
| 17:59:54.024 | 0.3 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\ErpSalesOrderProducts', 2256, 'a:0:{}', '', 1001, '221.216.117.119') |
| 17:59:53.945 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:59:52.019 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 17:59:53.872 | 0.3 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\ClientAmChangeLogs', 199937, 'a:5:{s:2:"id";i:199937;s:9:"client_id";i:3364;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 17:59:53.920 | 0.3 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\ErpSalesOrders', 1720, 'a:37:{s:2:"id";i:1720;s:9:"serial_no";s:19:"XSDD-20260605-00009";s:9:"from_date";N;s:10:"wrote_date";s:10:"2026-06-05";s:7:"handler";i:1001;s:9:"client_id";i:3364;s:20:"purchase_contract_id";N;s:10:"project_id";i:4181;s:17:"sales_contract_id";N;s:12:"erp_store_id";N;s:6:"status";i:1;s:16:"erp_send_type_id";N;s:8:"abstract";N;s:11:"description";N;s:11:"verify_type";s:1:"2";s:16:"next_verify_user";N;s:21:"next_stop_verify_user";N;s:23:"next_cancel_verify_user";N;s:9:"verify_at";N;s:7:"stop_at";N;s:9:"cancel_at";N;s:18:"refuse_description";N;s:14:"is_resubmitted";N;s:7:"is_done";N;s:6:"number";d:3;s:6:"amount";d:529326;s:10:"created_by";i:1001;s:16:"stop_description";N;s:5:"extra";s:156:"{"payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["1001","5295"],"salesContractPaymentCollectionRemindDates":null}";s:15:"outbound_status";b:0;s:7:"is_used";N;s:9:"is_cancel";N;s:9:"is_settle";N;s:6:"is_old";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"print_times";N;}', '', 1001, '221.216.117.119') |
| 17:59:52.428 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"=2 |
| 17:59:53.948 | 0.3 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', 641367, 'a:13:{s:2:"id";i:641367;s:9:"object_id";i:1720;s:11:"object_type";i:20007;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:922:"{"id":1720,"serial_no":"XSDD-20260605-00009","from_date":null,"wrote_date":"2026-06-05","handler":1001,"client_id":3364,"purchase_contract_id":null,"project_id":4181,"sales_contract_id":null,"erp_store_id":null,"status":1,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":1001,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"1001\",\"5295\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-05 17:59:52","updated_at":"2026-06-05 17:59:52","print_times":null}";s:9:"new_value";s:922:"{"id":1720,"serial_no":"XSDD-20260605-00009","from_date":null,"wrote_date":"2026-06-05","handler":1001,"client_id":3364,"purchase_contract_id":null,"project_id":4181,"sales_contract_id":null,"erp_store_id":null,"status":1,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"next_cancel_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"is_done":false,"number":"0","amount":"0","created_by":1001,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"1001\",\"5295\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2026-06-05 17:59:52","updated_at":"2026-06-05 17:59:52","print_times":null}";s:11:"description";s:105:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8ba2\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-05 17:59:52";s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 17:59:54.020 | 0.3 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\ErpSalesOrders', 1720, 'a:2:{s:6:"amount";d:264663;s:6:"number";d:3;}', '', 1001, '221.216.117.119') |
| 17:59:53.944 | 0.3 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\ErpSalesOrders', 1720, 'a:2:{s:6:"amount";i:0;s:6:"number";i:0;}', '', 1001, '221.216.117.119') |
| 17:59:53.824 | 0.3 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\ClientAmChangeLogs', 199936, 'a:5:{s:2:"id";i:199936;s:9:"client_id";i:3364;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 17:59:52.295 | 0.3 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', 641364, 'a:13:{s:2:"id";i:641364;s:9:"object_id";i:4181;s:11:"object_type";i:1;s:9:"target_id";i:1377;s:18:"target_object_type";i:112;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[1377]";s:9:"new_value";s:6:"[1377]";s:11:"description";s:183:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u4ea7\u54c1\u5386\u53f2\u62a5\u4ef7\u6e05\u5355","d4":["2026-06-05 17:59\u4ea7\u54c1\u5386\u53f2\u62a5\u4ef7\u6e05\u5355"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 17:59:53.941 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1720) ORDER BY "id" |
| 17:59:52.283 | 0.3 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\ProjectProductVersions', 1377, 'a:4:{s:2:"id";i:1377;s:10:"project_id";i:4181;s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-05 17:59:52";}', '', 1001, '221.216.117.119') |
| 17:59:52.469 | 0.3 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', 220755, 'a:11:{s:2:"id";i:220755;s:9:"object_id";i:4181;s:11:"object_type";s:1:"1";s:6:"parent";N;s:11:"description";s:54:"刘人诚新建了一条状态为明确需求的商机";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:0:"";}', '', 1001, '221.216.117.119') |
| 17:59:53.873 | 0.3 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\Clients', 3364, 'a:0:{}', '', 1001, '221.216.117.119') |
| 17:59:52.019 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 17:59:54.027 | 0.3 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\ErpSalesOrderProducts', 2258, 'a:0:{}', '', 1001, '221.216.117.119') |
| 17:59:54.030 | 0.3 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\ErpSalesOrders', 1720, 'a:0:{}', '', 1001, '221.216.117.119') |
| 17:59:54.030 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE 0=1 |
| 17:59:54.017 | 0.2 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\ProjectProductRels', 12135, 'a:1:{s:26:"erp_sales_order_product_id";i:2257;}', '', 1001, '221.216.117.119') |
| 17:59:53.824 | 0.2 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\Clients', 3364, 'a:0:{}', '', 1001, '221.216.117.119') |
| 17:59:52.393 | 0.2 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\Projects', 4181, 'a:2:{s:6:"budget";d:264663;s:10:"profit_pct";d:10;}', '', 1001, '221.216.117.119') |
| 17:59:53.826 | 0.2 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', 641366, 'a:13:{s:2:"id";i:641366;s:9:"object_id";i:3364;s:11:"object_type";i:10;s:9:"target_id";i:4181;s:18:"target_object_type";i:1;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[4181]";s:9:"new_value";s:6:"[4181]";s:11:"description";s:113:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5546\u673a","d4":["\u623f\u8d37\u9996\u4ed8\u7684"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 17:59:54.018 | 0.2 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\ErpSalesOrderProducts', 2258, 'a:21:{s:2:"id";i:2258;s:18:"erp_sales_order_id";i:1720;s:12:"erp_store_id";N;s:10:"product_id";i:1558;s:11:"description";s:0:"";s:6:"number";i:1;s:8:"outbound";N;s:6:"amount";s:5:"88221";s:12:"total_amount";s:5:"88221";s:11:"last_number";N;s:11:"last_amount";N;s:17:"last_total_amount";N;s:4:"cost";N;s:10:"total_cost";N;s:11:"supplier_id";N;s:13:"hardware_from";N;s:13:"software_from";N;s:16:"maintenance_from";N;s:11:"hardware_to";N;s:11:"software_to";N;s:14:"maintenance_to";N;}', '', 1001, '221.216.117.119') |
| 17:59:52.005 | 0.2 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:59:54.026 | 0.2 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\ErpSalesOrderProducts', 2257, 'a:0:{}', '', 1001, '221.216.117.119') |
| 17:59:54.015 | 0.2 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\ProjectProductRels', 12134, 'a:1:{s:26:"erp_sales_order_product_id";i:2256;}', '', 1001, '221.216.117.119') |
| 17:59:53.946 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1720) ORDER BY "id" |
| 17:59:52.250 | 0.1 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_product_rels" WHERE 0=1 |