Total processing time: 250 ms; Peak memory: 6.541 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
17:48:33.866 | 16.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2125) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:48:33.896 | 15.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2125) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:48:33.798 | 6.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_order_items" WHERE "project_id"=3796 |
17:48:33.725 | 5.6 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_term_taxonomies' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
17:48:33.816 | 4.4 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "client_id"=2125, "project_progress"=3, "budget"='790000', "profit_pct"='25', "bargain_date"='2025-09-10', "updated_at"='now()', "status_updated_at"='now()', "contract_type"=1, "from_contact"=NULL, "change_status_to"=3 WHERE "id"=3796 |
17:48:33.731 | 3.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_term_taxonomies' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
17:48:33.788 | 3.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_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
17:48:33.833 | 3.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_term_taxonomy_relationships' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
17:48:33.836 | 2.9 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (9, 128, 3796) |
17:48:33.885 | 2.9 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_client_am_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
17:48:33.745 | 2.9 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_types' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
17:48:33.848 | 2.8 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_used_clients" ("project_id", "used_client", "budget", "profit", "profit_pct") VALUES (3796, NULL, NULL, NULL, NULL) RETURNING "id" |
17:48:33.752 | 2.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_product_types' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
17:48:33.749 | 2.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_product_types' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
17:48:33.742 | 2.6 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_types' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
17:48:33.786 | 2.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_project_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
17:48:33.930 | 2.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", "outbound_status") VALUES ('XSDD-20250910-00008', 5087, 5087, '790000', '2025-09-10', 'now()', 2, 1, 2125, 3796, NULL, '{"payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["5449","5087"],"salesContractPaymentCollectionRemindDates":null}', FALSE) RETURNING "id" |
17:48:33.715 | 2.5 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5064 |
17:48:33.830 | 2.4 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_term_taxonomy_relationships' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
17:48:33.883 | 2.4 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_client_am_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
17:48:33.825 | 2.4 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_architects" ("project_id", "engineer_id", "contribution", "created_by") VALUES (3796, 1015, '1', 5064) |
17:48:33.863 | 2.3 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2125 |
17:48:33.843 | 2.1 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_project_remind_receivers" ("project_id", "user_id") VALUES (3796, 1001) RETURNING "id" |
17:48:33.813 | 2.1 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'bargain_date', 3796, 1, 5064, 'now()', '["2025-09-10"]', '["2025-12-31"]', array[5087], '{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u6210\u4ea4\u65e5\u671f","d4":["2025-12-31 <b>\u53d8\u4e3a<\/b> 2025-09-10"]}') |
17:48:33.950 | 2.1 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', 1585, 20007, 5064, '2025-09-10 17:48:33', '{"id":1585,"serial_no":"XSDD-20250910-00008","from_date":null,"wrote_date":"2025-09-10","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"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":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5449\",\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-09-10 17:48:33","updated_at":"2025-09-10 17:48:33"}', '{"id":1585,"serial_no":"XSDD-20250910-00008","from_date":null,"wrote_date":"2025-09-10","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"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":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5449\",\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-09-10 17:48:33","updated_at":"2025-09-10 17:48:33"}', '{"d1":"\u59da\u96ea\u7eaf","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8ba2\u5355\u7533\u8bf7","d4":[]}') RETURNING "id" |
17:48:33.713 | 1.9 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:48:33.942 | 1.7 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (1585, '20007', 191176, 1001) |
17:48:33.784 | 1.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3796) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:48:33.718 | 1.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
17:48:33.804 | 1.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3796) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:48:33.821 | 1.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3796) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:48:33.924 | 1.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3796) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:48:33.755 | 1.1 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_project_product_types" ("project_id", "product_type_id", "name", "budget", "pct", "profit") VALUES (3796, 2, '服务器', '790000.00', 25, '197500') |
17:48:33.793 | 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\Projects', 3796, 'a:0:{}', '', 5064, '114.246.239.150') |
17:48:33.889 | 1.0 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2125, 5087, 'now()', NULL) RETURNING "id" |
17:48:33.940 | 1.0 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (5064, '20007', 1585, '姚雪纯 有一个销售订单需要审批', TRUE, 'XSDD-20250910-00008') RETURNING "id" |
17:48:33.811 | 1.0 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'bargain_date', 3796, 1, 5064, 'now()', '["2025-09-10"]', '["2025-12-31"]', '{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u6210\u4ea4\u65e5\u671f","d4":["2025-12-31 <b>\u53d8\u4e3a<\/b> 2025-09-10"]}') |
17:48:33.927 | 1.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("created_at" >= '2025-09-10 00:00:00') AND ("created_at" <= '2025-09-10 23:59:59') AND ("serial_no" ILIKE '%XSDD-20250910-%') AND (LENGTH(serial_no) = 19) ORDER BY "serial_no" DESC |
17:48:33.958 | 1.0 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5064, 5, 'vue/project/save-edit', '{"Projects":{"id":"3796","payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["5449","5087"],"salesContractPaymentCollectionRemindDates":"","client_name":"\u5317\u4eac\u822a\u661f\u673a\u5668\u5236\u9020\u6709\u9650\u516c\u53f8239\u5382","client_id":"2125","project_status":"3","project_progress":"3","profit":"197500","profit_pct":"25","bargain_date":"2025-09-10","project_title":"deepseek\u79c1\u6709\u5316\u90e8\u7f72-239-K","from_contact_name":"","from_contact":"","salesForecast":"142","purchaseType":"128","opportunityFrom":"","contract_type":"1","projectArchitects":{"1015":"1"},"comment":"","projectRemindReceivers":["1001"],"project_product_version_id":"","projectProductRels":"","projectContactPoints":"","projectContactPointRels":"","projectUsedClient":{"used_client":"","budget":"","profit":"","profit_pct":"","projectUsedClientPaymentCollectionRemindReceivers":"","projectUsedClientPaymentCollectionRemindDates":"","remind_ahead":"","projectUsedClientPayments":"","projectUsedClientInvoices":""},"projectProductTypes":{"2":{"budget":"790000.00","profit":"197500","pct":"25"}}},"web_access_token":"LDTcnA1-CvwkRlebCRg_-13YT_Nb9wuu"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u5546\u673a\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0}', FALSE, '2025-09-10 17:48:33') RETURNING "id" |
17:48:33.740 | 1.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3796) |
17:48:33.748 | 0.9 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3796 |
17:48:33.934 | 0.9 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_sales_order_verify_rels" ("erp_sales_order_id", "user_id", "status") VALUES (1585, 1001, 0) |
17:48:33.724 | 0.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=13) AND ("id" IN (5, 128, 142, 369)) ORDER BY "sort" |
17:48:33.936 | 0.9 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "amount"='0', "number"='0', "next_verify_user"=1001 WHERE "id"=1585 |
17:48:33.911 | 0.9 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2125, 5087, 'now()', NULL) RETURNING "id" |
17:48:33.809 | 0.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_contact_point_rels" WHERE "project_id"=3796 |
17:48:33.846 | 0.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=3796 |
17:48:33.852 | 0.8 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'projectUsedClientRemindAhead', 3796, 1, 5064, 'now()', '["\u4e0d\u63d0\u9192"]', '[""]', '{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u7528\u6237\u6536\u6b3e\u63d0\u9192\u65f6\u95f4","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u4e0d\u63d0\u9192"]}') |
17:48:33.892 | 0.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 (2, 'update', 2125, 10, 3796, 1, 5064, '[3796]', '[3796]', '{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["deepseek\u79c1\u6709\u5316\u90e8\u7f72-239-K"]}') RETURNING "id" |
17:48:33.841 | 0.8 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (13, 142, 3796) |
17:48:33.806 | 0.8 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 3796, 'a:0:{}', '', 5064, '114.246.239.150') |
17:48:33.721 | 0.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3796' |
17:48:33.845 | 0.8 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ProjectRemindReceivers', 1779, 'a:3:{s:2:"id";i:1779;s:10:"project_id";i:3796;s:7:"user_id";s:4:"1001";}', '', 5064, '114.246.239.150') |
17:48:33.923 | 0.8 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "is_verify"=TRUE WHERE "id"=3796 |
17:48:33.853 | 0.8 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'projectUsedClientRemindAhead', 3796, 1, 5064, 'now()', '["\u4e0d\u63d0\u9192"]', '[""]', array[5087], '{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u7528\u6237\u6536\u6b3e\u63d0\u9192\u65f6\u95f4","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u4e0d\u63d0\u9192"]}') |
17:48:33.851 | 0.8 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ProjectUsedClients', 188, 'a:8:{s:2:"id";i:188;s:10:"project_id";i:3796;s:11:"used_client";s:0:"";s:6:"budget";s:0:"";s:6:"profit";s:0:"";s:10:"profit_pct";s:0:"";s:14:"collected_plan";N;s:12:"remind_ahead";N;}', '', 5064, '114.246.239.150') |
17:48:33.952 | 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 ('INSERT', 'app\models\ObjectChangeLogs', 564896, 'a:13:{s:2:"id";i:564896;s:9:"object_id";i:1585;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:903:"{"id":1585,"serial_no":"XSDD-20250910-00008","from_date":null,"wrote_date":"2025-09-10","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"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":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5449\",\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-09-10 17:48:33","updated_at":"2025-09-10 17:48:33"}";s:9:"new_value";s:903:"{"id":1585,"serial_no":"XSDD-20250910-00008","from_date":null,"wrote_date":"2025-09-10","handler":5087,"client_id":2125,"purchase_contract_id":null,"project_id":3796,"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":5087,"stop_description":null,"extra":"{\"payment_collection_remind_ahead\":\"1 day\",\"salesContractPaymentCollectionRemindReceivers\":[\"5449\",\"5087\"],\"salesContractPaymentCollectionRemindDates\":null}","outbound_status":false,"is_used":false,"is_cancel":false,"is_settle":false,"is_old":false,"created_at":"2025-09-10 17:48:33","updated_at":"2025-09-10 17:48:33"}";s:11:"description";s:105:"{"d1":"\u59da\u96ea\u7eaf","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8ba2\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:5064;s:10:"created_at";s:19:"2025-09-10 17:48:33";s:9:"is_delete";N;}', '', 5064, '114.246.239.150') |
17:48:33.956 | 0.7 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "outbound_status"=TRUE, "is_used"=FALSE WHERE "id"=1585 |
17:48:33.822 | 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', 3796, 'a:1:{s:12:"bargain_date";s:10:"2025-09-10";}', '', 5064, '114.246.239.150') |
17:48:33.825 | 0.7 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_architects" WHERE "project_id"=3796 |
17:48:33.953 | 0.7 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "amount"='790000' WHERE "id"=1585 |
17:48:33.855 | 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\ProjectUsedClients', 188, 'a:0:{}', '', 5064, '114.246.239.150') |
17:48:33.925 | 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', 3796, 'a:0:{}', '', 5064, '114.246.239.150') |
17:48:33.842 | 0.7 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3796 |
17:48:33.890 | 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 ('INSERT', 'app\models\ClientAmChangeLogs', 180768, 'a:5:{s:2:"id";i:180768;s:9:"client_id";i:2125;s:9:"sales_rep";i:5087;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 5064, '114.246.239.150') |
17:48:33.957 | 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\ErpSalesOrders', 1585, 'a:0:{}', '', 5064, '114.246.239.150') |
17:48:33.854 | 0.7 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_used_clients" SET "remind_ahead"=NULL WHERE "id"=188 |
17:48:33.912 | 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 ('INSERT', 'app\models\ClientAmChangeLogs', 180769, 'a:5:{s:2:"id";i:180769;s:9:"client_id";i:2125;s:9:"sales_rep";i:5087;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 5064, '114.246.239.150') |
17:48:33.937 | 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\ErpSalesOrders', 1585, 'a:3:{s:6:"amount";i:0;s:16:"next_verify_user";i:1001;s:6:"number";i:0;}', '', 5064, '114.246.239.150') |
17:48:33.859 | 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\ProjectUsedClients', 188, 'a:0:{}', '', 5064, '114.246.239.150') |
17:48:33.913 | 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\Clients', 2125, 'a:0:{}', '', 5064, '114.246.239.150') |
17:48:33.829 | 0.7 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3796) AND ("term_id"=9) |
17:48:33.954 | 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\ErpSalesOrders', 1585, 'a:1:{s:6:"amount";s:6:"790000";}', '', 5064, '114.246.239.150') |
17:48:33.933 | 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 ('INSERT', 'app\models\ErpSalesOrders', 1585, 'a:36:{s:2:"id";i:1585;s:9:"serial_no";s:19:"XSDD-20250910-00008";s:9:"from_date";N;s:10:"wrote_date";s:10:"2025-09-10";s:7:"handler";i:5087;s:9:"client_id";i:2125;s:20:"purchase_contract_id";N;s:10:"project_id";i:3796;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";N;s:6:"amount";s:6:"790000";s:10:"created_by";i:5087;s:16:"stop_description";N;s:5:"extra";s:156:"{"payment_collection_remind_ahead":"1 day","salesContractPaymentCollectionRemindReceivers":["5449","5087"],"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;}', '', 5064, '114.246.239.150') |
17:48:33.941 | 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 ('INSERT', 'app\models\Comments', 191176, 'a:11:{s:2:"id";i:191176;s:9:"object_id";i:1585;s:11:"object_type";s:5:"20007";s:6:"parent";N;s:11:"description";s:43:"姚雪纯 有一个销售订单需要审批";s:10:"created_by";i:5064;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:19:"XSDD-20250910-00008";}', '', 5064, '114.246.239.150') |
17:48:33.891 | 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\Clients', 2125, 'a:0:{}', '', 5064, '114.246.239.150') |
17:48:33.840 | 0.7 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3796) AND ("term_id"=13) |
17:48:33.893 | 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 ('INSERT', 'app\models\ObjectChangeLogs', 564895, 'a:13:{s:2:"id";i:564895;s:9:"object_id";s:4:"2125";s:11:"object_type";i:10;s:9:"target_id";i:3796;s:18:"target_object_type";i:1;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3796]";s:9:"new_value";s:6:"[3796]";s:11:"description";s:127:"{"d1":"\u59da\u96ea\u7eaf","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["deepseek\u79c1\u6709\u5316\u90e8\u7f72-239-K"]}";s:10:"created_by";i:5064;s:10:"created_at";N;s:9:"is_delete";N;}', '', 5064, '114.246.239.150') |
17:48:33.795 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125 |
17:48:33.741 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_types" WHERE "project_id"=3796 |
17:48:33.757 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796 |
17:48:33.737 | 0.5 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE ("client_id"='2125') AND ("project_title"='deepseek私有化部署-239-K') AND ("id" != 3796)) |
17:48:33.927 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"=3796 |
17:48:33.824 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_architects" WHERE "project_id"=3796 |
17:48:33.738 | 0.5 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125') |
17:48:33.955 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "erp_sales_order_id"=1585 |
17:48:33.860 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_client_payments" WHERE ("project_used_client_id"=188) AND (amount > paid_amount) ORDER BY "collected_date", "created_at" |
17:48:33.922 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE ("status" IN (2, 5)) AND ("project_id"=3796) |
17:48:33.929 | 0.4 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:48:33.724 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3796 |
17:48:33.755 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=2 |
17:48:33.947 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125 |
17:48:33.946 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
17:48:33.894 | 0.3 ms | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_projects" WHERE ("project_status"=3) AND ("bargain_date" >= '2025-01-01 00:00:00') AND ("bargain_date" <= '2025-12-31 23:59:59') AND ("client_id"=2125) |
17:48:33.926 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125 |
17:48:33.894 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125' |
17:48:33.823 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125' |
17:48:33.741 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
17:48:33.861 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125' |
17:48:33.949 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
17:48:33.812 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125' |
17:48:33.807 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125 |
17:48:33.929 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_verify_processes" WHERE "id"=6 |
17:48:33.892 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
17:48:33.938 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5087 |
17:48:33.842 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_remind_receivers" WHERE "project_id"=3796 |
17:48:33.852 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
17:48:33.823 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
17:48:33.953 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796 |
17:48:33.921 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796 |
17:48:33.847 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_clients" WHERE "project_id"=3796 |
17:48:33.737 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contract_types" WHERE "id"='1') |
17:48:33.808 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_contact_points" WHERE "project_id"=3796 |
17:48:33.853 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
17:48:33.948 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796 |
17:48:33.796 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796 |
17:48:33.939 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1585 |
17:48:33.857 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_dates" WHERE "project_used_client_id"=188 |
17:48:33.937 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1585 |
17:48:33.828 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=9) AND ("id" IN (5, 128, 142, 369)) ORDER BY "sort" |
17:48:33.758 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796 |
17:48:33.738 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_progresses" WHERE "id"='3') |
17:48:33.796 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796 |
17:48:33.861 | 0.3 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_project_used_client_invoices" WHERE "project_used_client_id"=188 |
17:48:33.935 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1585) ORDER BY "id" |
17:48:33.857 | 0.2 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_project_used_client_payments" WHERE "project_used_client_id"=188 |
17:48:33.807 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796 |
17:48:33.856 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_receivers" WHERE "project_used_client_id"=188 |
17:48:33.758 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796 |
17:48:33.757 | 0.2 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=3796 |
17:48:33.940 | 0.2 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064) |
17:48:33.739 | 0.2 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_project_statuses" WHERE "id"='3') |
17:48:33.934 | 0.2 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE "erp_sales_order_id"=1585 |
17:48:33.739 | 0.2 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5087) |
17:48:33.944 | 0.2 ms | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1001) AND ("id" != 5064) AND (channel_id IS NOT NULL) |
17:48:33.828 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=3796 |
17:48:33.958 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE 0=1 |
17:48:33.938 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1585) ORDER BY "id" |
17:48:33.859 | 0.2 ms | yii\db\Command::query | SELECT SUM(amount) FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_dates" WHERE "project_used_client_id"=188 |
17:48:33.939 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_verify_rels" WHERE ("status"=0) AND ("erp_sales_order_id"=1585) ORDER BY "id" |
17:48:33.829 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=128 |
17:48:33.839 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=142 |
17:48:33.829 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='128' |
17:48:33.839 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='142' |
17:48:33.810 | 0.2 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_project_contact_point_rels" WHERE "project_id"=3796 |
17:48:33.858 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_clients" WHERE "id"=188 |
17:48:33.858 | 0.1 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_used_client_payments" SET "paid_amount"='0' WHERE "project_used_client_id"=188 |
17:48:33.859 | 0.1 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_used_client_payment_collection_remind_dates" SET "paid_amount"='0', "status"=0, "overdue_days"=NULL WHERE "project_used_client_id"=188 |
17:48:33.808 | 0.1 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_contact_points" WHERE "project_id"=3796 |
17:48:33.858 | 0.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_client_payments" WHERE "project_used_client_id"=188 |
17:48:33.861 | 0.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_used_client_invoices" WHERE "project_used_client_id"=188 |
17:48:33.856 | 0.1 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_receivers" WHERE "project_used_client_id"=188 |
17:48:33.857 | 0.1 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_used_client_payment_collection_remind_dates" WHERE "project_used_client_id"=188 |
17:48:33.861 | 0.1 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_used_client_invoices" WHERE 0=1 |
17:48:33.758 | 0.1 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_product_rels" WHERE 0=1 |
17:48:33.810 | 0.1 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_contact_point_rels" WHERE 0=1 |
17:48:33.858 | 0.1 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_project_used_client_payments" WHERE 0=1 |