15:11:00.385 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
15:11:00.385 | trace | yii\base\Module::getModule | Loading module: debug |
15:11:00.386 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
15:11:00.386 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
15:11:00.386 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
15:11:00.386 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.386 | trace | yii\base\Module::getModule | Loading module: gii |
15:11:00.386 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
15:11:00.387 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
15:11:00.387 | trace | yii\web\Application::handleRequest | Route requested: 'v2/reimbursement/delete' |
15:11:00.387 | trace | yii\base\Module::getModule | Loading module: v2 |
15:11:00.387 | info | yii\web\Session::open | Session started |
15:11:00.387 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
15:11:00.389 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u' |
15:11:00.392 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.392 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:11:00.392 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.393 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:11:00.393 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
15:11:00.394 | trace | yii\base\Controller::runAction | Route to run: v2/reimbursement/delete |
15:11:00.394 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.395 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
15:11:00.395 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ReimbursementController::actionDelete() |
15:11:00.395 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='7439' |
15:11:00.396 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.396 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:11:00.396 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.397 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.397 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.397 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:11:00.397 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
15:11:00.399 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
15:11:00.401 | 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 |
15:11:00.410 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.410 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:11:00.410 | 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" |
15:11:00.412 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.412 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:11:00.412 | 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', 164993, 'a:5:{s:2:"id";i:164993;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148') |
15:11:00.413 | 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, '223.104.41.148') |
15:11:00.414 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7439 |
15:11:00.414 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (185, 369)) |
15:11:00.415 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.415 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:11:00.415 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
15:11:00.416 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:00.416 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:11:00.416 | 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', 2815, 10, 7439, 20, 1000, '[7439]', '[7439]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}') RETURNING "id" |
15:11:00.417 | 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', 509564, 'a:13:{s:2:"id";i:509564;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:7439;s:18:"target_object_type";i:20;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:6:"[7439]";s:9:"new_value";s:6:"[7439]";s:11:"description";s:113:"{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
15:11:00.418 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=7439) AND ("object_type"=20) |
15:11:00.431 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=7439) AND ("object_type"=20) |
15:11:00.448 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_visit_object_histories" WHERE ("object_id"=7439) AND ("object_type"=20) |
15:11:00.452 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_object_change_logs" SET "is_delete"=TRUE WHERE (("object_id"=7439) AND ("object_type"=20)) OR (("target_id"=7439) AND ("target_object_type"=20)) |
15:11:01.161 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7439) AND ("term_id"=15) |
15:11:01.161 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7439) AND ("term_id"=18) |
15:11:01.162 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7439) |
15:11:01.164 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=7439) |
15:11:01.166 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=7439) AND ("object_type"=20) |
15:11:01.177 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=7439) AND ("object_type"=20) |
15:11:01.193 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=7439 |
15:11:01.196 | 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\Reimbursements', 7439, '', '', 1000, '223.104.41.148') |
15:11:01.197 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
15:11:01.197 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
15:11:01.198 | 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/reimbursement/delete', '{"access_token":"rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u","device_type":"2","id":"7439","posttime":"1750835456","token":"a18a7d3d954175533a19f83792cc014a","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u62a5\u9500\u5df2\u88ab\u6210\u529f\u5220\u9664","error":""}]}', FALSE, '2025-06-25 15:11:01') RETURNING "id" |