12:05:01.945 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
12:05:01.945 | trace | yii\base\Module::getModule | Loading module: debug |
12:05:01.946 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
12:05:01.946 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
12:05:01.946 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
12:05:01.946 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.947 | trace | yii\base\Module::getModule | Loading module: gii |
12:05:01.947 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
12:05:01.947 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
12:05:01.947 | trace | yii\web\Application::handleRequest | Route requested: 'v2/case/save-edit' |
12:05:01.947 | trace | yii\base\Module::getModule | Loading module: v2 |
12:05:01.948 | info | yii\web\Session::open | Session started |
12:05:01.949 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
12:05:01.952 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
12:05:01.956 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.956 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.956 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.957 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.957 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
12:05:01.959 | trace | yii\base\Controller::runAction | Route to run: v2/case/save-edit |
12:05:01.959 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.960 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
12:05:01.960 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\CaseController::actionSaveEdit() |
12:05:01.960 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8264' |
12:05:01.961 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.961 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.962 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.962 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.964 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Cases'. |
12:05:01.964 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'caseServices' in 'app\models\Cases'. |
12:05:01.964 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'caseRemindDates' in 'app\models\Cases'. |
12:05:01.964 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attachmentFiles' in 'app\models\Cases'. |
12:05:01.964 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'form_caseCarbonCopyRels' in 'app\models\Cases'. |
12:05:01.965 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
12:05:01.966 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='5245') |
12:05:01.967 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805') |
12:05:01.968 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
12:05:01.968 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017') |
12:05:01.969 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
12:05:01.970 | info | yii\db\Command::execute | |
12:05:01.970 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
12:05:01.971 | info | yii\db\Command::execute | |
12:05:01.971 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
12:05:01.972 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.972 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.972 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_cases" SET "client_id"=2815, "contact_id"=5245, "project_id"=3805, "last_engineer"=1017, "case_type"=2, "start_at"='2025-05-15 15:13', "updated_at"='now()' WHERE "id"=8264 |
12:05:01.974 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.974 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.974 | 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', 8264, 'a:2:{s:13:"last_engineer";s:4:"1017";s:8:"start_at";s:19:"2025-05-15 15:13:00";}', '', 1000, '114.254.1.137') |
12:05:01.976 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id"=8264) |
12:05:01.977 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id"=8264) |
12:05:01.979 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=8264 |
12:05:01.979 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.979 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.979 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=8264 |
12:05:01.980 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_case_carbon_copy_rels" ("case_id", "user_id") VALUES (8264, 1017), (8264, 5250) |
12:05:01.981 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_case_remind_dates" WHERE "case_id"=8264 |
12:05:01.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.982 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_remind_dates" WHERE "id"=186 |
12:05:01.982 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_remind_receivers" WHERE "remind_date_id"=186 |
12:05:01.982 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5016, 1011) |
12:05:01.983 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8264) |
12:05:01.983 | 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\CaseRemindDates', 186, 'a:0:{}', '', 1000, '114.254.1.137') |
12:05:01.984 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_remind_dates" WHERE 0=1 |
12:05:01.984 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_case_remind_dates" WHERE 0=1 |
12:05:01.985 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.985 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.985 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_implement_records" SET "client_id"=2815 WHERE "case_id"=8264 |
12:05:01.987 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.987 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.987 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_pre_sales" SET "client_id"=2815 WHERE "case_id"=8264 |
12:05:01.988 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=8264 |
12:05:01.988 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.988 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.989 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=8264 |
12:05:01.990 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8264) |
12:05:01.990 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273) |
12:05:01.990 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_case_services" ("case_id", "service_id", "quantity") VALUES (8264, 273, 1) RETURNING "id" |
12:05:01.992 | 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', 13438, 'a:4:{s:2:"id";i:13438;s:7:"case_id";i:8264;s:10:"service_id";i:273;s:8:"quantity";s:1:"1";}', '', 1000, '114.254.1.137') |
12:05:01.992 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_assignments" WHERE ("case_id"=8264) AND ("engineer_id"=5085) |
12:05:01.993 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.993 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.994 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5085 |
12:05:01.994 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017' |
12:05:01.994 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
12:05:01.995 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.995 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.995 | info | yii\db\Command::execute | INSERT 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', 8264, 18, 1000, 'now()', '["\u8f66\u660e\u98de"]', '["\u970d\u4e1c\u9633"]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u7a0b\u5e08","d4":["\u970d\u4e1c\u9633 <b>\u53d8\u4e3a<\/b> \u8f66\u660e\u98de"]}') |
12:05:01.996 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
12:05:01.996 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:01.997 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:01.997 | info | yii\db\Command::execute | INSERT 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', 8264, 18, 1000, 'now()', '["\u8f66\u660e\u98de"]', '["\u970d\u4e1c\u9633"]', array[1004,1017,5085], '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u7a0b\u5e08","d4":["\u970d\u4e1c\u9633 <b>\u53d8\u4e3a<\/b> \u8f66\u660e\u98de"]}') |
12:05:01.998 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_implement_records" WHERE ("case_id"=8264) AND ("is_draft"=TRUE) |
12:05:01.999 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_pre_sales" WHERE ("case_id"=8264) AND ("is_draft"=TRUE) |
12:05:01.999 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id"=8264 |
12:05:02.000 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_case_assignments" SET "assignment_status"=4, "updated_at"='now()' WHERE "id"=8309 |
12:05:02.001 | 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\CaseAssignments', 8309, 'a:1:{s:17:"assignment_status";i:4;}', '', 1000, '114.254.1.137') |
12:05:02.002 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_assignments" WHERE ("case_id"=8264) AND ("engineer_id"='1017') |
12:05:02.002 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8264) |
12:05:02.003 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017') |
12:05:02.003 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
12:05:02.003 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_case_assignments" ("case_id", "assignment_status", "points", "assigned_by", "engineer_id", "assigned_at") VALUES (8264, 1, 0, 1000, 1017, 'now()') RETURNING "id" |
12:05:02.006 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\CaseAssignments', 8312, 'a:9:{s:2:"id";i:8312;s:7:"case_id";i:8264;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') |
12:05:02.007 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
12:05:02.007 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017' |
12:05:02.008 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8264 |
12:05:02.008 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=8264 |
12:05:02.008 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:02.008 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:02.008 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8264 |
12:05:02.009 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
12:05:02.009 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '18', 8264, '曹永生分配了一个Case给车明飞', TRUE, '见见你呢') RETURNING "id" |
12:05:02.011 | 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', 170252, 'a:11:{s:2:"id";i:170252;s:9:"object_id";i:8264;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:12:"见见你呢";}', '', 1000, '114.254.1.137') |
12:05:02.012 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:02.012 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:02.012 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (8264, '18', 170252, '1017'), (8264, '18', 170252, 1004), (8264, '18', 170252, 5250) |
12:05:02.013 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id" IN ('1017', 1004, 5250)) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
12:05:02.015 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8264 |
12:05:02.015 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
12:05:02.016 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
12:05:02.017 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
12:05:02.017 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
12:05:02.017 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805' |
12:05:02.017 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:02.017 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:02.018 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
12:05:02.018 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
12:05:02.018 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
12:05:02.018 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=8264 |
12:05:02.019 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273 |
12:05:02.019 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:02.019 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:02.019 | 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', 8264, 'a:1:{s:8:"start_at";s:19:"2025-05-15 15:13:00";}', '', 1000, '114.254.1.137') |
12:05:02.020 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_calendars" WHERE "case_id"=8264 |
12:05:02.023 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:02.023 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:02.023 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_calendars" WHERE "id"=276904 |
12:05:02.024 | 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 ('DELETE', 'app\models\Calendars', 276904, '', '', 1000, '114.254.1.137') |
12:05:02.025 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
12:05:02.025 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017') |
12:05:02.025 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8264) |
12:05:02.026 | info | yii\db\Command::query | INSERT 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-15 16:13:00', TRUE, '2025-05-15 15:13:00', 1, 1017, 2815, '00:15:00', 8264, FALSE, FALSE) RETURNING "id" |
12:05:02.027 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Calendars', 276905, 'a:17:{s:2:"id";i:276905;s:9:"client_id";s:4:"2815";s:5:"title";s:38:"技术方案-一级文档:见见你呢";s:11:"description";N;s:8:"start_at";s:19:"2025-05-15 15:13:00";s:6:"end_at";s:19:"2025-05-15 16:13: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:15:00";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:8264;s:11:"schedule_id";N;s:10:"project_id";N;}', '', 1000, '114.254.1.137') |
12:05:02.028 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
12:05:02.029 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
12:05:02.031 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
12:05:02.040 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:02.040 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:02.040 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
12:05:02.041 | 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', 165102, 'a:5:{s:2:"id";i:165102;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, '114.254.1.137') |
12:05:02.042 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 2815, 'a:0:{}', '', 1000, '114.254.1.137') |
12:05:02.043 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
12:05:02.043 | 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 (2, 'update', 2815, 10, 8264, 18, 1000, '[8264]', '[8264]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250515001"]}') RETURNING "id" |
12:05:02.044 | 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', 510037, 'a:13:{s:2:"id";i:510037;s:9:"object_id";s:4:"2815";s:11:"object_type";i:10;s:9:"target_id";i:8264;s:18:"target_object_type";i:18;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[8264]";s:9:"new_value";s:6:"[8264]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250515001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137') |
12:05:02.045 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805' |
12:05:02.046 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3805 |
12:05:02.048 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3805) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
12:05:02.054 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:02.054 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:02.055 | 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', 3805, 'a:0:{}', '', 1000, '114.254.1.137') |
12:05:02.056 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
12:05:02.056 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
12:05:02.057 | 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 (2, 'update', 3805, 1, 8264, 18, 1000, '[8264]', '[8264]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250515001"]}') RETURNING "id" |
12:05:02.057 | 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', 510038, 'a:13:{s:2:"id";i:510038;s:9:"object_id";s:4:"3805";s:11:"object_type";i:1;s:9:"target_id";i:8264;s:18:"target_object_type";i:18;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[8264]";s:9:"new_value";s:6:"[8264]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250515001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137') |
12:05:02.058 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
12:05:02.059 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
12:05:02.059 | 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 (2, 'update', 3805, 1, 8264, 18, 1000, '8264', '8264', array[1004], '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250515001"]}') RETURNING "id" |
12:05:02.060 | 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', 136951, 'a:15:{s:2:"id";i:136951;s:9:"object_id";s:4:"3805";s:11:"object_type";i:1;s:9:"target_id";i:8264;s:18:"target_object_type";i:18;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"8264";s:9:"new_value";s:4:"8264";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":"\u66f4\u65b0\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250515001"]}";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') |
12:05:02.061 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
12:05:02.062 | 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"=2815) |
12:05:02.063 | 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"=2815) |
12:05:02.064 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
12:05:02.072 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
12:05:02.073 | 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', 165103, 'a:5:{s:2:"id";i:165103;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, '114.254.1.137') |
12:05:02.074 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 2815, 'a:0:{}', '', 1000, '114.254.1.137') |
12:05:02.075 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
12:05:02.075 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
12:05:02.075 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
12:05:02.075 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
12:05:02.075 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
12:05:02.076 | 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, 6, 166, 'v2/case/save-edit', '{"Cases":{"id":"8264","client_id":"2815","project_id":"3805","contact_id":"5245","case_type":"2","start_at":"2025-05-15 15:13","spent_time":"1 hour","alarm_before":"00:15:00","last_engineer":"1017","description":"\u89c1\u89c1\u4f60\u5462","caseServices":{"273":"1"},"caseRemindDates":{"186":{"alarm_before":"8","users":["1011","5016"]}},"attachmentFiles":"","form_caseCarbonCopyRels":["1017","5250"]},"posttime":"1751601902","access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"6","version_code":"166","token":"e8012b436c00f8f374939671b838cd9a"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"Case\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-07-04 12:05:02') RETURNING "id" |