17:08:48.373 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:08:48.373 | trace | yii\base\Module::getModule | Loading module: debug |
17:08:48.374 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:08:48.374 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:08:48.374 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:08:48.374 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.374 | trace | yii\base\Module::getModule | Loading module: gii |
17:08:48.374 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:08:48.374 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:08:48.374 | trace | yii\web\Application::handleRequest | Route requested: 'v2/schedule/delete' |
17:08:48.374 | trace | yii\base\Module::getModule | Loading module: v2 |
17:08:48.375 | info | yii\web\Session::open | Session started |
17:08:48.375 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:08:48.377 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om' |
17:08:48.380 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.380 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.380 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.381 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.381 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
17:08:48.382 | trace | yii\base\Controller::runAction | Route to run: v2/schedule/delete |
17:08:48.383 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.384 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:08:48.384 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ScheduleController::actionDelete() |
17:08:48.384 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"='17941' |
17:08:48.384 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.384 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.385 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteSchedule |
17:08:48.385 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:08:48.385 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:08:48.385 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:08:48.385 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=17941) AND ("object_type"=9) |
17:08:48.485 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=17941) AND ("object_type"=9) |
17:08:48.497 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_visit_object_histories" WHERE ("object_id"=17941) AND ("object_type"=9) |
17:08:48.503 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=9) AND ("object_id"=17941) |
17:08:48.505 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.506 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.506 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661 |
17:08:48.508 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=1661 |
17:08:48.510 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=1661) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:08:48.519 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.519 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.519 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (1661, 1001, 'now()', NULL) RETURNING "id" |
17:08:48.521 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.521 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.521 | 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', 180849, 'a:5:{s:2:"id";i:180849;s:9:"client_id";i:1661;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '114.246.237.213') |
17:08:48.522 | 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', 1661, 'a:0:{}', '', 1000, '114.246.237.213') |
17:08:48.523 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
17:08:48.523 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.523 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.524 | 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 (3, 'delete', 1661, 10, 17941, 9, 1000, '[17941]', '[17941]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:08:48.525 | 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', 565249, 'a:13:{s:2:"id";i:565249;s:9:"object_id";i:1661;s:11:"object_type";i:10;s:9:"target_id";i:17941;s:18:"target_object_type";i:9;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:7:"[17941]";s:9:"new_value";s:7:"[17941]";s:11:"description";s:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.246.237.213') |
17:08:48.526 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661 |
17:08:48.526 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
17:08:48.527 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.527 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.527 | 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 (3, 'delete', 1661, 10, 17941, 9, 1000, '17941', '17941', array[1001], '{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:08:48.528 | 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', 152344, 'a:15:{s:2:"id";i:152344;s:9:"object_id";i:1661;s:11:"object_type";i:10;s:9:"target_id";i:17941;s:18:"target_object_type";i:9;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:5:"17941";s:9:"new_value";s:5:"17941";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:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.246.237.213') |
17:08:48.529 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.529 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.529 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=1791 |
17:08:48.531 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=1791 |
17:08:48.532 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=1791) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:08:48.534 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.534 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.534 | 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', 1791, 'a:1:{s:6:"end_at";s:19:"2021-04-19 22:25:38";}', '', 1000, '114.246.237.213') |
17:08:48.535 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661 |
17:08:48.535 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
17:08:48.536 | 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 (3, 'delete', 1791, 1, 17941, 9, 1000, '[17941]', '[17941]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:08:48.537 | 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', 565250, 'a:13:{s:2:"id";i:565250;s:9:"object_id";i:1791;s:11:"object_type";i:1;s:9:"target_id";i:17941;s:18:"target_object_type";i:9;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:7:"[17941]";s:9:"new_value";s:7:"[17941]";s:11:"description";s:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.246.237.213') |
17:08:48.537 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=1791 |
17:08:48.538 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661 |
17:08:48.538 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
17:08:48.539 | 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 (3, 'delete', 1791, 1, 17941, 9, 1000, '17941', '17941', array[1001], '{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:08:48.540 | 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', 152345, 'a:15:{s:2:"id";i:152345;s:9:"object_id";i:1791;s:11:"object_type";i:1;s:9:"target_id";i:17941;s:18:"target_object_type";i:9;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:5:"17941";s:9:"new_value";s:5:"17941";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:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.246.237.213') |
17:08:48.541 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_object_change_logs" SET "is_delete"=TRUE WHERE (("object_id"=17941) AND ("object_type"=9)) OR (("target_id"=17941) AND ("target_object_type"=9)) |
17:08:48.843 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_user_action_logs" SET "is_delete"=TRUE WHERE (("object_id"=17941) AND ("object_type"=9)) OR (("target_id"=17941) AND ("target_object_type"=9)) |
17:08:48.893 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=17941) AND ("object_type"=9) |
17:08:48.909 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=17941) AND ("object_type"=9) |
17:08:48.920 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_schedules" WHERE "id"=17941 |
17:08:48.928 | 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\Schedules', 17941, '', '', 1000, '114.246.237.213') |
17:08:48.929 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:08:48.929 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:08:48.929 | 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, 170, 'v2/schedule/delete', '{"id":"17941","posttime":"1757668129","access_token":"gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om","device_type":"6","version_code":"170","token":"a2d578bb05cbfe16faea909ddf0861c9"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u5f85\u529e\u4e8b\u9879\u5df2\u88ab\u6210\u529f\u5220\u9664","error":""}]}', FALSE, '2025-09-12 17:08:48') RETURNING "id" |