| 12:46:45.199 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 12:46:45.199 | trace | yii\base\Module::getModule | Loading module: debug |
| 12:46:45.200 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 12:46:45.200 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 12:46:45.200 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 12:46:45.200 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.200 | info | time tracing start | 1780289205200817152 |
| 12:46:45.200 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 12:46:45.200 | trace | yii\web\Application::handleRequest | Route requested: 'vue/case/save-new' |
| 12:46:45.200 | trace | yii\base\Module::getModule | Loading module: vue |
| 12:46:45.201 | info | yii\web\Session::open | Session started |
| 12:46:45.202 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 12:46:45.202 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 12:46:45.203 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.203 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.203 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.203 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.203 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 12:46:45.204 | trace | yii\base\Controller::runAction | Route to run: vue/case/save-new |
| 12:46:45.204 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.205 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 12:46:45.205 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\CaseController::actionSaveNew() |
| 12:46:45.205 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.205 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.205 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Cases'. |
| 12:46:45.206 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'project_title' in 'app\models\Cases'. |
| 12:46:45.206 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_name' in 'app\models\Cases'. |
| 12:46:45.206 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'caseServices' in 'app\models\Cases'. |
| 12:46:45.206 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'type' in 'app\models\Cases'. |
| 12:46:45.206 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'caseRemindDates' in 'app\models\Cases'. |
| 12:46:45.206 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'form_caseCarbonCopyRels' in 'app\models\Cases'. |
| 12:46:45.206 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'files' in 'app\models\Cases'. |
| 12:46:45.206 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3311') |
| 12:46:45.207 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='5903') |
| 12:46:45.207 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='4173') |
| 12:46:45.208 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 12:46:45.208 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5064') |
| 12:46:45.208 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.208 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.208 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273 |
| 12:46:45.209 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE ("created_at" >= '2026-06-01 00:00:00') AND ("created_at" < '2026-06-02 00:00:00') ORDER BY "id" DESC |
| 12:46:45.210 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_cases" ("case_type", "client_id", "project_id", "task_group_id", "contact_id", "start_at", "spent_time", "alarm_before", "description", "need_push", "last_engineer", "created_by", "created_at", "case_no") VALUES (1, 3311, 4173, NULL, 5903, '2026/06/01 00:00', '1 hour', NULL, '', FALSE, 5064, 1001, '2026-06-01 12:46:45', 'PS260601001') RETURNING "id" |
| 12:46:45.213 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.213 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.214 | 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\Cases', 9260, 'a:24:{s:2:"id";i:9260;s:9:"client_id";s:4:"3311";s:10:"contact_id";s:4:"5903";s:10:"project_id";s:4:"4173";s:13:"last_engineer";s:4:"5064";s:9:"case_type";s:1:"1";s:11:"case_status";N;s:8:"start_at";s:19:"2026-06-01 00:00:00";s:9:"closed_at";N;s:6:"points";N;s:18:"deduct_points_from";N;s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-01 12:46:45";s:10:"updated_at";N;s:7:"case_no";s:11:"PS260601001";s:11:"description";s:0:"";s:10:"spent_time";s:6:"1 hour";s:12:"alarm_before";N;s:10:"suspend_at";N;s:12:"completed_at";N;s:20:"mp_submit_contact_id";N;s:13:"attachment_id";N;s:9:"need_push";s:1:"0";s:13:"task_group_id";s:0:"";}', '', 1001, '221.216.117.119') |
| 12:46:45.215 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id"=9260) |
| 12:46:45.217 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=104) AND ("object_id"=9260) |
| 12:46:45.220 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.220 | 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_case_services'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 12:46:45.222 | 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_case_services'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 12:46:45.234 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.234 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 12:46:45.234 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=9260) |
| 12:46:45.235 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273) |
| 12:46:45.237 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_case_services" ("case_id", "service_id", "quantity") VALUES (9260, 273, 1) RETURNING "id" |
| 12:46:45.241 | 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\CaseServices', 15562, 'a:4:{s:2:"id";i:15562;s:7:"case_id";i:9260;s:10:"service_id";i:273;s:8:"quantity";s:1:"1";}', '', 1001, '221.216.117.119') |
| 12:46:45.242 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.242 | 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_case_assignments'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 12:46:45.245 | 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_case_assignments'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 12:46:45.257 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.257 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 12:46:45.257 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=9260) |
| 12:46:45.258 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5064') |
| 12:46:45.258 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 12:46:45.258 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_case_assignments" ("case_id", "engineer_id", "assignment_status", "points", "assigned_by") VALUES (9260, 5064, 1, 0, 1001) RETURNING "id" |
| 12:46:45.262 | 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\CaseAssignments', 9309, 'a:9:{s:2:"id";i:9309;s:7:"case_id";i:9260;s:11:"engineer_id";s:4:"5064";s:17:"assignment_status";i:1;s:6:"points";i:0;s:11:"assigned_by";i:1001;s:11:"assigned_at";N;s:10:"updated_at";N;s:7:"percent";N;}', '', 1001, '221.216.117.119') |
| 12:46:45.263 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3311' |
| 12:46:45.263 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.263 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.264 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=9260 |
| 12:46:45.266 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273 |
| 12:46:45.266 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_cases" SET "deduct_points_from"=1001, "points"=150, "case_status"=2 WHERE "id"=9260 |
| 12:46:45.268 | 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\Cases', 9260, 'a:3:{s:8:"start_at";s:19:"2026-06-01 00:00:00";s:11:"case_status";i:2;s:6:"points";i:150;}', '', 1001, '221.216.117.119') |
| 12:46:45.269 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.269 | 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_calendars'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 12:46:45.274 | 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_calendars'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 12:46:45.289 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.289 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 12:46:45.289 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3311') |
| 12:46:45.290 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5064') |
| 12:46:45.290 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=9260) |
| 12:46:45.290 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_calendars" ("title", "end_at", "start_at", "is_public", "created_by", "client_id", "alarm_before", "case_id", "is_remind", "is_system", "is_sync") VALUES ('技术方案-一级文档:', '2026-06-01 01:00:00', '2026-06-01 00:00:00', 1, 5064, 3311, NULL, 9260, FALSE, FALSE, FALSE) RETURNING "id" |
| 12:46:45.294 | 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\Calendars', 278193, 'a:17:{s:2:"id";i:278193;s:9:"client_id";s:4:"3311";s:5:"title";s:26:"技术方案-一级文档:";s:11:"description";N;s:8:"start_at";s:19:"2026-06-01 00:00:00";s:6:"end_at";s:19:"2026-06-01 01:00:00";s:9:"is_public";i:1;s:10:"created_by";s:4:"5064";s:10:"created_at";N;s:12:"alarm_before";N;s:9:"is_remind";b:0;s:18:"system_calendar_id";N;s:9:"is_system";b:0;s:7:"is_sync";b:0;s:7:"case_id";i:9260;s:11:"schedule_id";N;s:10:"project_id";N;}', '', 1001, '221.216.117.119') |
| 12:46:45.295 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=9260 |
| 12:46:45.296 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 12:46:45.296 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5064' |
| 12:46:45.297 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3311 |
| 12:46:45.297 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=9260 |
| 12:46:45.299 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.299 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.299 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=9260 |
| 12:46:45.300 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 12:46:45.300 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '18', 9260, '刘人诚为姚雪纯新建了一个Case', TRUE, '') RETURNING "id" |
| 12:46:45.301 | 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', 220613, 'a:11:{s:2:"id";i:220613;s:9:"object_id";i:9260;s:11:"object_type";s:2:"18";s:6:"parent";N;s:11:"description";s:40:"刘人诚为姚雪纯新建了一个Case";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') |
| 12:46:45.302 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.302 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.302 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (9260, '18', 220613, '5064') |
| 12:46:45.306 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id" IN ('5064', 1001)) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 12:46:45.306 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4173 |
| 12:46:45.307 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.307 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.307 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 12:46:45.307 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 12:46:45.307 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 12:46:45.307 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 12:46:45.308 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.308 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.308 | 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', 9260, 18, 1001, '2026-06-01 12:46:45', '{"id":9260,"client_id":3311,"contact_id":5903,"project_id":4173,"last_engineer":5064,"case_type":1,"case_status":2,"start_at":"2026-06-01 00:00:00","closed_at":null,"points":150,"deduct_points_from":1001,"created_by":1001,"created_at":"2026-06-01 12:46:45","updated_at":"2026-06-01 12:46:45","case_no":"PS260601001","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":null}', '{"id":9260,"client_id":3311,"contact_id":5903,"project_id":4173,"last_engineer":5064,"case_type":1,"case_status":2,"start_at":"2026-06-01 00:00:00","closed_at":null,"points":150,"deduct_points_from":1001,"created_by":1001,"created_at":"2026-06-01 12:46:45","updated_at":"2026-06-01 12:46:45","case_no":"PS260601001","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}') RETURNING "id" |
| 12:46:45.309 | 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', 640836, 'a:13:{s:2:"id";i:640836;s:9:"object_id";i:9260;s:11:"object_type";i:18;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:501:"{"id":9260,"client_id":3311,"contact_id":5903,"project_id":4173,"last_engineer":5064,"case_type":1,"case_status":2,"start_at":"2026-06-01 00:00:00","closed_at":null,"points":150,"deduct_points_from":1001,"created_by":1001,"created_at":"2026-06-01 12:46:45","updated_at":"2026-06-01 12:46:45","case_no":"PS260601001","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":null}";s:9:"new_value";s:501:"{"id":9260,"client_id":3311,"contact_id":5903,"project_id":4173,"last_engineer":5064,"case_type":1,"case_status":2,"start_at":"2026-06-01 00:00:00","closed_at":null,"points":150,"deduct_points_from":1001,"created_by":1001,"created_at":"2026-06-01 12:46:45","updated_at":"2026-06-01 12:46:45","case_no":"PS260601001","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":null}";s:11:"description";s:73:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-01 12:46:45";s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 12:46:45.310 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 12:46:45.311 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.311 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.311 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (1, 'create', 9260, 18, 1001, '2026-06-01 12:46:45', '{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}', array[1001,5064], '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}') RETURNING "id" |
| 12:46:45.312 | 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', 171842, 'a:15:{s:2:"id";i:171842;s:9:"object_id";i:9260;s:11:"object_type";i:18;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:86:"{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:9:"new_value";s:86:"{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:16:"array[1001,5064]";s:6:"params";a:0:{}}s:11:"description";s:73:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-01 12:46:45";s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1001, '221.216.117.119') |
| 12:46:45.313 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3311 |
| 12:46:45.314 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3311 |
| 12:46:45.316 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3311) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 12:46:45.333 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.333 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.333 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3311, 1001, 'now()', NULL) RETURNING "id" |
| 12:46:45.334 | 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', 199796, 'a:5:{s:2:"id";i:199796;s:9:"client_id";i:3311;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 12:46:45.335 | 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', 3311, 'a:0:{}', '', 1001, '221.216.117.119') |
| 12:46:45.336 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 12:46:45.336 | 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', 3311, 10, 9260, 18, 1001, '[9260]', '[9260]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS260601001"]}') RETURNING "id" |
| 12:46:45.337 | 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', 640837, 'a:13:{s:2:"id";i:640837;s:9:"object_id";i:3311;s:11:"object_type";i:10;s:9:"target_id";i:9260;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[9260]";s:9:"new_value";s:6:"[9260]";s:11:"description";s:103:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS260601001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 12:46:45.338 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4173 |
| 12:46:45.339 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=4173 |
| 12:46:45.340 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4173) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 12:46:45.342 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.342 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.342 | 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', 4173, 'a:0:{}', '', 1001, '221.216.117.119') |
| 12:46:45.343 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3311 |
| 12:46:45.343 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 12:46:45.344 | 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', 4173, 1, 9260, 18, 1001, '[9260]', '[9260]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS260601001"]}') RETURNING "id" |
| 12:46:45.345 | 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', 640838, 'a:13:{s:2:"id";i:640838;s:9:"object_id";i:4173;s:11:"object_type";i:1;s:9:"target_id";i:9260;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[9260]";s:9:"new_value";s:6:"[9260]";s:11:"description";s:103:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS260601001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119') |
| 12:46:45.346 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3311 |
| 12:46:45.346 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 12:46:45.347 | 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', 4173, 1, 9260, 18, 1001, '9260', '9260', array[1001], '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS260601001"]}') RETURNING "id" |
| 12:46:45.347 | 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', 171843, 'a:15:{s:2:"id";i:171843;s:9:"object_id";i:4173;s:11:"object_type";i:1;s:9:"target_id";i:9260;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"9260";s:9:"new_value";s:4:"9260";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:103:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS260601001"]}";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') |
| 12:46:45.348 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_enterprises" WHERE "id"=2 |
| 12:46:45.349 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.349 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.350 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 12:46:45.350 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 12:46:45.350 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 12:46:45.350 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3311' |
| 12:46:45.351 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.351 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.352 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_cases" WHERE ("case_type"=1) AND ("case_status"=5) AND ("created_at" >= '2026-01-01 00:00:00') AND ("created_at" <= '2026-12-31 23:59:59') AND ("client_id"=3311) |
| 12:46:45.353 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_cases" WHERE ("case_type"=2) AND ("case_status"=5) AND ("created_at" >= '2026-01-01 00:00:00') AND ("created_at" <= '2026-12-31 23:59:59') AND ("client_id"=3311) |
| 12:46:45.355 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3311) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 12:46:45.372 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3311, 1001, 'now()', NULL) RETURNING "id" |
| 12:46:45.373 | 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', 199797, 'a:5:{s:2:"id";i:199797;s:9:"client_id";i:3311;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '221.216.117.119') |
| 12:46:45.374 | 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', 3311, 'a:0:{}', '', 1001, '221.216.117.119') |
| 12:46:45.374 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 12:46:45.374 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 12:46:45.374 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 12:46:45.375 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.375 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 12:46:45.375 | 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/case/save-new', '{"Cases":{"id":"","client_id":"3311","project_title":"\u6d4b\u8bd5\u5de5\u5355\u4eba\u5de5\u6210\u672c\u95ee\u9898","client_name":"\u5317\u4eac\u534e\u8fb0\u60a6\u79d1\u6280\u6709\u9650\u516c\u53f8","project_id":"4173","task_group_id":"","contact_id":"5903","case_type":"1","start_at":"2026\/06\/01 00:00","spent_time":"1 hour","alarm_before":"","description":"","caseServices":{"273":"1"},"type":"Project","need_push":"0","last_engineer":"5064","caseRemindDates":"","form_caseCarbonCopyRels":"","files":""},"web_access_token":"YNQKwEYJYN8muCSh8ExnNlBf2oepDAlv"}', '{"code":2000,"result":{"id":9260},"status":1,"msg":[{"name":"success","success":"\u65b0Case\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-01 12:46:45', 174491904) RETURNING "id" |
| 12:46:45.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 12:46:45.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |