Log Messages

总计138条数据
TimeLevelCategoryMessage
 
14:03:29.298traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:03:29.298traceyii\base\Module::getModuleLoading module: debug
14:03:29.298traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:03:29.298traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:03:29.298traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:03:29.298traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.299traceyii\base\Module::getModuleLoading module: gii
14:03:29.299traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
14:03:29.299traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:03:29.299traceyii\web\Application::handleRequestRoute requested: 'v2/work-log/save-edit'
14:03:29.299traceyii\base\Module::getModuleLoading module: v2
14:03:29.299infoyii\web\Session::openSession started
14:03:29.300infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:03:29.302infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH'
14:03:29.305traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.305traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.305traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.305traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.305infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:03:29.306traceyii\base\Controller::runActionRoute to run: v2/work-log/save-edit
14:03:29.307traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.307traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:03:29.307traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\WorkLogController::actionSaveEdit()
14:03:29.308infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='37030'
14:03:29.308traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.308traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.308traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.309traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.310infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37030
14:03:29.312traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'form_workLogVerifyRels' in 'app\models\WorkLogs'.
14:03:29.312traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\WorkLogs'.
14:03:29.312traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'location_in_distance' in 'app\models\WorkLogs'.
14:03:29.312traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'location_out_distance' in 'app\models\WorkLogs'.
14:03:29.312traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'workLogContacts' in 'app\models\WorkLogs'.
14:03:29.312traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.312infoyii\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:03:29.317infoyii\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:03:29.326traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.326traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:03:29.326infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19230'
14:03:29.327traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.327traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.327infoyii\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', 19230, 'a:0:{}', '', 1000, '223.104.40.121')
14:03:29.328infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19231'
14:03:29.328infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_location" SET "geolocation"='(116.2892336697049,39.9605287000868)', "updated_at"='2025-07-11 14:03' WHERE "id"=19231
14:03:29.329infoyii\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', 19231, 'a:1:{s:11:"geolocation";s:36:"(116.2892336697049,39.9605287000868)";}', '', 1000, '223.104.40.121')
14:03:29.330traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.330traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.330infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'location_out_id', 37030, 19, 1000, 'now()', '["(116.2892336697049,39.9605287000868)"]', '["(116.2892336697049,39.9605287000868)"]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u7b7e\u9000\u5b9a\u4f4d","d4":[""]}')
14:03:29.331infoyii\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', 19231, 'a:0:{}', '', 1000, '223.104.40.121')
14:03:29.332infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338')
14:03:29.333infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19230')
14:03:29.333infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19231)
14:03:29.334infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000')
14:03:29.334infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='71')
14:03:29.334infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"='1')
14:03:29.335infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:03:29.335infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:03:29.336infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'end_at', 37030, 19, 1000, 'now()', '["2025-07-11 14:03:00"]', '["2025-07-10 16:33:00"]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u7ed3\u675f\u65f6\u95f4","d4":["2025-07-10 16:33:00 <b>\u53d8\u4e3a<\/b> 2025-07-11 14:03:00"]}'), (2, 'indistance', 37030, 19, 1000, 'now()', '["2890"]', '[2890.424364318]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u7b7e\u5230\u8ddd\u79bb","d4":["2890.424364318 <b>\u53d8\u4e3a<\/b> 2890"]}'), (2, 'outdistance', 37030, 19, 1000, 'now()', '["2870.11415455382"]', '[2890.4614004537]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u7b7e\u9000\u8ddd\u79bb","d4":["2890.4614004537 <b>\u53d8\u4e3a<\/b> 2870.11415455382"]}')
14:03:29.337infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338')
14:03:29.337infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19230')
14:03:29.337infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19231)
14:03:29.338infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000')
14:03:29.338infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='71')
14:03:29.338infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"='1')
14:03:29.338infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_work_logs" SET "client_id"=3338, "scenario_id"=1, "scenario_option_id"=71, "end_at"='2025-07-11 14:03:00', "created_by"=1000, "updated_at"='now()', "start_at"='2025-07-10 16:33:00', "is_draft"=FALSE, "project_id"=NULL, "location_in_id"=19230, "indistance"=2890, "outdistance"=2870.1141545538 WHERE "id"=37030
14:03:29.339infoyii\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', 37030, 'a:5:{s:6:"end_at";s:19:"2025-07-11 14:03:00";s:8:"start_at";s:19:"2025-07-10 16:33:00";s:10:"indistance";s:4:"2890";s:11:"outdistance";s:16:"2870.11415455382";s:8:"is_draft";s:1:"0";}', '', 1000, '223.104.40.121')
14:03:29.340infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338'
14:03:29.341traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.341traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.341infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37030)
14:03:29.343infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37030)
14:03:29.344infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37030
14:03:29.345infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contacts" WHERE 0=1
14:03:29.346infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37030
14:03:29.347infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37030
14:03:29.348infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37030
14:03:29.349infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37030 ORDER BY "id"
14:03:29.350traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.350infoyii\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:03:29.352infoyii\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:03:29.362traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.362traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:03:29.362infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37030
14:03:29.363infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_work_log_verify_rels" ("work_log_id", "user_id", "status") VALUES (37030, 1000, 0)
14:03:29.367infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37030
14:03:29.367infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37030 ORDER BY "id"
14:03:29.368infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='71'
14:03:29.368traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.368infoyii\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:03:29.371infoyii\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:03:29.379traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.380traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:03:29.380traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.380traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.380infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37030
14:03:29.381infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
14:03:29.381infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '19', 37030, '曹永生更新了一条拜访客户的工作日志', TRUE, '好想好就行') RETURNING "id"
14:03:29.385infoyii\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', 170409, 'a:11:{s:2:"id";i:170409;s:9:"object_id";i:37030;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:15:"好想好就行";}', '', 1000, '223.104.40.121')
14:03:29.386infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1000) AND (channel_id IS NOT NULL)
14:03:29.387infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338'
14:03:29.388infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3338
14:03:29.390infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3338) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:03:29.398traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.398traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.399infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3338, 1004, 'now()', NULL) RETURNING "id"
14:03:29.400infoyii\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', 165257, 'a:5:{s:2:"id";i:165257;s:9:"client_id";i:3338;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.40.121')
14:03:29.401infoyii\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', 3338, 'a:0:{}', '', 1000, '223.104.40.121')
14:03:29.401infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:03:29.402infoyii\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 (2, 'update', 3338, 10, 37030, 19, 1000, '[37030]', '[37030]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}') RETURNING "id"
14:03:29.403infoyii\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', 510556, 'a:13:{s:2:"id";i:510556;s:9:"object_id";s:4:"3338";s:11:"object_type";i:10;s:9:"target_id";i:37030;s:18:"target_object_type";i:19;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:7:"[37030]";s:9:"new_value";s:7:"[37030]";s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.40.121')
14:03:29.404infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338'
14:03:29.404infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:03:29.405traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.405infoyii\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;
14:03:29.408infoyii\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
14:03:29.417traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.417traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:03:29.417infoyii\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 (2, 'update', 3338, 10, 37030, 19, 1000, '37030', '37030', array[1004,1000], '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}') RETURNING "id"
14:03:29.423infoyii\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', 137143, 'a:15:{s:2:"id";i:137143;s:9:"object_id";s:4:"3338";s:11:"object_type";i:10;s:9:"target_id";i:37030;s:18:"target_object_type";i:19;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:5:"37030";s:9:"new_value";s:5:"37030";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":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.40.121')
14:03:29.424infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338'
14:03:29.425infoyii\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"=3338)
14:03:29.426infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3338) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:03:29.434infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3338, 1004, 'now()', NULL) RETURNING "id"
14:03:29.435infoyii\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', 165258, 'a:5:{s:2:"id";i:165258;s:9:"client_id";i:3338;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.40.121')
14:03:29.436infoyii\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', 3338, 'a:0:{}', '', 1000, '223.104.40.121')
14:03:29.442traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
14:03:29.443traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
14:03:29.443traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
14:03:29.443infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37030 ORDER BY "id"
14:03:29.443infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=37030) AND ("created_by"=1000))
14:03:29.463infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_work_log_verify_rels" SET "status"=1 WHERE "id"=14317
14:03:29.464infoyii\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', 14317, 'a:1:{s:6:"status";i:1;}', '', 1000, '223.104.40.121')
14:03:29.465infoyii\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', 37030, 'a:0:{}', '', 1000, '223.104.40.121')
14:03:29.466infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338'
14:03:29.467traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:03:29.467traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:03:29.467infoyii\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, 2, 1141, 'v2/work-log/save-edit', '{"WorkLogs":{"client_id":"3338","created_by":"1000","description":"\u597d\u60f3\u597d\u5c31\u884c","end_at":"2025-07-11 14:03","escort":"","form_workLogCarbonCopyRels":"","form_workLogVerifyRels":["1000"],"id":"37030","is_draft":"0","location_in_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5317\u4eac\u4e16\u7eaa\u661f\u8c6a\u9152\u5e97","location_in_distance":"2890","location_in_id":"19230","location_in_lat":"39.9605032009549","location_in_lng":"116.288951551649","location_in_updated_at":"2025-07-10 16:33:00","location_out_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5317\u4eac\u4e16\u7eaa\u661f\u8c6a\u9152\u5e97","location_out_distance":"2870.11415455382","location_out_id":"19231","location_out_lat":"39.9605287000868","location_out_lng":"116.2892336697049","location_out_updated_at":"2025-07-11 14:03","project_id":"","scenario_id":"1","scenario_option_id":"71","start_at":"2025-07-10 16:33","workLogContacts":""},"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","posttime":"1752213760","token":"f0a6b65cb2f601b3d48c977f133502c3","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u5de5\u4f5c\u65e5\u5fd7\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-07-11 14:03:29') RETURNING "id"