11:03:12.731 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
11:03:12.731 | trace | yii\base\Module::getModule | Loading module: debug |
11:03:12.731 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
11:03:12.731 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
11:03:12.731 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
11:03:12.731 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.732 | trace | yii\base\Module::getModule | Loading module: gii |
11:03:12.732 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
11:03:12.732 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
11:03:12.732 | trace | yii\web\Application::handleRequest | Route requested: 'v2/case/save-new' |
11:03:12.732 | trace | yii\base\Module::getModule | Loading module: v2 |
11:03:12.732 | info | yii\web\Session::open | Session started |
11:03:12.733 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
11:03:12.735 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
11:03:12.737 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.738 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.738 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.738 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.738 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:03:12.739 | trace | yii\base\Controller::runAction | Route to run: v2/case/save-new |
11:03:12.740 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.740 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
11:03:12.740 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\CaseController::actionSaveNew() |
11:03:12.740 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.741 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.741 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'caseRemindDates' in 'app\models\Cases'. |
11:03:12.741 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'caseServices' in 'app\models\Cases'. |
11:03:12.742 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337') |
11:03:12.743 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='6010') |
11:03:12.743 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3815') |
11:03:12.744 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:03:12.744 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE ("created_at" >= '2025-07-04 00:00:00') AND ("created_at" < '2025-07-05 00:00:00') ORDER BY "id" DESC |
11:03:12.746 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_cases" ("case_type", "alarm_before", "client_id", "contact_id", "description", "project_id", "spent_time", "start_at", "task_group_id", "need_push", "created_by", "created_at", "case_no") VALUES (1, '00:05:00', 3337, 6010, '俊俊', 3815, '1 hour', '2025-07-04 10:00', NULL, FALSE, 1000, '2025-07-04 11:03:12', 'PS250704001') RETURNING "id" |
11:03:12.749 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.750 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.750 | 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', 8268, 'a:24:{s:2:"id";i:8268;s:9:"client_id";s:4:"3337";s:10:"contact_id";s:4:"6010";s:10:"project_id";s:4:"3815";s:13:"last_engineer";N;s:9:"case_type";s:1:"1";s:11:"case_status";N;s:8:"start_at";s:19:"2025-07-04 10: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-04 11:03:12";s:10:"updated_at";N;s:7:"case_no";s:11:"PS250704001";s:11:"description";s:6:"俊俊";s:10:"spent_time";s:6:"1 hour";s:12:"alarm_before";s:8:"00:05: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:0:"";}', '', 1000, '223.104.41.148') |
11:03:12.751 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id"=8268) |
11:03:12.753 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.753 | 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; |
11:03:12.758 | 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 |
11:03:12.767 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.767 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
11:03:12.768 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8268) |
11:03:12.768 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273) |
11:03:12.768 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_case_services" ("case_id", "service_id", "quantity") VALUES (8268, 273, 1) RETURNING "id" |
11:03:12.773 | 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', 13430, 'a:4:{s:2:"id";i:13430;s:7:"case_id";i:8268;s:10:"service_id";i:273;s:8:"quantity";s:1:"1";}', '', 1000, '223.104.41.148') |
11:03:12.774 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:03:12.775 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.775 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.775 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=8268 |
11:03:12.777 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273 |
11:03:12.777 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.777 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.778 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_cases" SET "deduct_points_from"=5332, "points"=150, "case_status"=1 WHERE "id"=8268 |
11:03:12.779 | 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', 8268, 'a:3:{s:8:"start_at";s:19:"2025-07-04 10:00:00";s:6:"points";i:150;s:18:"deduct_points_from";i:5332;}', '', 1000, '223.104.41.148') |
11:03:12.779 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8268 |
11:03:12.780 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:03:12.781 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=8268 |
11:03:12.782 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:03:12.783 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.783 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.783 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8268 |
11:03:12.784 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:03:12.784 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '18', 8268, '曹永生创建了1个CASE', TRUE, '俊俊') RETURNING "id" |
11:03:12.785 | 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', 170244, 'a:11:{s:2:"id";i:170244;s:9:"object_id";i:8268;s:11:"object_type";s:2:"18";s:6:"parent";N;s:11:"description";s:26:"曹永生创建了1个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:6:"俊俊";}', '', 1000, '223.104.41.148') |
11:03:12.786 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.786 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.786 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (8268, '18', 170244, 5332) |
11:03:12.787 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=5332) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
11:03:12.788 | info | yii\db\Command::query | SELECT "parent" FROM "a57be577deb434"."tbl_auth_item_child" WHERE ("child"='distributeCase') AND (parent != 'Admin') GROUP BY "parent" |
11:03:12.793 | info | yii\db\Command::query | SELECT "user_id" FROM "a57be577deb434"."tbl_auth_assignments" WHERE "item_name" IN ('Dispatcher', 'SalesDirector') GROUP BY "user_id" |
11:03:12.793 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8268 |
11:03:12.794 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:03:12.794 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '18', 8268, '您有1个Case待分配', TRUE, '俊俊') RETURNING "id" |
11:03:12.795 | 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', 170245, 'a:11:{s:2:"id";i:170245;s:9:"object_id";i:8268;s:11:"object_type";s:2:"18";s:6:"parent";N;s:11:"description";s:23:"您有1个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:6:"俊俊";}', '', 1000, '223.104.41.148') |
11:03:12.796 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (8268, '18', 170245, 5297), (8268, '18', 170245, 1003), (8268, '18', 170245, 5311), (8268, '18', 170245, 1013), (8268, '18', 170245, 5015), (8268, '18', 170245, 5413), (8268, '18', 170245, 5305), (8268, '18', 170245, 1011), (8268, '18', 170245, 1006), (8268, '18', 170245, 5445), (8268, '18', 170245, 5094), (8268, '18', 170245, 1005), (8268, '18', 170245, 5023), (8268, '18', 170245, 5063), (8268, '18', 170245, 1004), (8268, '18', 170245, 5062), (8268, '18', 170245, 5411) |
11:03:12.800 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id" IN (5297, 1003, 5311, 1013, 5015, 5413, 5305, 1011, 1006, 5445, 5094, 1005, 5023, 5063, 1004, 5062, 5411)) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
11:03:12.800 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8268 |
11:03:12.800 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:03:12.801 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:03:12.801 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:03:12.801 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:03:12.801 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3815 |
11:03:12.802 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.802 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.802 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:03:12.802 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:03:12.802 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:03:12.802 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:03:12.803 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.803 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.803 | 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', 8268, 18, 1000, '2025-07-04 11:03:12', '{"id":8268,"client_id":3337,"contact_id":6010,"project_id":3815,"last_engineer":null,"case_type":1,"case_status":1,"start_at":"2025-07-04 10:00:00","closed_at":null,"points":150,"deduct_points_from":5332,"created_by":1000,"created_at":"2025-07-04 11:03:12","updated_at":"2025-07-04 11:03:12","case_no":"PS250704001","description":"\u4fca\u4fca","spent_time":"1 hour","alarm_before":"00:05:00","suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":null}', '{"id":8268,"client_id":3337,"contact_id":6010,"project_id":3815,"last_engineer":null,"case_type":1,"case_status":1,"start_at":"2025-07-04 10:00:00","closed_at":null,"points":150,"deduct_points_from":5332,"created_by":1000,"created_at":"2025-07-04 11:03:12","updated_at":"2025-07-04 11:03:12","case_no":"PS250704001","description":"\u4fca\u4fca","spent_time":"1 hour","alarm_before":"00:05:00","suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":null}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}') RETURNING "id" |
11:03:12.804 | 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', 509963, 'a:13:{s:2:"id";i:509963;s:9:"object_id";i:8268;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:519:"{"id":8268,"client_id":3337,"contact_id":6010,"project_id":3815,"last_engineer":null,"case_type":1,"case_status":1,"start_at":"2025-07-04 10:00:00","closed_at":null,"points":150,"deduct_points_from":5332,"created_by":1000,"created_at":"2025-07-04 11:03:12","updated_at":"2025-07-04 11:03:12","case_no":"PS250704001","description":"\u4fca\u4fca","spent_time":"1 hour","alarm_before":"00:05:00","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:519:"{"id":8268,"client_id":3337,"contact_id":6010,"project_id":3815,"last_engineer":null,"case_type":1,"case_status":1,"start_at":"2025-07-04 10:00:00","closed_at":null,"points":150,"deduct_points_from":5332,"created_by":1000,"created_at":"2025-07-04 11:03:12","updated_at":"2025-07-04 11:03:12","case_no":"PS250704001","description":"\u4fca\u4fca","spent_time":"1 hour","alarm_before":"00:05:00","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":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 11:03:12";s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
11:03:12.805 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:03:12.806 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.806 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.806 | 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', 8268, 18, 1000, '2025-07-04 11:03:12', '{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}', array[5332], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}') RETURNING "id" |
11:03:12.807 | 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', 136933, 'a:15:{s:2:"id";i:136933;s:9:"object_id";i:8268;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:11:"array[5332]";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-04 11:03:12";s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.41.148') |
11:03:12.808 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:03:12.809 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3337 |
11:03:12.810 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3337) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:03:12.819 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.819 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.819 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3337, 5332, 'now()', NULL) RETURNING "id" |
11:03:12.821 | 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', 165081, 'a:5:{s:2:"id";i:165081;s:9:"client_id";i:3337;s:9:"sales_rep";i:5332;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148') |
11:03:12.821 | 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', 3337, 'a:0:{}', '', 1000, '223.104.41.148') |
11:03:12.822 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:03:12.823 | 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', 3337, 10, 8268, 18, 1000, '[8268]', '[8268]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704001"]}') RETURNING "id" |
11:03:12.824 | 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', 509964, 'a:13:{s:2:"id";i:509964;s:9:"object_id";i:3337;s:11:"object_type";i:10;s:9:"target_id";i:8268;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[8268]";s:9:"new_value";s:6:"[8268]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
11:03:12.824 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3815 |
11:03:12.825 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3815 |
11:03:12.826 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3815) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:03:12.828 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.828 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.828 | 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', 3815, 'a:0:{}', '', 1000, '223.104.41.148') |
11:03:12.829 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:03:12.829 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:03:12.830 | 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', 3815, 1, 8268, 18, 1000, '[8268]', '[8268]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704001"]}') RETURNING "id" |
11:03:12.831 | 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', 509965, 'a:13:{s:2:"id";i:509965;s:9:"object_id";i:3815;s:11:"object_type";i:1;s:9:"target_id";i:8268;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[8268]";s:9:"new_value";s:6:"[8268]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
11:03:12.832 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:03:12.832 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:03:12.832 | 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', 3815, 1, 8268, 18, 1000, '8268', '8268', array[5332], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704001"]}') RETURNING "id" |
11:03:12.833 | 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', 136934, 'a:15:{s:2:"id";i:136934;s:9:"object_id";i:3815;s:11:"object_type";i:1;s:9:"target_id";i:8268;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"8268";s:9:"new_value";s:4:"8268";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[5332]";s:6:"params";a:0:{}}s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.41.148') |
11:03:12.834 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:03:12.835 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.835 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.836 | info | yii\db\Command::query | SELECT 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"=3337) |
11:03:12.837 | info | yii\db\Command::query | SELECT 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"=3337) |
11:03:12.839 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3337) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:03:12.847 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3337, 5332, 'now()', NULL) RETURNING "id" |
11:03:12.848 | 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', 165082, 'a:5:{s:2:"id";i:165082;s:9:"client_id";i:3337;s:9:"sales_rep";i:5332;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148') |
11:03:12.849 | 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', 3337, 'a:0:{}', '', 1000, '223.104.41.148') |
11:03:12.850 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:03:12.850 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:03:12.850 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:03:12.850 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:03:12.850 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:03:12.851 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1141, 'v2/case/save-new', '{"CaseAssignments":{"engineer_id":"1017"},"Cases":{"alarm_before":"00:05:00","caseRemindDates":"","caseServices":{"273":"1"},"case_type":"1","client_id":"3337","contact_id":"6010","description":"\u4fca\u4fca","project_id":"3815","spent_time":"1 hour","start_at":"2025-07-04 10:00","task_group_id":""},"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","posttime":"1751598208","token":"0fc8b132dc49293d04a657106f54970f","version_code":"1141"}', '{"code":200,"data":{"id":8268},"status":1,"msg":[{"name":"success","success":"\u65b0Case\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-04 11:03:12') RETURNING "id" |