17:06:09.266 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:06:09.266 | trace | yii\base\Module::getModule | Loading module: debug |
17:06:09.266 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:06:09.267 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:06:09.267 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:06:09.267 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.267 | trace | yii\base\Module::getModule | Loading module: gii |
17:06:09.267 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:06:09.267 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:06:09.267 | trace | yii\web\Application::handleRequest | Route requested: 'v2/reimbursement/save-edit' |
17:06:09.267 | trace | yii\base\Module::getModule | Loading module: v2 |
17:06:09.268 | info | yii\web\Session::open | Session started |
17:06:09.268 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:06:09.270 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='hLtdglndkreOmfJjmOe7Mve0kQO2lAQu' |
17:06:09.273 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.273 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:06:09.273 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.273 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:06:09.274 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
17:06:09.275 | trace | yii\base\Controller::runAction | Route to run: v2/reimbursement/save-edit |
17:06:09.275 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.276 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:06:09.276 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ReimbursementController::actionSaveEdit() |
17:06:09.276 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='8188' |
17:06:09.277 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.277 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:06:09.277 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=8188) ORDER BY "id" |
17:06:09.279 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.280 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.281 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attachmentFiles' in 'app\models\Reimbursements'. |
17:06:09.281 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Reimbursements'. |
17:06:09.281 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
17:06:09.282 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='1661') |
17:06:09.284 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
17:06:09.285 | info | yii\db\Command::execute | |
17:06:09.285 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
17:06:09.285 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='1661') |
17:06:09.286 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_reimbursements" SET "occurrence_at"='2025-09-18 10:15', "client_id"=1661, "project_id"=NULL, "work_log_id"=NULL, "pre_sales_id"=NULL, "implement_record_id"=NULL WHERE "id"=8188 |
17:06:09.289 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.289 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:06:09.289 | 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\Reimbursements', 8188, 'a:1:{s:13:"occurrence_at";s:19:"2025-09-18 10:15:00";}', '', 1000, '39.107.117.60') |
17:06:09.298 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=8188) |
17:06:09.301 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.301 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:06:09.301 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=8188) |
17:06:09.303 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (19, 8188, 28187) |
17:06:09.307 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=8188 |
17:06:09.308 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (385, 388)) |
17:06:09.308 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.308 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:06:09.309 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=8188) AND ("term_id"=15) |
17:06:09.309 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.310 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:06:09.310 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='385') |
17:06:09.310 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=15) |
17:06:09.312 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (15, 385, 8188) RETURNING "id" |
17:06:09.316 | 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\TermTaxonomyRelationships', 129466, 'a:9:{s:2:"id";i:129466;s:9:"object_id";i:8188;s:11:"taxonomy_id";s:3:"385";s:7:"term_id";i:15;s:5:"value";N;s:11:"object_type";N;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1000, '39.107.117.60') |
17:06:09.316 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=8188) |
17:06:09.317 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=8188) AND ("object_type"=7) |
17:06:09.318 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='388') |
17:06:09.318 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=18) |
17:06:09.318 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "object_id") VALUES (18, 7, 388, 8188) RETURNING "id" |
17:06:09.319 | 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\TermTaxonomyRelationships', 129467, 'a:9:{s:2:"id";i:129467;s:9:"object_id";i:8188;s:11:"taxonomy_id";s:3:"388";s:7:"term_id";i:18;s:5:"value";N;s:11:"object_type";i:7;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1000, '39.107.117.60') |
17:06:09.320 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=8188 ORDER BY "id" |
17:06:09.321 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.321 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:06:09.321 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=8188 |
17:06:09.323 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_verify_rels" ("reimbursement_id", "user_id", "status") VALUES (8188, 1000, 0) |
17:06:09.328 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=8188 |
17:06:09.328 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=8188 |
17:06:09.328 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=8188 |
17:06:09.329 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.329 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:06:09.329 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=8188 |
17:06:09.330 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_settle_rels" ("reimbursement_id", "user_id") VALUES (8188, 5388) |
17:06:09.334 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
17:06:09.334 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
17:06:09.334 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
17:06:09.334 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:06:09.336 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:06:09.336 | 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, 1149, 'v2/reimbursement/save-edit', '{"Reimbursements":{"amount":"12453","attachmentFiles":["28187"],"client_id":"1661","description":"","form_costType":"388","form_reimbursementSettleRels":["5388"],"form_reimbursementVerifyRels":["1000"],"form_type":"385","id":"8188","implement_record_id":"","occurrence_at":"2025-09-18 10:15","pre_sales_id":"","project_id":"","work_log_id":""},"access_token":"hLtdglndkreOmfJjmOe7Mve0kQO2lAQu","device_type":"2","posttime":"1758186369","version_code":"1149","token":"665f534aaa17353822d2ff2f7910f033"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u62a5\u9500\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-09-18 17:06:09') RETURNING "id" |