Log Messages

总计187条数据
TimeLevelCategoryMessage
 
09:52:53.369traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
09:52:53.369traceyii\base\Module::getModuleLoading module: debug
09:52:53.369traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
09:52:53.370traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
09:52:53.370traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
09:52:53.370traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.370traceyii\base\Module::getModuleLoading module: gii
09:52:53.370traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
09:52:53.370traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
09:52:53.370traceyii\web\Application::handleRequestRoute requested: 'v2/case/save-new'
09:52:53.370traceyii\base\Module::getModuleLoading module: v2
09:52:53.371infoyii\web\Session::openSession started
09:52:53.372infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
09:52:53.375infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH'
09:52:53.378traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.378traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.378traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.379traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.379infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:52:53.380traceyii\base\Controller::runActionRoute to run: v2/case/save-new
09:52:53.380traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.381traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
09:52:53.381traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\CaseController::actionSaveNew()
09:52:53.381traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.381traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.382traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'attachmentFiles' in 'app\models\Cases'.
09:52:53.382traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'caseRemindDates' in 'app\models\Cases'.
09:52:53.382traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'caseServices' in 'app\models\Cases'.
09:52:53.382traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'form_caseCarbonCopyRels' in 'app\models\Cases'.
09:52:53.386infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815')
09:52:53.387infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='5245')
09:52:53.388infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3811')
09:52:53.388infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
09:52:53.389infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017')
09:52:53.389infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"='199')
09:52:53.390infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE ("created_at" >= '2025-07-11 00:00:00') AND ("created_at" < '2025-07-12 00:00:00') ORDER BY "id" DESC
09:52:53.392infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_cases" ("case_type", "alarm_before", "client_id", "contact_id", "description", "last_engineer", "project_id", "spent_time", "start_at", "task_group_id", "need_push", "created_by", "created_at", "case_no") VALUES (1, '00:30:00', 2815, 5245, '经常娜娜从哪方面', 1017, 3811, '3 hour', '2025-07-11 08:00', 199, FALSE, 1000, '2025-07-11 09:52:53', 'PS250711001') RETURNING "id"
09:52:53.404traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.404traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.404infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Cases', 8279, 'a:24:{s:2:"id";i:8279;s:9:"client_id";s:4:"2815";s:10:"contact_id";s:4:"5245";s:10:"project_id";s:4:"3811";s:13:"last_engineer";s:4:"1017";s:9:"case_type";s:1:"1";s:11:"case_status";N;s:8:"start_at";s:19:"2025-07-11 08:00:00";s:9:"closed_at";N;s:6:"points";N;s:18:"deduct_points_from";N;s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-11 09:52:53";s:10:"updated_at";N;s:7:"case_no";s:11:"PS250711001";s:11:"description";s:24:"经常娜娜从哪方面";s:10:"spent_time";s:6:"3 hour";s:12:"alarm_before";s:8:"00:30:00";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";b:0;s:13:"task_group_id";s:3:"199";}', '', 1000, '223.104.40.121')
09:52:53.407infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id"=8279)
09:52:53.409traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.409traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.409infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (25, 8279, 24866)
09:52:53.411traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.411traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.411infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8279)
09:52:53.411infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273)
09:52:53.412infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_case_services" ("case_id", "service_id", "quantity") VALUES (8279, 273, 1) RETURNING "id"
09:52:53.413infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\CaseServices', 13464, 'a:4:{s:2:"id";i:13464;s:7:"case_id";i:8279;s:10:"service_id";i:273;s:8:"quantity";s:1:"1";}', '', 1000, '223.104.40.121')
09:52:53.415traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.417traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.417infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8279)
09:52:53.418infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017')
09:52:53.418infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
09:52:53.419infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_case_assignments" ("case_id", "engineer_id", "assignment_status", "points", "assigned_by") VALUES (8279, 1017, 1, 0, 1000) RETURNING "id"
09:52:53.420infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\CaseAssignments', 8320, 'a:9:{s:2:"id";i:8320;s:7:"case_id";i:8279;s:11:"engineer_id";s:4:"1017";s:17:"assignment_status";i:1;s:6:"points";i:0;s:11:"assigned_by";i:1000;s:11:"assigned_at";N;s:10:"updated_at";N;s:7:"percent";N;}', '', 1000, '223.104.40.121')
09:52:53.421infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815'
09:52:53.422traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.423traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.423infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=8279
09:52:53.424infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273
09:52:53.425traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.425traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.425infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_cases" SET "deduct_points_from"=1004, "points"=150, "case_status"=2 WHERE "id"=8279
09:52:53.426infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Cases', 8279, 'a:4:{s:8:"start_at";s:19:"2025-07-11 08:00:00";s:11:"case_status";i:2;s:6:"points";i:150;s:18:"deduct_points_from";i:1004;}', '', 1000, '223.104.40.121')
09:52:53.427infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=8279
09:52:53.428traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.428traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.428infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_case_carbon_copy_rels" ("case_id", "user_id") VALUES (8279, 5250), (8279, 5016)
09:52:53.429traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.429infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_case_remind_dates' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:52:53.436infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_case_remind_dates' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:52:53.452traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.452traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:52:53.453infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8279)
09:52:53.453infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8279)
09:52:53.454infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_case_remind_dates" ("is_remind", "case_id", "alarm_before", "time_at") VALUES (FALSE, 8279, 5, '2025-07-11 16:00:00') RETURNING "id"
09:52:53.458infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\CaseRemindDates', 190, 'a:5:{s:2:"id";i:190;s:7:"case_id";i:8279;s:12:"alarm_before";s:1:"5";s:9:"is_remind";b:0;s:7:"time_at";s:19:"2025-07-11 16:00:00";}', '', 1000, '223.104.40.121')
09:52:53.459infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_case_remind_receivers" WHERE "remind_date_id"=190
09:52:53.460traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.460infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_case_remind_receivers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:52:53.464infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_case_remind_receivers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:52:53.479traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.479traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:52:53.479infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_case_remind_receivers" ("remind_date_id", "user_id") VALUES (190, 5016), (190, 5329)
09:52:53.484traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.484traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.485infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815')
09:52:53.486infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017')
09:52:53.486infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8279)
09:52:53.487infoyii\db\Command::queryINSERT 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 ('技术方案-一级文档:经常娜娜从哪方面', '2025-07-11 11:00:00', '2025-07-11 08:00:00', 1, 1017, 2815, '00:30:00', 8279, FALSE, FALSE, FALSE) RETURNING "id"
09:52:53.489infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Calendars', 276919, 'a:17:{s:2:"id";i:276919;s:9:"client_id";s:4:"2815";s:5:"title";s:50:"技术方案-一级文档:经常娜娜从哪方面";s:11:"description";N;s:8:"start_at";s:19:"2025-07-11 08:00:00";s:6:"end_at";s:19:"2025-07-11 11:00:00";s:9:"is_public";i:1;s:10:"created_by";s:4:"1017";s:10:"created_at";N;s:12:"alarm_before";s:8:"00:30:00";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:8279;s:11:"schedule_id";N;s:10:"project_id";N;}', '', 1000, '223.104.40.121')
09:52:53.490infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8279
09:52:53.490infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:52:53.491infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017'
09:52:53.491infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
09:52:53.492infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=8279
09:52:53.493traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.493infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_comments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:52:53.497infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_comments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:52:53.516traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.516traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:52:53.517infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8279
09:52:53.518infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
09:52:53.518infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '18', 8279, '曹永生为车明飞新建了一个Case', TRUE, '经常娜娜从哪方面') RETURNING "id"
09:52:53.520infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 170394, 'a:11:{s:2:"id";i:170394;s:9:"object_id";i:8279;s:11:"object_type";s:2:"18";s:6:"parent";N;s:11:"description";s:40:"曹永生为车明飞新建了一个Case";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:24:"经常娜娜从哪方面";}', '', 1000, '223.104.40.121')
09:52:53.521traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.521infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_unread_comments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
09:52:53.525infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_unread_comments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
09:52:53.541traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.541traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
09:52:53.542infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (8279, '18', 170394, '1017'), (8279, '18', 170394, 1004), (8279, '18', 170394, 5250), (8279, '18', 170394, 5016)
09:52:53.544infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id" IN ('1017', 1004, 5250, 5016)) AND ("id" != 1000) AND (channel_id IS NOT NULL)
09:52:53.546infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8279
09:52:53.546infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
09:52:53.549traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
09:52:53.549traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
09:52:53.549traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
09:52:53.549infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3811
09:52:53.550traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.550traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.551traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
09:52:53.551traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
09:52:53.551traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
09:52:53.552infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:52:53.552traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.552traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.553infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 8279, 18, 1000, '2025-07-11 09:52:53', '{"id":8279,"client_id":2815,"contact_id":5245,"project_id":3811,"last_engineer":1017,"case_type":1,"case_status":2,"start_at":"2025-07-11 08:00:00","closed_at":null,"points":150,"deduct_points_from":1004,"created_by":1000,"created_at":"2025-07-11 09:52:53","updated_at":"2025-07-11 09:52:53","case_no":"PS250711001","description":"\u7ecf\u5e38\u5a1c\u5a1c\u4ece\u54ea\u65b9\u9762","spent_time":"3 hour","alarm_before":"00:30:00","suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":199}', '{"id":8279,"client_id":2815,"contact_id":5245,"project_id":3811,"last_engineer":1017,"case_type":1,"case_status":2,"start_at":"2025-07-11 08:00:00","closed_at":null,"points":150,"deduct_points_from":1004,"created_by":1000,"created_at":"2025-07-11 09:52:53","updated_at":"2025-07-11 09:52:53","case_no":"PS250711001","description":"\u7ecf\u5e38\u5a1c\u5a1c\u4ece\u54ea\u65b9\u9762","spent_time":"3 hour","alarm_before":"00:30:00","suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":199}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}') RETURNING "id"
09:52:53.554infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510480, 'a:13:{s:2:"id";i:510480;s:9:"object_id";i:8279;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:554:"{"id":8279,"client_id":2815,"contact_id":5245,"project_id":3811,"last_engineer":1017,"case_type":1,"case_status":2,"start_at":"2025-07-11 08:00:00","closed_at":null,"points":150,"deduct_points_from":1004,"created_by":1000,"created_at":"2025-07-11 09:52:53","updated_at":"2025-07-11 09:52:53","case_no":"PS250711001","description":"\u7ecf\u5e38\u5a1c\u5a1c\u4ece\u54ea\u65b9\u9762","spent_time":"3 hour","alarm_before":"00:30:00","suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":199}";s:9:"new_value";s:554:"{"id":8279,"client_id":2815,"contact_id":5245,"project_id":3811,"last_engineer":1017,"case_type":1,"case_status":2,"start_at":"2025-07-11 08:00:00","closed_at":null,"points":150,"deduct_points_from":1004,"created_by":1000,"created_at":"2025-07-11 09:52:53","updated_at":"2025-07-11 09:52:53","case_no":"PS250711001","description":"\u7ecf\u5e38\u5a1c\u5a1c\u4ece\u54ea\u65b9\u9762","spent_time":"3 hour","alarm_before":"00:30:00","suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":199}";s:11:"description";s:73:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-11 09:52:53";s:9:"is_delete";N;}', '', 1000, '223.104.40.121')
09:52:53.555infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:52:53.556traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.556traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.556infoyii\db\Command::queryINSERT 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', 8279, 18, 1000, '2025-07-11 09:52:53', '{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}', array[1004,1017], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}') RETURNING "id"
09:52:53.558infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 137110, 'a:15:{s:2:"id";i:137110;s:9:"object_id";i:8279;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[1004,1017]";s:6:"params";a:0:{}}s:11:"description";s:73:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-11 09:52:53";s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.40.121')
09:52:53.559infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
09:52:53.564infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815
09:52:53.566infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:52:53.582traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.582traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.583infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id"
09:52:53.586infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165230, 'a:5:{s:2:"id";i:165230;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, '223.104.40.121')
09:52:53.587infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 2815, 'a:0:{}', '', 1000, '223.104.40.121')
09:52:53.588infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:52:53.589infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 2815, 10, 8279, 18, 1000, '[8279]', '[8279]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250711001"]}') RETURNING "id"
09:52:53.590infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510481, 'a:13:{s:2:"id";i:510481;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:8279;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[8279]";s:9:"new_value";s:6:"[8279]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250711001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.40.121')
09:52:53.592infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3811
09:52:53.593infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3811
09:52:53.595infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3811) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:52:53.596traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.596traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.596infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 3811, 'a:0:{}', '', 1000, '223.104.40.121')
09:52:53.597infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
09:52:53.598infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:52:53.598infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 3811, 1, 8279, 18, 1000, '[8279]', '[8279]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250711001"]}') RETURNING "id"
09:52:53.599infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510482, 'a:13:{s:2:"id";i:510482;s:9:"object_id";i:3811;s:11:"object_type";i:1;s:9:"target_id";i:8279;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[8279]";s:9:"new_value";s:6:"[8279]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250711001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.40.121')
09:52:53.600infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
09:52:53.600infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:52:53.601infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (1, 'create', 3811, 1, 8279, 18, 1000, '8279', '8279', array[1004], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250711001"]}') RETURNING "id"
09:52:53.602infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 137111, 'a:15:{s:2:"id";i:137111;s:9:"object_id";i:3811;s:11:"object_type";i:1;s:9:"target_id";i:8279;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"8279";s:9:"new_value";s:4:"8279";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:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250711001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.40.121')
09:52:53.603traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.603traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.603infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=199
09:52:53.603infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
09:52:53.604infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 199, 102, 8279, 18, 1000, '[8279]', '[8279]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250711001"]}') RETURNING "id"
09:52:53.605infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510483, 'a:13:{s:2:"id";i:510483;s:9:"object_id";i:199;s:11:"object_type";i:102;s:9:"target_id";i:8279;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[8279]";s:9:"new_value";s:6:"[8279]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250711001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.40.121')
09:52:53.606infoyii\db\Command::querySELECT * FROM "global"."tbl_enterprises" WHERE "id"=2
09:52:53.607traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.607traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.607traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
09:52:53.607traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
09:52:53.608traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
09:52:53.608infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815'
09:52:53.608traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.609traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.609infoyii\db\Command::querySELECT COUNT(*) FROM "a57be577deb434"."tbl_cases" WHERE ("case_type"=1) AND ("case_status"=5) AND ("created_at" >= '2025-01-01 00:00:00') AND ("created_at" <= '2025-12-31 23:59:59') AND ("client_id"=2815)
09:52:53.611infoyii\db\Command::querySELECT COUNT(*) FROM "a57be577deb434"."tbl_cases" WHERE ("case_type"=2) AND ("case_status"=5) AND ("created_at" >= '2025-01-01 00:00:00') AND ("created_at" <= '2025-12-31 23:59:59') AND ("client_id"=2815)
09:52:53.612infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
09:52:53.620infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id"
09:52:53.621infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165231, 'a:5:{s:2:"id";i:165231;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, '223.104.40.121')
09:52:53.622infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 2815, 'a:0:{}', '', 1000, '223.104.40.121')
09:52:53.623traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
09:52:53.623traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
09:52:53.623traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
09:52:53.623traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
09:52:53.624traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
09:52:53.624infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1141, 'v2/case/save-new', '{"Cases":{"alarm_before":"00:30:00","attachmentFiles":["24866"],"caseRemindDates":{"new":[{"alarm_before":"5","users":["5016","5329"]}]},"caseServices":{"273":"1"},"case_type":"1","client_id":"2815","contact_id":"5245","description":"\u7ecf\u5e38\u5a1c\u5a1c\u4ece\u54ea\u65b9\u9762","form_caseCarbonCopyRels":["5250","5016"],"last_engineer":"1017","project_id":"3811","spent_time":"3 hour","start_at":"2025-07-11 08:00","task_group_id":"199"},"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","posttime":"1752198784","token":"c683cbc966b00614bfd06923310e7d8d","version_code":"1141"}', '{"code":200,"data":{"id":8279},"status":1,"msg":[{"name":"success","success":"\u65b0Case\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-11 09:52:53') RETURNING "id"