21:08:11.426 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
21:08:11.426 | trace | yii\base\Module::getModule | Loading module: debug |
21:08:11.427 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
21:08:11.427 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
21:08:11.427 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
21:08:11.427 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.427 | trace | yii\base\Module::getModule | Loading module: gii |
21:08:11.427 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
21:08:11.428 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
21:08:11.428 | trace | yii\web\Application::handleRequest | Route requested: 'v2/work-log/save-new' |
21:08:11.428 | trace | yii\base\Module::getModule | Loading module: v2 |
21:08:11.428 | info | yii\web\Session::open | Session started |
21:08:11.428 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
21:08:11.430 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH' |
21:08:11.433 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.433 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.434 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.434 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.434 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
21:08:11.435 | trace | yii\base\Controller::runAction | Route to run: v2/work-log/save-new |
21:08:11.435 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.436 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
21:08:11.436 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\WorkLogController::actionSaveNew() |
21:08:11.437 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attachmentFiles' in 'app\models\WorkLogs'. |
21:08:11.437 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.437 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.437 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'form_workLogVerifyRels' in 'app\models\WorkLogs'. |
21:08:11.437 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'location_in_distance' in 'app\models\WorkLogs'. |
21:08:11.437 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'location_out_distance' in 'app\models\WorkLogs'. |
21:08:11.437 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'workLogContacts' in 'app\models\WorkLogs'. |
21:08:11.437 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.437 | 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_location'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
21:08:11.441 | 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_location'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
21:08:11.450 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.450 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
21:08:11.451 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_location" ("created_by", "address", "geolocation", "updated_at") VALUES (1000, '北京市石景山区八角北路靠近八角北路特钢小区', '(116.1949522569444,39.91726752387153)', '2025-07-16 21:07') RETURNING "id" |
21:08:11.454 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.454 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.454 | 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\Location', 19250, 'a:6:{s:2:"id";i:19250;s:11:"geolocation";s:37:"(116.1949522569444,39.91726752387153)";s:10:"created_by";i:1000;s:7:"address";s:63:"北京市石景山区八角北路靠近八角北路特钢小区";s:10:"created_at";N;s:10:"updated_at";s:19:"2025-07-16 21:07:00";}', '', 1000, '120.244.156.210') |
21:08:11.455 | 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\Location', 19250, 'a:0:{}', '', 1000, '120.244.156.210') |
21:08:11.456 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_location" ("created_by", "address", "geolocation", "updated_at") VALUES (1000, '北京市石景山区八角北路靠近八角北路特钢小区', '(116.1949522569444,39.91726752387153)', '2025-07-16 21:08') RETURNING "id" |
21:08:11.457 | 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\Location', 19251, 'a:6:{s:2:"id";i:19251;s:11:"geolocation";s:37:"(116.1949522569444,39.91726752387153)";s:10:"created_by";i:1000;s:7:"address";s:63:"北京市石景山区八角北路靠近八角北路特钢小区";s:10:"created_at";N;s:10:"updated_at";s:19:"2025-07-16 21:08:00";}', '', 1000, '120.244.156.210') |
21:08:11.458 | 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\Location', 19251, 'a:0:{}', '', 1000, '120.244.156.210') |
21:08:11.459 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
21:08:11.460 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822') |
21:08:11.460 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19250) |
21:08:11.461 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19251) |
21:08:11.461 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000') |
21:08:11.461 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='66') |
21:08:11.462 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"='1') |
21:08:11.462 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_work_logs" ("client_id", "created_by", "description", "end_at", "escort", "is_draft", "project_id", "scenario_id", "scenario_option_id", "start_at", "indistance", "outdistance", "status", "location_in_id", "location_out_id") VALUES (2815, 1000, '你想娜娜', '2025-07-16 21:08:00', '精彩集锦吃', FALSE, 3822, 1, 66, '2025-07-16 21:07:00', 9122.2306441871, 9122.2306441871, 0, 19250, 19251) RETURNING "id" |
21:08:11.466 | 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', 37034, 'a:19:{s:2:"id";i:37034;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-16 21:08:00";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-16 21:07:00";s:11:"description";s:12:"你想娜娜";s:6:"escort";s:15:"精彩集锦吃";s:8:"is_draft";s:1:"0";s:11:"location_id";N;s:10:"project_id";s:4:"3822";s:14:"location_in_id";i:19250;s:15:"location_out_id";i:19251;s:6:"status";i:0;s:10:"indistance";s:16:"9122.23064418708";s:11:"outdistance";s:16:"9122.23064418708";}', '', 1000, '120.244.156.210') |
21:08:11.467 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
21:08:11.467 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.468 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.468 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37034) |
21:08:11.469 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.469 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.469 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (18, 37034, 24899) |
21:08:11.473 | info | yii\db\Command::query | SELECT "contact_id" FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37034 |
21:08:11.474 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.474 | 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_contacts'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
21:08:11.477 | 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_contacts'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
21:08:11.486 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.486 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
21:08:11.486 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='6014') |
21:08:11.487 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37034) |
21:08:11.487 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_work_log_contacts" ("contact_id", "work_log_id") VALUES (6014, 37034) RETURNING "id" |
21:08:11.490 | 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\WorkLogContacts', 29496, 'a:3:{s:2:"id";i:29496;s:11:"work_log_id";i:37034;s:10:"contact_id";s:4:"6014";}', '', 1000, '120.244.156.210') |
21:08:11.491 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='5245') |
21:08:11.492 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37034) |
21:08:11.492 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_work_log_contacts" ("contact_id", "work_log_id") VALUES (5245, 37034) RETURNING "id" |
21:08:11.493 | 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\WorkLogContacts', 29497, 'a:3:{s:2:"id";i:29497;s:11:"work_log_id";i:37034;s:10:"contact_id";s:4:"5245";}', '', 1000, '120.244.156.210') |
21:08:11.494 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37034 |
21:08:11.494 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.494 | 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; |
21:08:11.497 | 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 |
21:08:11.506 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.506 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
21:08:11.506 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_work_log_verify_rels" ("work_log_id", "user_id", "status") VALUES (37034, 1000, 0) |
21:08:11.509 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37034 |
21:08:11.510 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37034 |
21:08:11.511 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.511 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.512 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='66' |
21:08:11.512 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.512 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.512 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.512 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.513 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37034 |
21:08:11.514 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
21:08:11.514 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '19', 37034, '曹永生新建了一条客情增进的工作日志', TRUE, '你想娜娜') RETURNING "id" |
21:08:11.517 | 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', 170519, 'a:11:{s:2:"id";i:170519;s:9:"object_id";i:37034;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:12:"你想娜娜";}', '', 1000, '120.244.156.210') |
21:08:11.518 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
21:08:11.519 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
21:08:11.519 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
21:08:11.519 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
21:08:11.519 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37034 ORDER BY "id" |
21:08:11.520 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37034 |
21:08:11.521 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
21:08:11.521 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.521 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.521 | 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', 37034, 19, 1000, '2025-07-16 21:08:11', '{"id":37034,"client_id":2815,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-16 21:08:00","created_by":1000,"created_at":"2025-07-16 21:08:11","updated_at":"2025-07-16 21:08:11","start_at":"2025-07-16 21:07:00","description":"\u4f60\u60f3\u5a1c\u5a1c","escort":"\u7cbe\u5f69\u96c6\u9526\u5403","is_draft":false,"location_id":null,"project_id":3822,"location_in_id":19250,"location_out_id":19251,"status":0,"indistance":9122.2306441871,"outdistance":9122.2306441871}', '{"id":37034,"client_id":2815,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-16 21:08:00","created_by":1000,"created_at":"2025-07-16 21:08:11","updated_at":"2025-07-16 21:08:11","start_at":"2025-07-16 21:07:00","description":"\u4f60\u60f3\u5a1c\u5a1c","escort":"\u7cbe\u5f69\u96c6\u9526\u5403","is_draft":false,"location_id":null,"project_id":3822,"location_in_id":19250,"location_out_id":19251,"status":0,"indistance":9122.2306441871,"outdistance":9122.2306441871}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":[]}') RETURNING "id" |
21:08:11.522 | 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', 510903, 'a:13:{s:2:"id";i:510903;s:9:"object_id";i:37034;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:475:"{"id":37034,"client_id":2815,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-16 21:08:00","created_by":1000,"created_at":"2025-07-16 21:08:11","updated_at":"2025-07-16 21:08:11","start_at":"2025-07-16 21:07:00","description":"\u4f60\u60f3\u5a1c\u5a1c","escort":"\u7cbe\u5f69\u96c6\u9526\u5403","is_draft":false,"location_id":null,"project_id":3822,"location_in_id":19250,"location_out_id":19251,"status":0,"indistance":9122.2306441871,"outdistance":9122.2306441871}";s:9:"new_value";s:475:"{"id":37034,"client_id":2815,"scenario_id":1,"scenario_option_id":66,"end_at":"2025-07-16 21:08:00","created_by":1000,"created_at":"2025-07-16 21:08:11","updated_at":"2025-07-16 21:08:11","start_at":"2025-07-16 21:07:00","description":"\u4f60\u60f3\u5a1c\u5a1c","escort":"\u7cbe\u5f69\u96c6\u9526\u5403","is_draft":false,"location_id":null,"project_id":3822,"location_in_id":19250,"location_out_id":19251,"status":0,"indistance":9122.2306441871,"outdistance":9122.2306441871}";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-16 21:08:11";s:9:"is_delete";N;}', '', 1000, '120.244.156.210') |
21:08:11.523 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
21:08:11.524 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
21:08:11.526 | info | yii\db\Command::query | SELECT * 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 |
21:08:11.534 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.534 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.534 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
21:08:11.536 | 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', 165382, 'a:5:{s:2:"id";i:165382;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, '120.244.156.210') |
21:08:11.536 | 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', 2815, 'a:0:{}', '', 1000, '120.244.156.210') |
21:08:11.537 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=66 |
21:08:11.537 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
21:08:11.538 | 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', 2815, 10, 37034, 19, 1000, '[37034]', '[37034]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id" |
21:08:11.539 | 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', 510904, 'a:13:{s:2:"id";i:510904;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:37034;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[37034]";s:9:"new_value";s:7:"[37034]";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, '120.244.156.210') |
21:08:11.540 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
21:08:11.540 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
21:08:11.541 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.541 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.541 | 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', 2815, 10, 37034, 19, 1000, '37034', '37034', array[1004,1000], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id" |
21:08:11.542 | 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', 137266, 'a:15:{s:2:"id";i:137266;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:37034;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"37034";s:9:"new_value";s:5:"37034";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, '120.244.156.210') |
21:08:11.543 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.543 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.543 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3822 |
21:08:11.544 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3822 |
21:08:11.546 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3822) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
21:08:11.547 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.547 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.547 | 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', 3822, 'a:0:{}', '', 1000, '120.244.156.210') |
21:08:11.548 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
21:08:11.549 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
21:08:11.549 | 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', 3822, 1, 37034, 19, 1000, '[37034]', '[37034]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id" |
21:08:11.550 | 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', 510905, 'a:13:{s:2:"id";i:510905;s:9:"object_id";i:3822;s:11:"object_type";i:1;s:9:"target_id";i:37034;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[37034]";s:9:"new_value";s:7:"[37034]";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, '120.244.156.210') |
21:08:11.551 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3822 |
21:08:11.551 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
21:08:11.552 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
21:08:11.552 | 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', 3822, 1, 37034, 19, 1000, '37034', '37034', array[1004], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id" |
21:08:11.553 | 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', 137267, 'a:15:{s:2:"id";i:137267;s:9:"object_id";i:3822;s:11:"object_type";i:1;s:9:"target_id";i:37034;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"37034";s:9:"new_value";s:5:"37034";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, '120.244.156.210') |
21:08:11.554 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
21:08:11.554 | 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" >= '2025-01-01 00:00:00') AND ("created_at" <= '2025-12-31 23:59:59') AND ("client_id"=2815) |
21:08:11.556 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "visit_count"=6 WHERE "id"=2815 |
21:08:11.556 | info | yii\db\Command::query | SELECT * 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 |
21:08:11.564 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
21:08:11.565 | 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', 165383, 'a:5:{s:2:"id";i:165383;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, '120.244.156.210') |
21:08:11.566 | 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', 2815, 'a:1:{s:11:"visit_count";i:5;}', '', 1000, '120.244.156.210') |
21:08:11.567 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
21:08:11.567 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
21:08:11.567 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
21:08:11.567 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37034 ORDER BY "id" |
21:08:11.568 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=37034) AND ("created_by"=1000)) |
21:08:11.588 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_work_log_verify_rels" SET "status"=1 WHERE "id"=14325 |
21:08:11.589 | 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', 14325, 'a:1:{s:6:"status";i:1;}', '', 1000, '120.244.156.210') |
21:08:11.590 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_work_logs" SET "status"=1 WHERE "id"=37034 |
21:08:11.591 | 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', 37034, 'a:1:{s:11:"location_id";N;}', '', 1000, '120.244.156.210') |
21:08:11.592 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
21:08:11.593 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:08:11.593 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:08:11.593 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1142, 'v2/work-log/save-new', '{"WorkLogs":{"attachmentFiles":["24899"],"client_id":"2815","created_by":"1000","description":"\u4f60\u60f3\u5a1c\u5a1c","end_at":"2025-07-16 21:08","escort":"\u7cbe\u5f69\u96c6\u9526\u5403","form_workLogCarbonCopyRels":"","form_workLogVerifyRels":["1000"],"is_draft":"0","location_in_address":"\u5317\u4eac\u5e02\u77f3\u666f\u5c71\u533a\u516b\u89d2\u5317\u8def\u9760\u8fd1\u516b\u89d2\u5317\u8def\u7279\u94a2\u5c0f\u533a","location_in_distance":"9122.23064418708","location_in_lat":"39.91726752387153","location_in_lng":"116.1949522569444","location_in_updated_at":"2025-07-16 21:07","location_out_address":"\u5317\u4eac\u5e02\u77f3\u666f\u5c71\u533a\u516b\u89d2\u5317\u8def\u9760\u8fd1\u516b\u89d2\u5317\u8def\u7279\u94a2\u5c0f\u533a","location_out_distance":"9122.23064418708","location_out_lat":"39.91726752387153","location_out_lng":"116.1949522569444","location_out_updated_at":"2025-07-16 21:08","project_id":"3822","scenario_id":"1","scenario_option_id":"66","start_at":"2025-07-16 21:07","workLogContacts":["6014","5245"]},"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","posttime":"1752671232","token":"bf544b1fb18d05aa63051757d56cbd26","version_code":"1142"}', '{"code":200,"data":{"id":37034},"status":1,"msg":[{"name":"success","success":"\u65b0\u5de5\u4f5c\u65e5\u5fd7\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-16 21:08:11') RETURNING "id" |