17:31:45.397 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:31:45.397 | trace | yii\base\Module::getModule | Loading module: debug |
17:31:45.397 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:31:45.398 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:31:45.398 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:31:45.398 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.398 | trace | yii\base\Module::getModule | Loading module: gii |
17:31:45.398 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:31:45.398 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:31:45.398 | trace | yii\web\Application::handleRequest | Route requested: 'v2/reimbursement/save-edit' |
17:31:45.398 | trace | yii\base\Module::getModule | Loading module: v2 |
17:31:45.399 | info | yii\web\Session::open | Session started |
17:31:45.399 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:31:45.401 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='NwDlebRkXSJbZFNIiImHKy4sVWr3Lufc' |
17:31:45.404 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.404 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.404 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.404 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.404 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.406 | trace | yii\base\Controller::runAction | Route to run: v2/reimbursement/save-edit |
17:31:45.406 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.407 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:31:45.407 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: createReimbursement |
17:31:45.407 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
17:31:45.407 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:31:45.407 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:31:45.407 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
17:31:45.407 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:31:45.407 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ReimbursementController::actionSaveEdit() |
17:31:45.407 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='7457' |
17:31:45.407 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.408 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.408 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=7457) ORDER BY "id" |
17:31:45.409 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.410 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.410 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateReimbursement |
17:31:45.410 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
17:31:45.410 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:31:45.410 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:31:45.410 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
17:31:45.410 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:31:45.411 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attachmentFiles' in 'app\models\Reimbursements'. |
17:31:45.411 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Reimbursements'. |
17:31:45.411 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004) |
17:31:45.412 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
17:31:45.412 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822') |
17:31:45.413 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='37033') |
17:31:45.413 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.414 | info | yii\db\Command::execute | |
17:31:45.414 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004) |
17:31:45.414 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
17:31:45.415 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822') |
17:31:45.415 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='37033') |
17:31:45.415 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_reimbursements" SET "status"=1, "occurrence_at"='2025-07-13 17:30', "created_at"='now()', "client_id"=2815, "project_id"=3822, "work_log_id"=37033 WHERE "id"=7457 |
17:31:45.416 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.416 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.416 | 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', 7457, 'a:2:{s:6:"status";i:1;s:13:"occurrence_at";s:19:"2025-07-13 17:30:00";}', '', 1004, '120.244.156.33') |
17:31:45.418 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=7457 |
17:31:45.418 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.418 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.418 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.419 | 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', 7457, 20, 1004, '2025-07-13 17:31:45', '{"id":7457,"status":1,"amount":"111","occurrence_at":"2025-07-13 17:30:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1004,"created_at":"2025-07-13 17:31:45","updated_at":"2025-07-13 17:31:22","refuse_description":null,"client_id":2815,"project_id":3822,"next_verify_user":1004,"is_resubmited":false,"work_log_id":37033,"pre_sales_id":null,"implement_record_id":null}', '{"id":7457,"status":1,"amount":"111","occurrence_at":"2025-07-13 17:30:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1004,"created_at":"2025-07-13 17:31:45","updated_at":"2025-07-13 17:31:22","refuse_description":null,"client_id":2815,"project_id":3822,"next_verify_user":1004,"is_resubmited":false,"work_log_id":37033,"pre_sales_id":null,"implement_record_id":null}', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":[]}') RETURNING "id" |
17:31:45.420 | 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', 510850, 'a:13:{s:2:"id";i:510850;s:9:"object_id";i:7457;s:11:"object_type";i:20;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:406:"{"id":7457,"status":1,"amount":"111","occurrence_at":"2025-07-13 17:30:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1004,"created_at":"2025-07-13 17:31:45","updated_at":"2025-07-13 17:31:22","refuse_description":null,"client_id":2815,"project_id":3822,"next_verify_user":1004,"is_resubmited":false,"work_log_id":37033,"pre_sales_id":null,"implement_record_id":null}";s:9:"new_value";s:406:"{"id":7457,"status":1,"amount":"111","occurrence_at":"2025-07-13 17:30:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1004,"created_at":"2025-07-13 17:31:45","updated_at":"2025-07-13 17:31:22","refuse_description":null,"client_id":2815,"project_id":3822,"next_verify_user":1004,"is_resubmited":false,"work_log_id":37033,"pre_sales_id":null,"implement_record_id":null}";s:11:"description";s:93:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":[]}";s:10:"created_by";i:1004;s:10:"created_at";s:19:"2025-07-13 17:31:45";s:9:"is_delete";N;}', '', 1004, '120.244.156.33') |
17:31:45.421 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.421 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.421 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:31:45.423 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
17:31:45.424 | 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 |
17:31:45.433 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.433 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.433 | 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" |
17:31:45.435 | 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', 165366, 'a:5:{s:2:"id";i:165366;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1004, '120.244.156.33') |
17:31:45.436 | 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:{}', '', 1004, '120.244.156.33') |
17:31:45.436 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7457 |
17:31:45.437 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id"=185) |
17:31:45.437 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.438 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.438 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.438 | 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', 2815, 10, 7457, 20, 1004, '[7457]', '[7457]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}') RETURNING "id" |
17:31:45.439 | 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', 510851, 'a:13:{s:2:"id";i:510851;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:7457;s:18:"target_object_type";i:20;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[7457]";s:9:"new_value";s:6:"[7457]";s:11:"description";s:113:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1004, '120.244.156.33') |
17:31:45.440 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.440 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.440 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3822 |
17:31:45.441 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3822 |
17:31:45.442 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3822) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:31:45.444 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.444 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.444 | 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', 3822, 'a:0:{}', '', 1004, '120.244.156.33') |
17:31:45.445 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:31:45.445 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.446 | 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', 3822, 1, 7457, 20, 1004, '[7457]', '[7457]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}') RETURNING "id" |
17:31:45.447 | 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', 510852, 'a:13:{s:2:"id";i:510852;s:9:"object_id";i:3822;s:11:"object_type";i:1;s:9:"target_id";i:7457;s:18:"target_object_type";i:20;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[7457]";s:9:"new_value";s:6:"[7457]";s:11:"description";s:113:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1004, '120.244.156.33') |
17:31:45.448 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3822 |
17:31:45.448 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:31:45.448 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.449 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.449 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.449 | 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', 3822, 1, 7457, 20, 1004, '7457', '7457', array[1004], '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}') RETURNING "id" |
17:31:45.451 | 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', 137244, 'a:15:{s:2:"id";i:137244;s:9:"object_id";i:3822;s:11:"object_type";i:1;s:9:"target_id";i:7457;s:18:"target_object_type";i:20;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"7457";s:9:"new_value";s:4:"7457";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:113:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1004, '120.244.156.33') |
17:31:45.452 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.453 | 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', 37033, 19, 7457, 20, 1004, '[7457]', '[7457]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}') RETURNING "id" |
17:31:45.454 | 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', 510853, 'a:13:{s:2:"id";i:510853;s:9:"object_id";i:37033;s:11:"object_type";i:19;s:9:"target_id";i:7457;s:18:"target_object_type";i:20;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[7457]";s:9:"new_value";s:6:"[7457]";s:11:"description";s:113:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1004, '120.244.156.33') |
17:31:45.454 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7457) |
17:31:45.456 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.456 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.456 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7457) |
17:31:45.458 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (19, 7457, 24893) |
17:31:45.459 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7457 |
17:31:45.459 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id"=185) |
17:31:45.460 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7457) AND ("term_id"=15) |
17:31:45.460 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.460 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.461 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='185') |
17:31:45.461 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=15) |
17:31:45.461 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (15, 185, 7457) RETURNING "id" |
17:31:45.462 | 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', 118260, 'a:9:{s:2:"id";i:118260;s:9:"object_id";i:7457;s:11:"taxonomy_id";s:3:"185";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;}', '', 1004, '120.244.156.33') |
17:31:45.463 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=7457) |
17:31:45.463 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='369' |
17:31:45.464 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.464 | 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, 'type', 7457, 20, 1004, 'now()', '["\u9910\u996e\u8d39"]', '[""]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u7c7b\u578b","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u9910\u996e\u8d39"]}') |
17:31:45.465 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7457) AND ("object_type"=7) |
17:31:45.465 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='369') |
17:31:45.466 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=18) |
17:31:45.466 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "object_id") VALUES (18, 7, 369, 7457) RETURNING "id" |
17:31:45.467 | 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', 118261, 'a:9:{s:2:"id";i:118261;s:9:"object_id";i:7457;s:11:"taxonomy_id";s:3:"369";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;}', '', 1004, '120.244.156.33') |
17:31:45.467 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7457 ORDER BY "id" |
17:31:45.469 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.469 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.469 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7457 |
17:31:45.470 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_verify_rels" ("reimbursement_id", "user_id", "status") VALUES (7457, 1004, 0) |
17:31:45.471 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7457 |
17:31:45.472 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7457 |
17:31:45.472 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7457 |
17:31:45.472 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.473 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.473 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7457 |
17:31:45.474 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_settle_rels" ("reimbursement_id", "user_id") VALUES (7457, 1004) |
17:31:45.475 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("reimbursement_id"=7457) AND ("status"=0) ORDER BY "id" |
17:31:45.476 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_reimbursements" SET "updated_at"='now()' WHERE "id"=7457 |
17:31:45.477 | 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', 7457, 'a:1:{s:13:"occurrence_at";s:19:"2025-07-13 17:30:00";}', '', 1004, '120.244.156.33') |
17:31:45.478 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.478 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=7457) ORDER BY "id" |
17:31:45.479 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
17:31:45.480 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
17:31:45.481 | 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 |
17:31:45.489 | 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" |
17:31:45.490 | 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', 165367, 'a:5:{s:2:"id";i:165367;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1004, '120.244.156.33') |
17:31:45.491 | 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:{}', '', 1004, '120.244.156.33') |
17:31:45.492 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.493 | 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, 7457, 20, 1004, '[7457]', '[7457]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}') RETURNING "id" |
17:31:45.494 | 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', 510855, 'a:13:{s:2:"id";i:510855;s:9:"object_id";s:4:"2815";s:11:"object_type";i:10;s:9:"target_id";i:7457;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[7457]";s:9:"new_value";s:6:"[7457]";s:11:"description";s:113:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1004, '120.244.156.33') |
17:31:45.494 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822' |
17:31:45.495 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3822 |
17:31:45.496 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3822) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:31:45.498 | 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', 3822, 'a:0:{}', '', 1004, '120.244.156.33') |
17:31:45.498 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:31:45.499 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.499 | 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', 3822, 1, 7457, 20, 1004, '[7457]', '[7457]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}') RETURNING "id" |
17:31:45.500 | 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', 510856, 'a:13:{s:2:"id";i:510856;s:9:"object_id";s:4:"3822";s:11:"object_type";i:1;s:9:"target_id";i:7457;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[7457]";s:9:"new_value";s:6:"[7457]";s:11:"description";s:113:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1004, '120.244.156.33') |
17:31:45.501 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822' |
17:31:45.501 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:31:45.502 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.502 | 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', 3822, 1, 7457, 20, 1004, '7457', '7457', array[1004], '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}') RETURNING "id" |
17:31:45.503 | 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', 137245, 'a:15:{s:2:"id";i:137245;s:9:"object_id";s:4:"3822";s:11:"object_type";i:1;s:9:"target_id";i:7457;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"7457";s:9:"new_value";s:4:"7457";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:113:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1004, '120.244.156.33') |
17:31:45.504 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:31:45.505 | 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', 37033, 19, 7457, 20, 1004, '[7457]', '[7457]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}') RETURNING "id" |
17:31:45.505 | 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', 510857, 'a:13:{s:2:"id";i:510857;s:9:"object_id";s:5:"37033";s:11:"object_type";i:19;s:9:"target_id";i:7457;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[7457]";s:9:"new_value";s:6:"[7457]";s:11:"description";s:113:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u62db\u5f85\u8d39"]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1004, '120.244.156.33') |
17:31:45.506 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:31:45.506 | 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_api_log'
and d.nspname = 'global'
ORDER BY
a.attnum; |
17:31:45.511 | 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_api_log'
and ns.nspname='global'
order by
fns.nspname, fc.relname, a.attnum |
17:31:45.519 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:31:45.519 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
17:31:45.520 | 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', 1004, 2, 1141, 'v2/reimbursement/save-edit', '{"Reimbursements":{"amount":"111","attachmentFiles":["24893"],"client_id":"2815","description":"","form_costType":"369","form_reimbursementSettleRels":["1004"],"form_reimbursementVerifyRels":["1004"],"form_type":"185","id":"7457","occurrence_at":"2025-07-13 17:30","project_id":"3822","work_log_id":"37033"},"access_token":"NwDlebRkXSJbZFNIiImHKy4sVWr3Lufc","device_type":"2","posttime":"1752399104","token":"99ab3bb73e58287d71cd3f8e971a2d18","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u62a5\u9500\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-07-13 17:31:45') RETURNING "id" |