Total processing time: 456 ms; Peak memory: 5.452 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 14:15:43.425 | 29.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_inventory_product_spents' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 14:15:43.460 | 26.7 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_inventory_product_spents" ("erp_inventory_transfer_spent_id", "wrote_date", "erp_inventory_transfer_spent_product_id", "erp_inventory_product_id", "outbound", "amount", "total_amount", "transfer_spent_outbound", "actual_amount", "actual_total_amount") VALUES (4, '2026-07-09', 4, 536, '1', '8900', '8900', '1', '8900', '8900') |
| 14:15:43.202 | 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_erp_inventory_transfer_spent_products' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 14:15:43.379 | 15.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_transfer_spent_id"=4 |
| 14:15:43.230 | 15.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_inventory_transfer_products' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 14:15:43.290 | 14.5 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_inventory_transfer_products" ("erp_inventory_transfer_id", "erp_inventory_transfer_spent_product_id", "product_id", "out_store_id", "erp_store_id", "number", "out_amount", "out_total_amount", "amount", "total_amount", "diff_amount", "description") VALUES (4, 4, 2265, 2, 1, '1', '8900', '8900', '8900', '8900', '0', '测试') RETURNING "id" |
| 14:15:43.177 | 13.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_inventory_transfer_verify_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 14:15:43.540 | 11.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_object_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 14:15:43.510 | 10.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_settings' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 14:15:43.410 | 10.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_erp_inventory_product_spents' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 14:15:43.154 | 10.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\ErpInventoryTransfers', 4, 'a:29:{s:2:"id";i:4;s:9:"serial_no";s:18:"DBD-20260709-00001";s:13:"transfer_type";s:1:"1";s:10:"wrote_date";s:10:"2026-07-09";s:7:"handler";s:4:"1001";s:12:"erp_store_id";s:1:"1";s:12:"out_store_id";s:1:"2";s:6:"status";s:1:"1";s:8:"abstract";s:6:"测试";s:11:"description";s:5:"c额s";s:11:"verify_type";s:1:"2";s:16:"next_verify_user";N;s:21:"next_stop_verify_user";N;s:9:"verify_at";N;s:7:"stop_at";N;s:18:"refuse_description";N;s:14:"is_resubmitted";b:0;s:6:"number";N;s:6:"amount";N;s:10:"out_number";N;s:10:"out_amount";N;s:11:"diff_amount";N;s:10:"created_by";i:1001;s:16:"stop_description";N;s:7:"is_used";b:0;s:9:"is_settle";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"print_times";N;}', '', 1001, '114.244.130.61') |
| 14:15:43.144 | 9.6 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_action_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 14:15:43.325 | 8.0 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpInventoryTransfers', 4, 'a:3:{s:6:"amount";d:8900;s:10:"out_amount";d:8900;s:11:"diff_amount";i:0;}', '', 1001, '114.244.130.61') |
| 14:15:43.552 | 7.0 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', 4, 20032, 1001, '2026-07-09 14:15:43', '{"id":4,"serial_no":"DBD-20260709-00001","transfer_type":1,"wrote_date":"2026-07-09","handler":1001,"erp_store_id":1,"out_store_id":2,"status":1,"abstract":"\u6d4b\u8bd5","description":"c\u989ds","verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"8900","out_number":"1","out_amount":"8900","diff_amount":"0","created_by":1001,"stop_description":null,"is_used":false,"is_settle":false,"created_at":"2026-07-09 14:15:43","updated_at":"2026-07-09 14:15:43","print_times":null}', '{"id":4,"serial_no":"DBD-20260709-00001","transfer_type":1,"wrote_date":"2026-07-09","handler":1001,"erp_store_id":1,"out_store_id":2,"status":1,"abstract":"\u6d4b\u8bd5","description":"c\u989ds","verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"8900","out_number":"1","out_amount":"8900","diff_amount":"0","created_by":1001,"stop_description":null,"is_used":false,"is_settle":false,"created_at":"2026-07-09 14:15:43","updated_at":"2026-07-09 14:15:43","print_times":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8c03\u62e8\u5355\u7533\u8bf7","d4":[]}') RETURNING "id" |
| 14:15:43.344 | 6.9 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_transfers" SET "next_verify_user"=1001 WHERE "id"=4 |
| 14:15:43.316 | 6.1 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_transfers" SET "amount"='8900', "number"='1', "out_amount"='8900', "out_number"='1', "diff_amount"='0' WHERE "id"=4 |
| 14:15:43.353 | 6.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\ErpInventoryTransfers', 4, 'a:0:{}', '', 1001, '114.244.130.61') |
| 14:15:43.362 | 6.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfers" WHERE "id"=4 |
| 14:15:43.307 | 5.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\ErpInventoryTransferProducts', 4, 'a:21:{s:2:"id";i:4;s:25:"erp_inventory_transfer_id";i:4;s:39:"erp_inventory_transfer_spent_product_id";i:4;s:10:"product_id";s:4:"2265";s:12:"out_store_id";s:1:"2";s:12:"erp_store_id";s:1:"1";s:11:"description";s:6:"测试";s:6:"number";s:1:"1";s:10:"out_amount";s:4:"8900";s:16:"out_total_amount";d:8900;s:6:"amount";d:8900;s:12:"total_amount";d:8900;s:11:"diff_amount";i:0;s:9:"inventory";N;s:8:"outbound";N;s:13:"lost_outbound";N;s:20:"build_spent_outbound";N;s:26:"disassemble_spent_outbound";N;s:23:"transfer_spent_outbound";N;s:14:"sales_outbound";N;s:19:"sales_gift_outbound";N;}', '', 1001, '114.244.130.61') |
| 14:15:43.168 | 4.9 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20060) AND ("object_id"=4) |
| 14:15:43.371 | 4.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE 0=1 |
| 14:15:43.336 | 4.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_verify_rels" WHERE ("status"=0) AND ("erp_inventory_transfer_id"=4) ORDER BY "id" |
| 14:15:43.226 | 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_erp_inventory_transfer_products' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 14:15:43.134 | 4.0 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_inventory_transfers" ("out_store_id", "erp_store_id", "transfer_type", "wrote_date", "handler", "abstract", "description", "status", "verify_type", "created_by", "created_at", "serial_no", "is_resubmitted", "is_used") VALUES (2, 1, 1, '2026-07-09', 1001, '测试', 'c额s', 1, 2, 1001, 'now()', 'DBD-20260709-00001', FALSE, FALSE) RETURNING "id" |
| 14:15:43.140 | 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_action_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 14:15:43.536 | 3.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_object_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 14:15:43.191 | 3.6 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_inventory_transfer_verify_rels" ("erp_inventory_transfer_id", "user_id", "status") VALUES (4, 1001, 0) |
| 14:15:43.199 | 3.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_erp_inventory_transfer_spent_products' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 14:15:43.507 | 3.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_settings' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 14:15:43.174 | 3.3 ms | yii\db\Command::query | SELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_erp_inventory_transfer_verify_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 14:15:43.165 | 3.2 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20059) AND ("object_id"=4) |
| 14:15:43.222 | 2.4 ms | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_inventory_transfer_spent_products" ("erp_inventory_transfer_id", "erp_inventory_product_id", "product_id", "out_store_id", "erp_store_id", "number", "amount", "total_amount", "description") VALUES (4, 536, 2265, 2, 1, '1', '8900', '8900', '测试') RETURNING "id" |
| 14:15:43.399 | 1.8 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_transfer_spent_id"=4 |
| 14:15:43.501 | 1.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE 0=1 |
| 14:15:43.488 | 1.2 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_products" SET "updated_at"='now()', "in_out_at"='now()' WHERE "id"=2265 |
| 14:15:43.562 | 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/erp-inventory-transfer/save-new', '{"ErpInventoryTransfers":{"out_store_id":"2","erp_store_id":"1","transfer_type":"1","wrote_date":"2026-07-09","handler":"1001","abstract":"\u6d4b\u8bd5","description":"c\u989ds","status":"1","files":"","attachmentFiles":"","erpInventoryTransferVerifyRels":["1001"],"erpInventoryTransferCarbonCopyRels":"","erpInventoryTransferProducts":{"new":[{"erp_inventory_product_id":"536","product_id":"2265","number":"1","description":"\u6d4b\u8bd5"}]}},"web_access_token":"niM9Np1xaU2lIsoGJh5qM6IxT9naEHjn"}', '{"code":2000,"result":{"id":4},"status":1,"msg":[{"name":"success","success":"\u65b0\u8c03\u62e8\u5355\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0,"ip":"114.244.130.61","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-09 14:15:43', 448513024) RETURNING "id" |
| 14:15:43.117 | 1.1 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 14:15:43.505 | 1.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type' |
| 14:15:43.496 | 1.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE 0=1 |
| 14:15:43.498 | 0.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_products" WHERE 0=1 |
| 14:15:43.499 | 0.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE 0=1 |
| 14:15:43.504 | 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 ('UPDATE', 'app\models\ErpInventoryTransferProducts', 2, 'a:0:{}', '', 1001, '114.244.130.61') |
| 14:15:43.196 | 0.8 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_erp_inventory_transfer_spent_products" WHERE "erp_inventory_transfer_id"=4 |
| 14:15:43.119 | 0.7 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 14:15:43.522 | 0.7 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "actual_total_amount"='0' WHERE "id"=536 |
| 14:15:43.225 | 0.6 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\ErpInventoryTransferSpentProducts', 4, 'a:10:{s:2:"id";i:4;s:25:"erp_inventory_transfer_id";i:4;s:24:"erp_inventory_product_id";s:3:"536";s:10:"product_id";s:4:"2265";s:12:"out_store_id";s:1:"2";s:12:"erp_store_id";s:1:"1";s:11:"description";s:6:"测试";s:6:"number";s:1:"1";s:6:"amount";s:4:"8900";s:12:"total_amount";d:8900;}', '', 1001, '114.244.130.61') |
| 14:15:43.128 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfers" WHERE ("serial_no" ILIKE '%DBD-20260709-%') AND (LENGTH(serial_no) = 18) ORDER BY "serial_no" DESC |
| 14:15:43.121 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 14:15:43.116 | 0.5 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 14:15:43.490 | 0.5 ms | yii\db\Command::query | SELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.527 | 0.5 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='0', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0' WHERE "id"=536 |
| 14:15:43.495 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE 0=1 |
| 14:15:43.531 | 0.5 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_transfer_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "disassemble_spent_outbound"='0', "sales_outbound"='0', "sales_gift_outbound"='0' WHERE "id"=2 |
| 14:15:43.133 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=536 |
| 14:15:43.494 | 0.4 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "outbound"='1', "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='0', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0', "transfer_spent_outbound"='1' WHERE "id"=536 |
| 14:15:43.402 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=536 |
| 14:15:43.198 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"='536' |
| 14:15:43.498 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_products" WHERE 0=1 |
| 14:15:43.495 | 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\ErpInventoryProducts', 536, 'a:0:{}', '', 1001, '114.244.130.61') |
| 14:15:43.490 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=536 |
| 14:15:43.559 | 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', 643305, 'a:13:{s:2:"id";i:643305;s:9:"object_id";i:4;s:11:"object_type";i:20032;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:595:"{"id":4,"serial_no":"DBD-20260709-00001","transfer_type":1,"wrote_date":"2026-07-09","handler":1001,"erp_store_id":1,"out_store_id":2,"status":1,"abstract":"\u6d4b\u8bd5","description":"c\u989ds","verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"8900","out_number":"1","out_amount":"8900","diff_amount":"0","created_by":1001,"stop_description":null,"is_used":false,"is_settle":false,"created_at":"2026-07-09 14:15:43","updated_at":"2026-07-09 14:15:43","print_times":null}";s:9:"new_value";s:595:"{"id":4,"serial_no":"DBD-20260709-00001","transfer_type":1,"wrote_date":"2026-07-09","handler":1001,"erp_store_id":1,"out_store_id":2,"status":1,"abstract":"\u6d4b\u8bd5","description":"c\u989ds","verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"8900","out_number":"1","out_amount":"8900","diff_amount":"0","created_by":1001,"stop_description":null,"is_used":false,"is_settle":false,"created_at":"2026-07-09 14:15:43","updated_at":"2026-07-09 14:15:43","print_times":null}";s:11:"description";s:99:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8c03\u62e8\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-07-09 14:15:43";s:9:"is_delete";N;}', '', 1001, '114.244.130.61') |
| 14:15:43.401 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_spent_products" WHERE "erp_inventory_transfer_id"=4 |
| 14:15:43.532 | 0.4 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_transfers" SET "is_used"=TRUE WHERE "id"=2 |
| 14:15:43.535 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 14:15:43.533 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 14:15:43.130 | 0.4 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001') |
| 14:15:43.129 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfers" WHERE "serial_no"='DBD-20260709-00001') |
| 14:15:43.523 | 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\ErpInventoryProducts', 536, 'a:0:{}', '', 1001, '114.244.130.61') |
| 14:15:43.524 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"='536' |
| 14:15:43.491 | 0.3 ms | yii\db\Command::query | SELECT SUM(lost_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.195 | 0.3 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_erp_inventory_transfer_products" WHERE "erp_inventory_transfer_id"=4 |
| 14:15:43.503 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_products" WHERE "id"=2 |
| 14:15:43.524 | 0.3 ms | yii\db\Command::query | SELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.132 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 14:15:43.503 | 0.3 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_transfer_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "disassemble_spent_outbound"='0', "transfer_spent_outbound"='1', "sales_outbound"='0', "sales_gift_outbound"='0' WHERE "id"=2 |
| 14:15:43.521 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point' |
| 14:15:43.525 | 0.3 ms | yii\db\Command::query | SELECT SUM(lost_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.492 | 0.3 ms | yii\db\Command::query | SELECT SUM(transfer_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.531 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_products" WHERE "id"=2 |
| 14:15:43.493 | 0.3 ms | yii\db\Command::query | SELECT SUM(sales_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.527 | 0.3 ms | yii\db\Command::query | SELECT SUM(sales_gift_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.491 | 0.3 ms | yii\db\Command::query | SELECT SUM(build_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.492 | 0.3 ms | yii\db\Command::query | SELECT SUM(disassemble_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.493 | 0.3 ms | yii\db\Command::query | SELECT SUM(sales_gift_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.534 | 0.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_verify_rels" WHERE ("status"=0) AND ("erp_inventory_transfer_id"=4) ORDER BY "id" |
| 14:15:43.526 | 0.3 ms | yii\db\Command::query | SELECT SUM(sales_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.505 | 0.3 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_transfers" SET "is_used"=TRUE WHERE "id"=2 |
| 14:15:43.528 | 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\ErpInventoryProducts', 536, 'a:0:{}', '', 1001, '114.244.130.61') |
| 14:15:43.131 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"='1') |
| 14:15:43.526 | 0.3 ms | yii\db\Command::query | SELECT SUM(transfer_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.525 | 0.3 ms | yii\db\Command::query | SELECT SUM(build_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.532 | 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\ErpInventoryTransferProducts', 2, 'a:0:{}', '', 1001, '114.244.130.61') |
| 14:15:43.525 | 0.3 ms | yii\db\Command::query | SELECT SUM(disassemble_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=536 |
| 14:15:43.173 | 0.3 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_inventory_transfer_verify_rels" WHERE "erp_inventory_transfer_id"=4 |
| 14:15:43.534 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_verify_rels" WHERE ("status"=0) AND ("erp_inventory_transfer_id"=4) ORDER BY "id" |
| 14:15:43.196 | 0.2 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_inventory_transfer_products" WHERE "erp_inventory_transfer_id"=4 |
| 14:15:43.131 | 0.2 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"='2') |
| 14:15:43.528 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE 0=1 |
| 14:15:43.530 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE 0=1 |
| 14:15:43.529 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE 0=1 |
| 14:15:43.530 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_products" WHERE 0=1 |
| 14:15:43.530 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE 0=1 |
| 14:15:43.529 | 0.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_products" WHERE 0=1 |
| 14:15:43.197 | 0.2 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_inventory_transfer_spent_products" WHERE "erp_inventory_transfer_id"=4 |