Log Messages

总计119条数据
TimeLevelCategoryMessage
 
09:24:57.597traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
09:24:57.597traceyii\base\Module::getModuleLoading module: debug
09:24:57.598traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
09:24:57.598traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
09:24:57.598traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
09:24:57.598traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.598traceyii\base\Module::getModuleLoading module: gii
09:24:57.598traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
09:24:57.598traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
09:24:57.598traceyii\web\Application::handleRequestRoute requested: 'v2/approve/save-new'
09:24:57.598traceyii\base\Module::getModuleLoading module: v2
09:24:57.599infoyii\web\Session::openSession started
09:24:57.599infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
09:24:57.601infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH'
09:24:57.604traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.604traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.605traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.605traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.605infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:24:57.606traceyii\base\Controller::runActionRoute to run: v2/approve/save-new
09:24:57.606traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.607traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
09:24:57.607traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\ApproveController::actionSaveNew()
09:24:57.611traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.611traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.611traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'attachmentFiles' in 'app\models\Approves'.
09:24:57.611infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815')
09:24:57.612infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822')
09:24:57.613infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
09:24:57.613infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815')
09:24:57.614infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822')
09:24:57.614infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
09:24:57.614infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_approves" ("client_id", "project_id", "title", "description", "created_by", "created_at", "status", "is_resubmited") VALUES (2815, 3822, '就看看', '姐姐好', 1000, 'now()', 1, FALSE) RETURNING "id"
09:24:57.623traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.623infoyii\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_action_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:24:57.628infoyii\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_action_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:24:57.636traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.636traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:24:57.636infoyii\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\Approves', 1745, 'a:21:{s:2:"id";i:1745;s:9:"client_id";s:4:"2815";s:10:"project_id";s:4:"3822";s:5:"title";s:9:"就看看";s:6:"status";i:1;s:16:"next_verify_user";N;s:9:"verify_at";N;s:11:"description";s:9:"姐姐好";s:18:"refuse_description";N;s:13:"is_resubmited";b:0;s:10:"created_by";i:1000;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"supplier_id";N;s:20:"purchase_contract_id";N;s:6:"amount";N;s:13:"borrow_amount";N;s:18:"borrow_collect_day";N;s:21:"borrow_collect_status";N;s:26:"borrow_collect_description";N;s:17:"borrow_collect_at";N;}', '', 1000, '114.246.239.146')
09:24:57.644infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=28) AND ("object_id"=1745)
09:24:57.647infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=1745) AND ("term_id"=17)
09:24:57.647traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.647infoyii\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_term_taxonomy_relationships' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:24:57.650infoyii\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_term_taxonomy_relationships' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:24:57.658traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.658traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:24:57.659infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='316')
09:24:57.660infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=17)
09:24:57.663infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (17, 316, 1745) RETURNING "id"
09:24:57.670infoyii\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\TermTaxonomyRelationships', 118274, 'a:9:{s:2:"id";i:118274;s:9:"object_id";i:1745;s:11:"taxonomy_id";s:3:"316";s:7:"term_id";i:17;s:5:"value";N;s:11:"object_type";N;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1000, '114.246.239.146')
09:24:57.672infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE "approve_id"=1745
09:24:57.672traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.672traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.672infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_approve_verify_rels" ("approve_id", "user_id", "status") VALUES (1745, 1000, 0), (1745, 1001, 0), (1745, 1017, 0)
09:24:57.676infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_approve_carbon_copy_rels" WHERE "approve_id"=1745
09:24:57.677traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.677traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.677infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_approve_carbon_copy_rels" ("approve_id", "user_id") VALUES (1745, 1013), (1745, 5388), (1745, 5085)
09:24:57.680infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("status"=0) AND ("approve_id"=1745) ORDER BY "id"
09:24:57.681infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815')
09:24:57.681infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822')
09:24:57.682infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
09:24:57.682infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_approves" SET "next_verify_user"=1000 WHERE "id"=1745
09:24:57.683infoyii\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\Approves', 1745, 'a:0:{}', '', 1000, '114.246.239.146')
09:24:57.684infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"=1745
09:24:57.684infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:24:57.685infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("status"=0) AND ("approve_id"=1745) ORDER BY "id"
09:24:57.686traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.686infoyii\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_object_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:24:57.690infoyii\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_object_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:24:57.698traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.698traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:24:57.698infoyii\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', 1745, 37, 1000, '2025-07-18 09:24:57', '{"form_type":null,"form_approveVerifyRels":null,"form_approveCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"form_type":null,"form_approveVerifyRels":null,"form_approveCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":[]}') RETURNING "id"
09:24:57.706infoyii\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', 510948, 'a:13:{s:2:"id";i:510948;s:9:"object_id";i:1745;s:11:"object_type";i:37;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:136:"{"form_type":null,"form_approveVerifyRels":null,"form_approveCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:9:"new_value";s:136:"{"form_type":null,"form_approveVerifyRels":null,"form_approveCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:11:"description";s:93:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-18 09:24:57";s:9:"is_delete";N;}', '', 1000, '114.246.239.146')
09:24:57.707traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.707traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.707infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
09:24:57.733infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815
09:24:57.736infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:24:57.754traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.754infoyii\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:24:57.757infoyii\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:24:57.767traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.767traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:24:57.767infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id"
09:24:57.775infoyii\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', 165395, 'a:5:{s:2:"id";i:165395;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '114.246.239.146')
09:24:57.776infoyii\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', 2815, 'a:0:{}', '', 1000, '114.246.239.146')
09:24:57.777infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=1745
09:24:57.777infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=17) AND ("id" IN (1, 165, 179, 142, 166, 184, 189, 316, 349))
09:24:57.778traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.778traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.778infoyii\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', 2815, 10, 1745, 37, 1000, '1745', '1745', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u63d0\u6b3e\u7533\u8bf7"]}') RETURNING "id"
09:24:57.779infoyii\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', 510949, 'a:13:{s:2:"id";i:510949;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:1745;s:18:"target_object_type";i:37;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"1745";s:9:"new_value";s:4:"1745";s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u63d0\u6b3e\u7533\u8bf7"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.246.239.146')
09:24:57.780traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.780traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.780infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3822
09:24:57.782infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3822
09:24:57.784infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3822) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:24:57.789traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.790infoyii\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:24:57.792infoyii\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:24:57.800traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.801traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:24:57.801infoyii\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', 3822, 'a:0:{}', '', 1000, '114.246.239.146')
09:24:57.802infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
09:24:57.802infoyii\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', 3822, 1, 1745, 37, 1000, '1745', '1745', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u63d0\u6b3e\u7533\u8bf7"]}') RETURNING "id"
09:24:57.803infoyii\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', 510950, 'a:13:{s:2:"id";i:510950;s:9:"object_id";i:3822;s:11:"object_type";i:1;s:9:"target_id";i:1745;s:18:"target_object_type";i:37;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"1745";s:9:"new_value";s:4:"1745";s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u63d0\u6b3e\u7533\u8bf7"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.246.239.146')
09:24:57.804infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3822
09:24:57.805infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
09:24:57.806traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.806infoyii\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_user_action_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:24:57.809infoyii\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_user_action_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:24:57.818traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.818traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:24:57.818infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (1, 'create', 3822, 1, 1745, 37, 1000, '1745', '1745', array[1004], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u63d0\u6b3e\u7533\u8bf7"]}') RETURNING "id"
09:24:57.824infoyii\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\UserActionLogs', 137280, 'a:15:{s:2:"id";i:137280;s:9:"object_id";i:3822;s:11:"object_type";i:1;s:9:"target_id";i:1745;s:18:"target_object_type";i:37;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"1745";s:9:"new_value";s:4:"1745";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1004]";s:6:"params";a:0:{}}s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u63d0\u6b3e\u7533\u8bf7"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.246.239.146')
09:24:57.826traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:24:57.826traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:24:57.826infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 6, 168, 'v2/approve/save-new', '{"Approves":{"client_id":"2815","project_id":"3822","title":"\u5c31\u770b\u770b","description":"\u59d0\u59d0\u597d","form_type":"316","form_approveVerifyRels":["1000","1001","1017"],"form_approveCarbonCopyRels":["1013","5388","5085"],"attachmentFiles":""},"posttime":"1752801899","access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"6","version_code":"168","token":"2d8d11fb24db24669b69c2d44c22e900"}', '{"code":200,"data":{"id":1745},"status":1,"msg":[{"name":"success","success":"\u65b0\u5ba1\u6279\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-18 09:24:57') RETURNING "id"