Log Messages

总计159条数据
TimeLevelCategoryMessage
 
09:18:18.585traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
09:18:18.585traceyii\base\Module::getModuleLoading module: debug
09:18:18.585traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
09:18:18.586traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
09:18:18.586traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
09:18:18.586traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.586traceyii\base\Module::getModuleLoading module: gii
09:18:18.586traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
09:18:18.586traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
09:18:18.586traceyii\web\Application::handleRequestRoute requested: 'vue/purchase-contract/save-new-cost'
09:18:18.586traceyii\base\Module::getModuleLoading module: vue
09:18:18.586infoyii\web\Session::openSession started
09:18:18.587infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
09:18:18.587infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
09:18:18.591traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.591traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.592traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.592traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.592infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
09:18:18.593traceyii\base\Controller::runActionRoute to run: vue/purchase-contract/save-new-cost
09:18:18.594traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.594traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
09:18:18.594traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\PurchaseContractController::actionSaveNewCost()
09:18:18.595traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.595traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.595traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\PurchaseContracts'.
09:18:18.595traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contractScans' in 'app\models\PurchaseContracts'.
09:18:18.595traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'receiptScans' in 'app\models\PurchaseContracts'.
09:18:18.595traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseClientRels' in 'app\models\PurchaseContracts'.
09:18:18.595traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'PurchaseContractInvoices' in 'app\models\PurchaseContracts'.
09:18:18.595traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'costContractAmounts' in 'app\models\PurchaseContracts'.
09:18:18.595infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "serial_no"='费用合同编号')
09:18:18.597infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='689')
09:18:18.597infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1011')
09:18:18.597infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
09:18:18.598infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_contracts" ("amount", "created_by", "signed_at", "cost_type", "contract_type", "supplier_id", "handler", "serial_no", "description", "including_tax", "payment_collection_remind_ahead") VALUES ('4324', 1001, '2025-07-04', 2, 4, 689, 1011, '费用合同编号', '测试', TRUE, '0 day') RETURNING "id"
09:18:18.603traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.603traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.603infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\PurchaseContracts', 3850, 'a:21:{s:2:"id";i:3850;s:11:"supplier_id";s:3:"689";s:13:"contract_type";i:4;s:9:"signed_at";s:10:"2025-07-04";s:6:"amount";s:4:"4324";s:7:"handler";s:4:"1011";s:11:"description";s:6:"测试";s:13:"contract_scan";N;s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";N;s:9:"client_id";N;s:10:"project_id";N;s:9:"sales_rep";N;s:9:"serial_no";s:18:"费用合同编号";s:31:"payment_collection_remind_ahead";s:5:"0 day";s:13:"including_tax";s:1:"1";s:18:"is_save_collection";N;s:18:"save_collection_at";N;s:13:"is_chargeback";N;s:9:"cost_type";i:2;}', '', 1001, '114.254.1.137')
09:18:18.604infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='689'
09:18:18.605traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.605traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.605infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=3850) AND ("term_id"=18) AND ("object_type"=8)
09:18:18.606traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.606traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.606infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "out_amount", "value", "object_id", "extra_int") VALUES (18, 8, 369, '4324', '', 3850, 185)
09:18:18.608infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=108) AND ("object_id"=3850)
09:18:18.609traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.609infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_attachement_relationships' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:18:18.613infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_attachement_relationships' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:18:18.621traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.621traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:18.621infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (108, 3850, 24804)
09:18:18.626infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=111) AND ("object_id"=3850)
09:18:18.627infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (111, 3850, 24803)
09:18:18.628infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "contract_id"=3850
09:18:18.629infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_sales_supplier_rels" WHERE "purchase_id"=3850
09:18:18.631traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.631infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_purchase_client_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:18:18.633infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_purchase_client_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:18:18.643traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.643traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:18.643infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_client_rels" ("contract_id", "client_id", "project_id") VALUES (3850, 982, 1018) RETURNING "id"
09:18:18.650infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\PurchaseClientRels', 3136, 'a:4:{s:2:"id";i:3136;s:11:"contract_id";i:3850;s:9:"client_id";s:3:"982";s:10:"project_id";s:4:"1018";}', '', 1001, '114.254.1.137')
09:18:18.656infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"='1018'
09:18:18.659infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_client_rels" ("contract_id", "client_id", "project_id") VALUES (3850, 1331, 3404) RETURNING "id"
09:18:18.661infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\PurchaseClientRels', 3137, 'a:4:{s:2:"id";i:3137;s:11:"contract_id";i:3850;s:9:"client_id";s:4:"1331";s:10:"project_id";s:4:"3404";}', '', 1001, '114.254.1.137')
09:18:18.661infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "from_project"='3404'
09:18:18.662traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.662infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_sales_contracts' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:18:18.666infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_sales_contracts' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:18:18.677traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.677traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:18.677traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.677infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_sales_supplier_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:18:18.679infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_sales_supplier_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:18:18.688traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.688traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:18.688infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_supplier_rels" ("contract_id", "supplier_id", "purchase_id") VALUES (3108, 689, 3850) RETURNING "id"
09:18:18.695infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\SalesSupplierRels', 2536, 'a:4:{s:2:"id";i:2536;s:11:"contract_id";i:3108;s:11:"supplier_id";s:3:"689";s:11:"purchase_id";i:3850;}', '', 1001, '114.254.1.137')
09:18:18.696infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_purchase_contract_invoices" WHERE "contract_id"=3850
09:18:18.697infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "contract_id"=3850
09:18:18.697infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_contract_invoices" WHERE 0=1
09:18:18.697traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.698traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.699traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.699traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.699infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3850
09:18:18.700infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
09:18:18.700infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '13', 3850, '刘人诚创建了一条费用合同:测试', TRUE, '采购合同:费用合同编号') RETURNING "id"
09:18:18.703infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 170226, 'a:11:{s:2:"id";i:170226;s:9:"object_id";i:3850;s:11:"object_type";s:2:"13";s:6:"parent";N;s:11:"description";s:45:"刘人诚创建了一条费用合同:测试";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:33:"采购合同:费用合同编号";}', '', 1001, '114.254.1.137')
09:18:18.704traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.704infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_unread_comments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:18:18.706infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_unread_comments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:18:18.715traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.715traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:18.715infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (3850, '13', 170226, '1011')
09:18:18.720infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"='1011') AND ("id" != 1001) AND (channel_id IS NOT NULL)
09:18:18.721infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
09:18:18.735traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
09:18:18.735traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
09:18:18.735traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
09:18:18.735infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3850
09:18:18.735traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.736traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.736infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 3850, 13, 1001, '2025-07-04 09:18:18', '{"id":3850,"supplier_id":689,"contract_type":4,"signed_at":"2025-07-04","amount":"4324","handler":1011,"description":"\u6d4b\u8bd5","contract_scan":null,"created_by":1001,"created_at":"2025-07-04 09:18:18","updated_at":"2025-07-04 09:18:18","client_id":null,"project_id":null,"sales_rep":null,"serial_no":"\u8d39\u7528\u5408\u540c\u7f16\u53f7","payment_collection_remind_ahead":"00:00:00","including_tax":true,"is_save_collection":false,"save_collection_at":null,"is_chargeback":false,"cost_type":2}', '{"id":3850,"supplier_id":689,"contract_type":4,"signed_at":"2025-07-04","amount":"4324","handler":1011,"description":"\u6d4b\u8bd5","contract_scan":null,"created_by":1001,"created_at":"2025-07-04 09:18:18","updated_at":"2025-07-04 09:18:18","client_id":null,"project_id":null,"sales_rep":null,"serial_no":"\u8d39\u7528\u5408\u540c\u7f16\u53f7","payment_collection_remind_ahead":"00:00:00","including_tax":true,"is_save_collection":false,"save_collection_at":null,"is_chargeback":false,"cost_type":2}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":[]}') RETURNING "id"
09:18:18.737infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509775, 'a:13:{s:2:"id";i:509775;s:9:"object_id";i:3850;s:11:"object_type";i:13;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:499:"{"id":3850,"supplier_id":689,"contract_type":4,"signed_at":"2025-07-04","amount":"4324","handler":1011,"description":"\u6d4b\u8bd5","contract_scan":null,"created_by":1001,"created_at":"2025-07-04 09:18:18","updated_at":"2025-07-04 09:18:18","client_id":null,"project_id":null,"sales_rep":null,"serial_no":"\u8d39\u7528\u5408\u540c\u7f16\u53f7","payment_collection_remind_ahead":"00:00:00","including_tax":true,"is_save_collection":false,"save_collection_at":null,"is_chargeback":false,"cost_type":2}";s:9:"new_value";s:499:"{"id":3850,"supplier_id":689,"contract_type":4,"signed_at":"2025-07-04","amount":"4324","handler":1011,"description":"\u6d4b\u8bd5","contract_scan":null,"created_by":1001,"created_at":"2025-07-04 09:18:18","updated_at":"2025-07-04 09:18:18","client_id":null,"project_id":null,"sales_rep":null,"serial_no":"\u8d39\u7528\u5408\u540c\u7f16\u53f7","payment_collection_remind_ahead":"00:00:00","including_tax":true,"is_save_collection":false,"save_collection_at":null,"is_chargeback":false,"cost_type":2}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-07-04 09:18:18";s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:18.739infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "contract_id"=3850 ORDER BY "id"
09:18:18.739traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:18.739traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:18.739infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=982
09:18:18.741infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=982
09:18:18.745infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=982) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:18:19.490traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:19.490infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_client_am_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:18:19.493infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_client_am_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:18:19.502traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:19.502traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:19.502infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (982, 1001, 'now()', NULL) RETURNING "id"
09:18:19.505infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165044, 'a:5:{s:2:"id";i:165044;s:9:"client_id";i:982;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '114.254.1.137')
09:18:19.506infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 982, 'a:0:{}', '', 1001, '114.254.1.137')
09:18:19.507infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 982, 10, 3850, 13, 1001, '[3850]', '[3850]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}') RETURNING "id"
09:18:19.508infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509776, 'a:13:{s:2:"id";i:509776;s:9:"object_id";i:982;s:11:"object_type";i:10;s:9:"target_id";i:3850;s:18:"target_object_type";i:13;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[3850]";s:9:"new_value";s:6:"[3850]";s:11:"description";s:156:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:19.509traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:19.509traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:19.509infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=1018
09:18:19.510infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=1018
09:18:19.515infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=1018) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:18:19.519traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:19.519infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_project_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:18:19.521infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_project_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:18:19.529traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:19.529traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:18:19.530infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 1018, 'a:1:{s:6:"end_at";s:19:"2022-08-02 11:44:02";}', '', 1001, '114.254.1.137')
09:18:19.531infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=982
09:18:19.531infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 1018, 1, 3850, 13, 1001, '[3850]', '[3850]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}') RETURNING "id"
09:18:19.532infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509777, 'a:13:{s:2:"id";i:509777;s:9:"object_id";i:1018;s:11:"object_type";i:1;s:9:"target_id";i:3850;s:18:"target_object_type";i:13;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[3850]";s:9:"new_value";s:6:"[3850]";s:11:"description";s:156:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:19.533infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1331
09:18:19.534infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=1331
09:18:19.535infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=1331) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:18:19.549infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (1331, 5311, 'now()', NULL) RETURNING "id"
09:18:19.550infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165045, 'a:5:{s:2:"id";i:165045;s:9:"client_id";i:1331;s:9:"sales_rep";i:5311;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '114.254.1.137')
09:18:19.551infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 1331, 'a:0:{}', '', 1001, '114.254.1.137')
09:18:19.551infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 1331, 10, 3850, 13, 1001, '[3850]', '[3850]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}') RETURNING "id"
09:18:19.552infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509778, 'a:13:{s:2:"id";i:509778;s:9:"object_id";i:1331;s:11:"object_type";i:10;s:9:"target_id";i:3850;s:18:"target_object_type";i:13;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[3850]";s:9:"new_value";s:6:"[3850]";s:11:"description";s:156:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:19.553infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3404
09:18:19.555infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3404
09:18:19.556infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3404) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:18:19.557infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 3404, 'a:1:{s:6:"end_at";s:19:"2024-02-27 15:10:54";}', '', 1001, '114.254.1.137')
09:18:19.558infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1331
09:18:19.559infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 3404, 1, 3850, 13, 1001, '[3850]', '[3850]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}') RETURNING "id"
09:18:19.560infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509779, 'a:13:{s:2:"id";i:509779;s:9:"object_id";i:3404;s:11:"object_type";i:1;s:9:"target_id";i:3850;s:18:"target_object_type";i:13;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[3850]";s:9:"new_value";s:6:"[3850]";s:11:"description";s:156:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:19.561infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 689, 12, 3850, 13, 1001, '[3850]', '[3850]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}') RETURNING "id"
09:18:19.561infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509780, 'a:13:{s:2:"id";i:509780;s:9:"object_id";i:689;s:11:"object_type";i:12;s:9:"target_id";i:3850;s:18:"target_object_type";i:13;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[3850]";s:9:"new_value";s:6:"[3850]";s:11:"description";s:156:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:\u8d39\u7528\u5408\u540c\u7f16\u53f7"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
09:18:19.562traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:19.563traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:18:19.563infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/purchase-contract/save-new-cost', '{"PurchaseContracts":{"id":"","supplier_id":"689","amount":"4324","handler":"1011","serial_no":"\u8d39\u7528\u5408\u540c\u7f16\u53f7","signed_at":"2025-07-04","description":"\u6d4b\u8bd5","including_tax":"1","contractScans":["24804"],"receiptScans":["24803"],"purchaseClientRels":[{"client_id":"982","project_id":"1018"},{"client_id":"1331","project_id":"3404"}],"PurchaseContractInvoices":"","costContractAmounts":[{"id":"369","amount":"4324","description":"","parent_id":"185"}]},"web_access_token":"er_liQPTz011rRwTshQzixBLTwcD6PCJ"}', '{"code":2000,"result":{"id":3850},"status":1,"msg":[{"name":"success","success":"\u65b0\u91c7\u8d2d\u5408\u540c\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0}', FALSE, '2025-07-04 09:18:19') RETURNING "id"
09:18:19.564traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:18:19.564traceyii\redis\Connection::executeCommandExecuting Redis Command: SET