Log Messages

总计154条数据
TimeLevelCategoryMessage
 
14:16:35.614traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:16:35.614traceyii\base\Module::getModuleLoading module: debug
14:16:35.614traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:16:35.615traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:16:35.615traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:16:35.615traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.615traceyii\base\Module::getModuleLoading module: gii
14:16:35.615traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
14:16:35.615traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:16:35.615traceyii\web\Application::handleRequestRoute requested: 'v2/work-log/save-new'
14:16:35.615traceyii\base\Module::getModuleLoading module: v2
14:16:35.616infoyii\web\Session::openSession started
14:16:35.616infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:16:35.618infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd'
14:16:35.621traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.621traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.621traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.621traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.621infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:16:35.623traceyii\base\Controller::runActionRoute to run: v2/work-log/save-new
14:16:35.623traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.624traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:16:35.624traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\WorkLogController::actionSaveNew()
14:16:35.624traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'location_out_distance' in 'app\models\WorkLogs'.
14:16:35.624traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.624traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.624traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'form_workLogVerifyRels' in 'app\models\WorkLogs'.
14:16:35.624traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'workLogContacts' in 'app\models\WorkLogs'.
14:16:35.624traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'location_in_distance' in 'app\models\WorkLogs'.
14:16:35.624traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.624infoyii\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_location' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:16:35.629infoyii\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_location' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:16:35.638traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.638traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:16:35.638infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_location" ("created_by", "address", "geolocation", "updated_at") VALUES (1000, '北京市海淀区西顶路2号靠近金源时代商务中心', '(116.28903,39.960424)', '2025-07-04 14:16:27') RETURNING "id"
14:16:35.639traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.640traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.640infoyii\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\Location', 19222, 'a:6:{s:2:"id";i:19222;s:11:"geolocation";s:21:"(116.28903,39.960424)";s:10:"created_by";i:1000;s:7:"address";s:61:"北京市海淀区西顶路2号靠近金源时代商务中心";s:10:"created_at";N;s:10:"updated_at";s:19:"2025-07-04 14:16:27";}', '', 1000, '114.254.1.137')
14:16:35.641infoyii\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\Location', 19222, 'a:0:{}', '', 1000, '114.254.1.137')
14:16:35.642infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_location" ("created_by", "address", "geolocation", "updated_at") VALUES (1000, '北京市海淀区西顶路2号靠近金源时代商务中心', '(116.28903,39.960424)', '2025-07-04 14:16:34') RETURNING "id"
14:16:35.643infoyii\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\Location', 19223, 'a:6:{s:2:"id";i:19223;s:11:"geolocation";s:21:"(116.28903,39.960424)";s:10:"created_by";i:1000;s:7:"address";s:61:"北京市海淀区西顶路2号靠近金源时代商务中心";s:10:"created_at";N;s:10:"updated_at";s:19:"2025-07-04 14:16:34";}', '', 1000, '114.254.1.137')
14:16:35.643infoyii\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\Location', 19223, 'a:0:{}', '', 1000, '114.254.1.137')
14:16:35.645infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815')
14:16:35.645infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805')
14:16:35.646infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19222)
14:16:35.646infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19223)
14:16:35.646infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000')
14:16:35.647infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='66')
14:16:35.647infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"='1')
14:16:35.647infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_work_logs" ("scenario_id", "client_id", "created_by", "description", "is_draft", "escort", "start_at", "scenario_option_id", "end_at", "project_id", "indistance", "outdistance", "status", "location_in_id", "location_out_id") VALUES (1, 2815, 1000, 'hcnnc', FALSE, '', '2025-07-04 14:16:27', 66, '2025-07-04 14:16:34', 3805, 968.27259627562, 968.27259627562, 0, 19222, 19223) RETURNING "id"
14:16:35.652infoyii\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\WorkLogs', 37028, 'a:19:{s:2:"id";i:37028;s:9:"client_id";s:4:"2815";s:11:"scenario_id";s:1:"1";s:18:"scenario_option_id";s:2:"66";s:6:"end_at";s:19:"2025-07-04 14:16:34";s:10:"created_by";s:4:"1000";s:10:"created_at";N;s:10:"updated_at";N;s:8:"start_at";s:19:"2025-07-04 14:16:27";s:11:"description";s:5:"hcnnc";s:6:"escort";s:0:"";s:8:"is_draft";s:1:"0";s:11:"location_id";N;s:10:"project_id";s:4:"3805";s:14:"location_in_id";i:19222;s:15:"location_out_id";i:19223;s:6:"status";i:0;s:10:"indistance";s:16:"968.272596275618";s:11:"outdistance";s:16:"968.272596275618";}', '', 1000, '114.254.1.137')
14:16:35.653infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815'
14:16:35.653traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.653traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.654infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37028)
14:16:35.655infoyii\db\Command::querySELECT "contact_id" FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37028
14:16:35.657traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.657infoyii\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_work_log_contacts' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:16:35.659infoyii\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_work_log_contacts' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:16:35.668traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.668traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:16:35.669infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='5245')
14:16:35.669infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37028)
14:16:35.670infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_work_log_contacts" ("contact_id", "work_log_id") VALUES (5245, 37028) RETURNING "id"
14:16:35.673infoyii\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\WorkLogContacts', 29491, 'a:3:{s:2:"id";i:29491;s:11:"work_log_id";i:37028;s:10:"contact_id";s:4:"5245";}', '', 1000, '114.254.1.137')
14:16:35.674infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37028
14:16:35.675traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.675infoyii\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_work_log_verify_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:16:35.677infoyii\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_work_log_verify_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:16:35.686traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.686traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:16:35.686infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_work_log_verify_rels" ("work_log_id", "user_id", "status") VALUES (37028, 1000, 0)
14:16:35.690infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37028
14:16:35.690infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37028
14:16:35.691traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.692traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.692infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='66'
14:16:35.693traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.693infoyii\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_work_log_scenario_options' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:16:35.695infoyii\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_work_log_scenario_options' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:16:35.704traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.704traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:16:35.704traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.704traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.704infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37028
14:16:35.705infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
14:16:35.705infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '19', 37028, '曹永生新建了一条客情增进的工作日志', TRUE, 'hcnnc') RETURNING "id"
14:16:35.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\Comments', 170262, 'a:11:{s:2:"id";i:170262;s:9:"object_id";i:37028;s:11:"object_type";s:2:"19";s:6:"parent";N;s:11:"description";s:51:"曹永生新建了一条客情增进的工作日志";s:10:"created_by";i:1000;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:5:"hcnnc";}', '', 1000, '114.254.1.137')
14:16:35.707infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1000) AND (channel_id IS NOT NULL)
14:16:35.708traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
14:16:35.708traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
14:16:35.708traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
14:16:35.708infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37028 ORDER BY "id"
14:16:35.709infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37028
14:16:35.709infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:16:35.709traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.710traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.710infoyii\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', 37028, 19, 1000, '2025-07-04 14:16:35', '{"id":37028,"client_id":2815,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-04 14:16:34","created_by":1000,"created_at":"2025-07-04 14:16:35","updated_at":"2025-07-04 14:16:35","start_at":"2025-07-04 14:16:27","description":"hcnnc","escort":"","is_draft":false,"location_id":null,"project_id":3805,"location_in_id":19222,"location_out_id":19223,"status":0,"indistance":968.27259627562,"outdistance":968.27259627562}', '{"id":37028,"client_id":2815,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-04 14:16:34","created_by":1000,"created_at":"2025-07-04 14:16:35","updated_at":"2025-07-04 14:16:35","start_at":"2025-07-04 14:16:27","description":"hcnnc","escort":"","is_draft":false,"location_id":null,"project_id":3805,"location_in_id":19222,"location_out_id":19223,"status":0,"indistance":968.27259627562,"outdistance":968.27259627562}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":[]}') RETURNING "id"
14:16:35.711infoyii\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', 510072, 'a:13:{s:2:"id";i:510072;s:9:"object_id";i:37028;s:11:"object_type";i:19;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:426:"{"id":37028,"client_id":2815,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-04 14:16:34","created_by":1000,"created_at":"2025-07-04 14:16:35","updated_at":"2025-07-04 14:16:35","start_at":"2025-07-04 14:16:27","description":"hcnnc","escort":"","is_draft":false,"location_id":null,"project_id":3805,"location_in_id":19222,"location_out_id":19223,"status":0,"indistance":968.27259627562,"outdistance":968.27259627562}";s:9:"new_value";s:426:"{"id":37028,"client_id":2815,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-04 14:16:34","created_by":1000,"created_at":"2025-07-04 14:16:35","updated_at":"2025-07-04 14:16:35","start_at":"2025-07-04 14:16:27","description":"hcnnc","escort":"","is_draft":false,"location_id":null,"project_id":3805,"location_in_id":19222,"location_out_id":19223,"status":0,"indistance":968.27259627562,"outdistance":968.27259627562}";s:11:"description";s:93:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 14:16:35";s:9:"is_delete";N;}', '', 1000, '114.254.1.137')
14:16:35.712infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815'
14:16:35.713infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815
14:16:35.714infoyii\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
14:16:35.723traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.723traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.723infoyii\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"
14:16:35.724infoyii\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', 165112, 'a:5:{s:2:"id";i:165112;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.254.1.137')
14:16:35.725infoyii\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.254.1.137')
14:16:35.726infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=66
14:16:35.726infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:16:35.727infoyii\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, 37028, 19, 1000, '[37028]', '[37028]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id"
14:16:35.728infoyii\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', 510073, 'a:13:{s:2:"id";i:510073;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:37028;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[37028]";s:9:"new_value";s:7:"[37028]";s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137')
14:16:35.728infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
14:16:35.729infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:16:35.729traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.729traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.729infoyii\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', 2815, 10, 37028, 19, 1000, '37028', '37028', array[1004,1000], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id"
14:16:35.731infoyii\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', 136969, 'a:15:{s:2:"id";i:136969;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:37028;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"37028";s:9:"new_value";s:5:"37028";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:16:"array[1004,1000]";s:6:"params";a:0:{}}s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.254.1.137')
14:16:35.731traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.732traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.732infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3805
14:16:35.733infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3805
14:16:35.734infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3805) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:16:35.735traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.735traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.735infoyii\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', 3805, 'a:0:{}', '', 1000, '114.254.1.137')
14:16:35.736infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
14:16:35.737infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:16:35.737infoyii\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', 3805, 1, 37028, 19, 1000, '[37028]', '[37028]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id"
14:16:35.738infoyii\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', 510074, 'a:13:{s:2:"id";i:510074;s:9:"object_id";i:3805;s:11:"object_type";i:1;s:9:"target_id";i:37028;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[37028]";s:9:"new_value";s:7:"[37028]";s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137')
14:16:35.739infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3805
14:16:35.740infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
14:16:35.740infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:16:35.741infoyii\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', 3805, 1, 37028, 19, 1000, '37028', '37028', array[1004], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id"
14:16:35.742infoyii\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', 136970, 'a:15:{s:2:"id";i:136970;s:9:"object_id";i:3805;s:11:"object_type";i:1;s:9:"target_id";i:37028;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"37028";s:9:"new_value";s:5:"37028";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":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.254.1.137')
14:16:35.742infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815'
14:16:35.743infoyii\db\Command::querySELECT COUNT(*) FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("scenario_id"=1) AND ("location_out_id" IS NOT NULL) AND ("location_in_id" IS NOT NULL) AND ("created_at" >= '2025-01-01 00:00:00') AND ("created_at" <= '2025-12-31 23:59:59') AND ("client_id"=2815)
14:16:35.744infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "visit_count"=3 WHERE "id"=2815
14:16:35.745infoyii\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
14:16:35.753infoyii\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"
14:16:35.754infoyii\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', 165113, 'a:5:{s:2:"id";i:165113;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.254.1.137')
14:16:35.755infoyii\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:1:{s:11:"visit_count";i:2;}', '', 1000, '114.254.1.137')
14:16:35.757traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
14:16:35.758traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
14:16:35.758traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
14:16:35.758infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37028 ORDER BY "id"
14:16:35.758infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=37028) AND ("created_by"=1000))
14:16:35.777infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_work_log_verify_rels" SET "status"=1 WHERE "id"=14312
14:16:35.778infoyii\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\WorkLogVerifyRels', 14312, 'a:1:{s:6:"status";i:1;}', '', 1000, '114.254.1.137')
14:16:35.779infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_work_logs" SET "status"=1 WHERE "id"=37028
14:16:35.780infoyii\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\WorkLogs', 37028, 'a:0:{}', '', 1000, '114.254.1.137')
14:16:35.781infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815'
14:16:35.782traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:16:35.782traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:16:35.782infoyii\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, 0, 261, 'v2/work-log/save-new', '{"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","WorkLogs":{"location_out_distance":"968.272596275618","scenario_id":"1","form_workLogCarbonCopyRels":"","location_out_lat":"39.960424","location_out_lng":"116.28903","form_workLogVerifyRels":["1000"],"location_out_updated_at":"2025-07-04 14:16:34","location_in_updated_at":"2025-07-04 14:16:27","client_id":"2815","created_by":"1000","workLogContacts":["5245"],"location_in_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","location_in_distance":"968.272596275618","description":"hcnnc","is_draft":"0","escort":"","start_at":"2025-07-04 14:16","location_out_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","scenario_option_id":"66","end_at":"2025-07-04 14:16","project_id":"3805","location_in_lat":"39.960424","location_in_lng":"116.28903"},"device_type":"0","version_code":"261","token":"9759cf54d6efbaf5b72f12189adb0abd","posttime":"1751609796"}', '{"code":200,"data":{"id":37028},"status":1,"msg":[{"name":"success","success":"\u65b0\u5de5\u4f5c\u65e5\u5fd7\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-04 14:16:35') RETURNING "id"