| 17:39:25.814 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:39:25.814 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:39:25.815 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:39:25.815 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:39:25.815 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:39:25.815 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.815 | info | time tracing start | 1780652365815598848 |
| 17:39:25.815 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:39:25.815 | trace | yii\web\Application::handleRequest | Route requested: 'vue/work-log/save-new' |
| 17:39:25.815 | trace | yii\base\Module::getModule | Loading module: vue |
| 17:39:25.816 | info | yii\web\Session::open | Session started |
| 17:39:25.816 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:39:25.816 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:39:25.817 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.817 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.818 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.818 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.818 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:39:25.818 | trace | yii\base\Controller::runAction | Route to run: vue/work-log/save-new |
| 17:39:25.819 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.820 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:39:25.820 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\WorkLogController::actionSaveNew() |
| 17:39:25.820 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.820 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_work_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 17:39:25.825 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_work_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 17:39:25.842 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.842 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:39:25.842 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_name' in 'app\models\WorkLogs'. |
| 17:39:25.842 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'form_workLogVerifyRels' in 'app\models\WorkLogs'. |
| 17:39:25.842 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'project_title' in 'app\models\WorkLogs'. |
| 17:39:25.842 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'files' in 'app\models\WorkLogs'. |
| 17:39:25.842 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3415') |
| 17:39:25.843 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='4024') |
| 17:39:25.843 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 17:39:25.844 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='71') |
| 17:39:25.844 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"='1') |
| 17:39:25.845 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_work_logs" ("client_id", "end_at", "start_at", "description", "scenario_id", "scenario_option_id", "escort", "project_id", "is_draft", "created_by", "status") VALUES (3415, '2026/06/05 16:45', '2026-06-05 16:39', '', 1, 71, '', 4024, FALSE, 1001, 0) RETURNING "id" |
| 17:39:25.850 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.850 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.850 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\WorkLogs', 39170, 'a:19:{s:2:"id";i:39170;s:9:"client_id";s:4:"3415";s:11:"scenario_id";s:1:"1";s:18:"scenario_option_id";s:2:"71";s:6:"end_at";s:19:"2026-06-05 16:45:00";s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";N;s:8:"start_at";s:19:"2026-06-05 16:39:00";s:11:"description";s:0:"";s:6:"escort";s:0:"";s:8:"is_draft";s:1:"0";s:11:"location_id";N;s:10:"project_id";s:4:"4024";s:14:"location_in_id";N;s:15:"location_out_id";N;s:6:"status";i:0;s:10:"indistance";N;s:11:"outdistance";N;}', '', 1001, '221.216.117.119') |
| 17:39:25.853 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3415' |
| 17:39:25.853 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.854 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.854 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=39170) |
| 17:39:25.856 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id"=39170) |
| 17:39:25.858 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=39170 |
| 17:39:25.859 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.859 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_work_log_verify_rels'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 17:39:25.862 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_work_log_verify_rels'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 17:39:25.874 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.874 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:39:25.874 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_work_log_verify_rels" ("work_log_id", "user_id", "status") VALUES (39170, 5064, 0) |
| 17:39:25.877 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=39170 |
| 17:39:25.878 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=39170 |
| 17:39:25.879 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.879 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.880 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='71' |
| 17:39:25.880 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.880 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_work_log_scenario_options'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 17:39:25.883 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_work_log_scenario_options'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 17:39:25.894 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.894 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:39:25.894 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.894 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.894 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=39170 |
| 17:39:25.895 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 17:39:25.895 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '19', 39170, '刘人诚新建了一条拜访客户的工作日志', TRUE, '') RETURNING "id" |
| 17:39:25.896 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220753, 'a:11:{s:2:"id";i:220753;s:9:"object_id";i:39170;s:11:"object_type";s:2:"19";s:6:"parent";N;s:11:"description";s:51:"刘人诚新建了一条拜访客户的工作日志";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:0:"";}', '', 1001, '221.216.117.119') |
| 17:39:25.897 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 17:39:25.898 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 17:39:25.898 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 17:39:25.898 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 17:39:25.898 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=39170 ORDER BY "id" |
| 17:39:25.899 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=71 |
| 17:39:25.899 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=39170 |
| 17:39:25.900 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 17:39:25.900 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '19', 39170, '刘人诚有一条拜访客户的工作日志需要审阅', TRUE, '') RETURNING "id" |
| 17:39:25.901 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220754, 'a:11:{s:2:"id";i:220754;s:9:"object_id";i:39170;s:11:"object_type";s:2:"19";s:6:"parent";N;s:11:"description";s:57:"刘人诚有一条拜访客户的工作日志需要审阅";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:0:"";}', '', 1001, '221.216.117.119') |
| 17:39:25.902 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.902 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.902 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (39170, '19', 220754, 5064) |
| 17:39:25.906 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=5064) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 17:39:25.906 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=39170 |
| 17:39:25.906 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:39:25.907 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.907 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.907 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 39170, 19, 1001, '2026-06-05 17:39:25', '{"id":39170,"client_id":3415,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-06-05 16:45:00","created_by":1001,"created_at":"2026-06-05 17:39:25","updated_at":"2026-06-05 17:39:25","start_at":"2026-06-05 16:39:00","description":"","escort":"","is_draft":false,"location_id":null,"project_id":4024,"location_in_id":null,"location_out_id":null,"status":0,"indistance":null,"outdistance":null}', '{"id":39170,"client_id":3415,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-06-05 16:45:00","created_by":1001,"created_at":"2026-06-05 17:39:25","updated_at":"2026-06-05 17:39:25","start_at":"2026-06-05 16:39:00","description":"","escort":"","is_draft":false,"location_id":null,"project_id":4024,"location_in_id":null,"location_out_id":null,"status":0,"indistance":null,"outdistance":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":[]}') RETURNING "id" |
| 17:39:25.908 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641359, 'a:13:{s:2:"id";i:641359;s:9:"object_id";i:39170;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:397:"{"id":39170,"client_id":3415,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-06-05 16:45:00","created_by":1001,"created_at":"2026-06-05 17:39:25","updated_at":"2026-06-05 17:39:25","start_at":"2026-06-05 16:39:00","description":"","escort":"","is_draft":false,"location_id":null,"project_id":4024,"location_in_id":null,"location_out_id":null,"status":0,"indistance":null,"outdistance":null}";s:9:"new_value";s:397:"{"id":39170,"client_id":3415,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-06-05 16:45:00","created_by":1001,"created_at":"2026-06-05 17:39:25","updated_at":"2026-06-05 17:39:25","start_at":"2026-06-05 16:39:00","description":"","escort":"","is_draft":false,"location_id":null,"project_id":4024,"location_in_id":null,"location_out_id":null,"status":0,"indistance":null,"outdistance":null}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-05 17:39:25";s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 17:39:25.909 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3415' |
| 17:39:25.910 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()', "is_overdue_remind"=FALSE WHERE "id"=3415 |
| 17:39:25.912 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3415) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:39:25.912 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.912 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.912 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_client_am_change_logs" SET "end_at"='now()' WHERE "id"=199931 |
| 17:39:25.913 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ClientAmChangeLogs', 199931, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 17:39:25.914 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3415, NULL, 'now()', NULL) RETURNING "id" |
| 17:39:25.915 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 199932, 'a:5:{s:2:"id";i:199932;s:9:"client_id";i:3415;s:9:"sales_rep";N;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 17:39:25.916 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3415, 'a:0:{}', '', 1001, '221.216.117.119') |
| 17:39:25.917 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=71 |
| 17:39:25.917 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:39:25.917 | info | yii\db\Command::query | INSERT 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', 3415, 10, 39170, 19, 1001, '[39170]', '[39170]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}') RETURNING "id" |
| 17:39:25.918 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641360, 'a:13:{s:2:"id";i:641360;s:9:"object_id";i:3415;s:11:"object_type";i:10;s:9:"target_id";i:39170;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[39170]";s:9:"new_value";s:7:"[39170]";s:11:"description";s:119:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 17:39:25.919 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3415 |
| 17:39:25.920 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:39:25.920 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.920 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.920 | info | yii\db\Command::query | INSERT 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', 3415, 10, 39170, 19, 1001, '39170', '39170', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}') RETURNING "id" |
| 17:39:25.921 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 171981, 'a:15:{s:2:"id";i:171981;s:9:"object_id";i:3415;s:11:"object_type";i:10;s:9:"target_id";i:39170;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"39170";s:9:"new_value";s:5:"39170";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";s:6:"params";a:0:{}}s:11:"description";s:119:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.216.117.119') |
| 17:39:25.922 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.922 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.923 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4024 |
| 17:39:25.924 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=4024 |
| 17:39:25.925 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4024) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:39:25.926 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.926 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.927 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4024, 'a:1:{s:6:"end_at";s:19:"2025-12-21 22:35:11";}', '', 1001, '221.216.117.119') |
| 17:39:25.927 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3415 |
| 17:39:25.928 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:39:25.928 | info | yii\db\Command::query | INSERT 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', 4024, 1, 39170, 19, 1001, '[39170]', '[39170]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}') RETURNING "id" |
| 17:39:25.929 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641361, 'a:13:{s:2:"id";i:641361;s:9:"object_id";i:4024;s:11:"object_type";i:1;s:9:"target_id";i:39170;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[39170]";s:9:"new_value";s:7:"[39170]";s:11:"description";s:119:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 17:39:25.930 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4024 |
| 17:39:25.930 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3415 |
| 17:39:25.931 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:39:25.931 | info | yii\db\Command::query | INSERT 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', 4024, 1, 39170, 19, 1001, '39170', '39170', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}') RETURNING "id" |
| 17:39:25.932 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 171982, 'a:15:{s:2:"id";i:171982;s:9:"object_id";i:4024;s:11:"object_type";i:1;s:9:"target_id";i:39170;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"39170";s:9:"new_value";s:5:"39170";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";s:6:"params";a:0:{}}s:11:"description";s:119:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u62dc\u8bbf\u5ba2\u6237"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.216.117.119') |
| 17:39:25.933 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3415' |
| 17:39:25.934 | info | yii\db\Command::query | SELECT 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" >= '2026-01-01 00:00:00') AND ("created_at" <= '2026-12-31 23:59:59') AND ("client_id"=3415) |
| 17:39:25.934 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3415) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 17:39:25.935 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_client_am_change_logs" SET "end_at"='now()' WHERE "id"=199932 |
| 17:39:25.936 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ClientAmChangeLogs', 199932, 'a:1:{s:6:"end_at";s:19:"1970-01-01 08:00:00";}', '', 1001, '221.216.117.119') |
| 17:39:25.936 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3415, NULL, 'now()', NULL) RETURNING "id" |
| 17:39:25.937 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 199933, 'a:5:{s:2:"id";i:199933;s:9:"client_id";i:3415;s:9:"sales_rep";N;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 17:39:25.938 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3415, 'a:0:{}', '', 1001, '221.216.117.119') |
| 17:39:25.940 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 17:39:25.940 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 17:39:25.940 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 17:39:25.940 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=39170 ORDER BY "id" |
| 17:39:25.940 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=39170) AND ("created_by"=5064)) |
| 17:39:25.967 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\WorkLogVerifyRels', 16067, 'a:0:{}', '', 1001, '221.216.117.119') |
| 17:39:25.967 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_work_logs" SET "status"=-1 WHERE "id"=39170 |
| 17:39:25.968 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\WorkLogs', 39170, 'a:3:{s:6:"end_at";s:19:"2026-06-05 16:45:00";s:8:"start_at";s:19:"2026-06-05 16:39:00";s:6:"status";i:-1;}', '', 1001, '221.216.117.119') |
| 17:39:25.969 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3415' |
| 17:39:25.970 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.970 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:39:25.970 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/work-log/save-new', '{"WorkLogs":{"client_id":"3415","client_name":"\u5317\u4eac\u4e2d\u91d1\u4fdd\u9669\u7ecf\u7eaa\u6709\u9650\u516c\u53f8","end_at":"2026\/06\/05 16:45","start_at":"2026-06-05 16:39","description":"","scenario_id":"1","scenario_option_id":"71","escort":"","project_id":"4024","is_draft":"0","form_workLogVerifyRels":["5064"],"project_title":"\u6df1\u4fe1\u670d\u9632\u706b\u5899","files":"","form_workLogCarbonCopyRels":""},"web_access_token":"l4p3M_87vSdo8QF-blMLH4iPaepKw7vp"}', '{"code":2000,"result":{"id":39170},"status":1,"msg":[{"name":"success","success":"\u65b0\u5de5\u4f5c\u65e5\u5fd7\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-05 17:39:25', 155057152) RETURNING "id" |
| 17:39:25.971 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:39:25.971 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |