Log Messages

总计176条数据
TimeLevelCategoryMessage
 
14:19:12.554traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:19:12.554traceyii\base\Module::getModuleLoading module: debug
14:19:12.555traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:19:12.555traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:19:12.555traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:19:12.555traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.555traceyii\base\Module::getModuleLoading module: gii
14:19:12.555traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
14:19:12.556traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:19:12.556traceyii\web\Application::handleRequestRoute requested: 'v2/case/save-edit'
14:19:12.556traceyii\base\Module::getModuleLoading module: v2
14:19:12.556infoyii\web\Session::openSession started
14:19:12.557infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:19:12.559infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd'
14:19:12.561traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.562traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.562traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.562traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.562infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:19:12.563traceyii\base\Controller::runActionRoute to run: v2/case/save-edit
14:19:12.564traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.564traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:19:12.564traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\CaseController::actionSaveEdit()
14:19:12.565infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8267'
14:19:12.565traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.565traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.565traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.566traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.567traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\Cases'.
14:19:12.567traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'caseServices' in 'app\models\Cases'.
14:19:12.567infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3334')
14:19:12.568infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='6002')
14:19:12.569infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3786')
14:19:12.569infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064)
14:19:12.569infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017')
14:19:12.570infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:19:12.570infoyii\db\Command::execute
14:19:12.570infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:19:12.571infoyii\db\Command::execute
14:19:12.572infoyii\db\Command::querySELECT * FROM "global"."tbl_enterprises" WHERE "id"=2
14:19:12.572traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.572traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.573traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
14:19:12.574traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
14:19:12.574traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
14:19:12.574infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3334'
14:19:12.574traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.575traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.575infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_cases" SET "client_id"=3334, "contact_id"=6002, "project_id"=3786, "last_engineer"=1017, "case_type"=1, "start_at"='2025-05-26 17:17', "updated_at"='now()', "task_group_id"=NULL WHERE "id"=8267
14:19:12.576traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.576traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.576infoyii\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', 8267, 'a:2:{s:8:"start_at";s:19:"2025-05-26 17:17:00";s:13:"last_engineer";s:4:"1017";}', '', 1000, '114.254.1.137')
14:19:12.577infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id"=8267)
14:19:12.579infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id"=8267)
14:19:12.580infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=8267
14:19:12.581infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=8267
14:19:12.581traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.581traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.581infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_implement_records" SET "client_id"=3334 WHERE "case_id"=8267
14:19:12.583traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.583traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.583infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_pre_sales" SET "client_id"=3334 WHERE "case_id"=8267
14:19:12.584infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=8267
14:19:12.584traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.585infoyii\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_services' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:19:12.590infoyii\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_services' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:19:12.599traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.599traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:19:12.599infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=8267
14:19:12.601infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8267)
14:19:12.601infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=275)
14:19:12.601infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_case_services" ("case_id", "service_id", "quantity") VALUES (8267, 275, 1) RETURNING "id"
14:19:12.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\CaseServices', 13439, 'a:4:{s:2:"id";i:13439;s:7:"case_id";i:8267;s:10:"service_id";i:275;s:8:"quantity";s:1:"1";}', '', 1000, '114.254.1.137')
14:19:12.603traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.603infoyii\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_assignments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:19:12.606infoyii\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_assignments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:19:12.616traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.616traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:19:12.616infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017'
14:19:12.616infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:19:12.617traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.617traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.617infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'engineer_id', 8267, 18, 1000, 'now()', '["\u8f66\u660e\u98de"]', '[""]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u7a0b\u5e08","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u8f66\u660e\u98de"]}')
14:19:12.618infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:19:12.619traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.619traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.619infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (2, 'engineer_id', 8267, 18, 1000, 'now()', '["\u8f66\u660e\u98de"]', '[""]', array[1001,1017], '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u7a0b\u5e08","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u8f66\u660e\u98de"]}')
14:19:12.620infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_implement_records" WHERE ("case_id"=8267) AND ("is_draft"=TRUE)
14:19:12.621infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_pre_sales" WHERE ("case_id"=8267) AND ("is_draft"=TRUE)
14:19:12.622infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id"=8267
14:19:12.622infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_assignments" WHERE ("case_id"=8267) AND ("engineer_id"='1017')
14:19:12.623infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8267)
14:19:12.624infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017')
14:19:12.624infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
14:19:12.624infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_case_assignments" ("case_id", "assignment_status", "points", "assigned_by", "engineer_id", "assigned_at") VALUES (8267, 1, 0, 1000, 1017, 'now()') RETURNING "id"
14:19:12.625infoyii\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', 8313, 'a:9:{s:2:"id";i:8313;s:7:"case_id";i:8267;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";s:5:"now()";s:10:"updated_at";N;s:7:"percent";N;}', '', 1000, '114.254.1.137')
14:19:12.626infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:19:12.627infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017'
14:19:12.627infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8267
14:19:12.627infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=8267
14:19:12.628traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.628traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.628infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8267
14:19:12.628infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
14:19:12.629infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '18', 8267, '曹永生分配了一个Case给车明飞', TRUE, '') RETURNING "id"
14:19:12.630infoyii\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', 170266, 'a:11:{s:2:"id";i:170266;s:9:"object_id";i:8267;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:0:"";}', '', 1000, '114.254.1.137')
14:19:12.631traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.631traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.631infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (8267, '18', 170266, '1017'), (8267, '18', 170266, 1001)
14:19:12.632infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id" IN ('1017', 1001)) AND ("id" != 1000) AND (channel_id IS NOT NULL)
14:19:12.633infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8267
14:19:12.633infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334
14:19:12.634traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
14:19:12.634traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
14:19:12.634traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
14:19:12.634infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3786'
14:19:12.635traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.635traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.635traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
14:19:12.635traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
14:19:12.635traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
14:19:12.635infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=8267
14:19:12.636infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=275
14:19:12.636traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.636infoyii\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_services' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:19:12.639infoyii\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_services' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:19:12.648traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.648traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:19:12.648infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_cases" SET "case_status"=2 WHERE "id"=8267
14:19:12.649infoyii\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', 8267, 'a:2:{s:8:"start_at";s:19:"2025-05-26 17:17:00";s:11:"case_status";i:2;}', '', 1000, '114.254.1.137')
14:19:12.650infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_calendars" WHERE "case_id"=8267
14:19:12.652traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.653traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.653infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3334')
14:19:12.653infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017')
14:19:12.654infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8267)
14:19:12.654infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_calendars" ("title", "end_at", "is_remind", "start_at", "is_public", "created_by", "client_id", "alarm_before", "case_id", "is_system", "is_sync") VALUES ('技术方案-二级文档:', '2025-05-26 18:17:00', TRUE, '2025-05-26 17:17:00', 1, 1017, 3334, NULL, 8267, FALSE, FALSE) RETURNING "id"
14:19:12.656infoyii\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', 276906, 'a:17:{s:2:"id";i:276906;s:9:"client_id";s:4:"3334";s:5:"title";s:26:"技术方案-二级文档:";s:11:"description";N;s:8:"start_at";s:19:"2025-05-26 17:17:00";s:6:"end_at";s:19:"2025-05-26 18:17:00";s:9:"is_public";i:1;s:10:"created_by";s:4:"1017";s:10:"created_at";N;s:12:"alarm_before";N;s:9:"is_remind";b:1;s:18:"system_calendar_id";N;s:9:"is_system";b:0;s:7:"is_sync";b:0;s:7:"case_id";i:8267;s:11:"schedule_id";N;s:10:"project_id";N;}', '', 1000, '114.254.1.137')
14:19:12.656infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3334'
14:19:12.658infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3334
14:19:12.659infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3334) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:19:12.668traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.668traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.668infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3334, 1001, 'now()', NULL) RETURNING "id"
14:19:12.669infoyii\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', 165119, 'a:5:{s:2:"id";i:165119;s:9:"client_id";i:3334;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '114.254.1.137')
14:19:12.670infoyii\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', 3334, 'a:0:{}', '', 1000, '114.254.1.137')
14:19:12.671infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:19:12.671infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 3334, 10, 8267, 18, 1000, '[8267]', '[8267]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250526003"]}') RETURNING "id"
14:19:12.672infoyii\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', 510091, 'a:13:{s:2:"id";i:510091;s:9:"object_id";s:4:"3334";s:11:"object_type";i:10;s:9:"target_id";i:8267;s:18:"target_object_type";i:18;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[8267]";s:9:"new_value";s:6:"[8267]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250526003"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137')
14:19:12.673infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3786'
14:19:12.674infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3786
14:19:12.675infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3786) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:19:12.677traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.677traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.677infoyii\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', 3786, 'a:0:{}', '', 1000, '114.254.1.137')
14:19:12.678infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334
14:19:12.678infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:19:12.679infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 3786, 1, 8267, 18, 1000, '[8267]', '[8267]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250526003"]}') RETURNING "id"
14:19:12.680infoyii\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', 510092, 'a:13:{s:2:"id";i:510092;s:9:"object_id";s:4:"3786";s:11:"object_type";i:1;s:9:"target_id";i:8267;s:18:"target_object_type";i:18;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[8267]";s:9:"new_value";s:6:"[8267]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250526003"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137')
14:19:12.681infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334
14:19:12.681infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:19:12.681infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (2, 'update', 3786, 1, 8267, 18, 1000, '8267', '8267', array[1001], '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250526003"]}') RETURNING "id"
14:19:12.682infoyii\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', 136977, 'a:15:{s:2:"id";i:136977;s:9:"object_id";s:4:"3786";s:11:"object_type";i:1;s:9:"target_id";i:8267;s:18:"target_object_type";i:18;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"8267";s:9:"new_value";s:4:"8267";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":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250526003"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.254.1.137')
14:19:12.683infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3334'
14:19:12.684infoyii\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"=3334)
14:19:12.685infoyii\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"=3334)
14:19:12.687infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3334) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:19:12.695infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3334, 1001, 'now()', NULL) RETURNING "id"
14:19:12.696infoyii\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', 165120, 'a:5:{s:2:"id";i:165120;s:9:"client_id";i:3334;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '114.254.1.137')
14:19:12.697infoyii\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', 3334, 'a:0:{}', '', 1000, '114.254.1.137')
14:19:12.698traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
14:19:12.699traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
14:19:12.699traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
14:19:12.699traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:19:12.699traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:19:12.699infoyii\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, 0, 261, 'v2/case/save-edit', '{"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","Cases":{"start_at":"2025-05-26 17:17","id":"8267","last_engineer":"1017","contact_id":"6002","client_id":"3334","description":"","case_type":"1","task_group_id":"","caseServices":{"275":"1"},"spent_time":"1 hour","project_id":"3786"},"device_type":"0","version_code":"261","token":"f86c17d3e2e5e422ceaadbb709099439","posttime":"1751609953"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"Case\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-07-04 14:19:12') RETURNING "id"