14:03:40.813 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:03:40.813 | trace | yii\base\Module::getModule | Loading module: debug |
14:03:40.813 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:03:40.813 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:03:40.814 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:03:40.814 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.814 | trace | yii\base\Module::getModule | Loading module: gii |
14:03:40.814 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:03:40.814 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:03:40.814 | trace | yii\web\Application::handleRequest | Route requested: 'v2/reimbursement/save-edit' |
14:03:40.814 | trace | yii\base\Module::getModule | Loading module: v2 |
14:03:40.814 | info | yii\web\Session::open | Session started |
14:03:40.815 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:03:40.817 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH' |
14:03:40.820 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.820 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.820 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.820 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.820 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:03:40.821 | trace | yii\base\Controller::runAction | Route to run: v2/reimbursement/save-edit |
14:03:40.822 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.822 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
14:03:40.822 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ReimbursementController::actionSaveEdit() |
14:03:40.823 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='7451' |
14:03:40.823 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.823 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.823 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=7451) ORDER BY "id" |
14:03:40.825 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.826 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.827 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attachmentFiles' in 'app\models\Reimbursements'. |
14:03:40.827 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Reimbursements'. |
14:03:40.827 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
14:03:40.827 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338') |
14:03:40.828 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='37030') |
14:03:40.829 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:03:40.829 | info | yii\db\Command::execute | |
14:03:40.829 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
14:03:40.830 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338') |
14:03:40.830 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='37030') |
14:03:40.830 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_reimbursements" SET "occurrence_at"='2025-07-10 16:33', "client_id"=3338, "project_id"=NULL, "work_log_id"=37030 WHERE "id"=7451 |
14:03:40.831 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.832 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.832 | 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', 7451, 'a:1:{s:13:"occurrence_at";s:19:"2025-07-10 16:33:00";}', '', 1000, '223.104.40.121') |
14:03:40.833 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7451) |
14:03:40.834 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.834 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.835 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:03:40.835 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.835 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.835 | 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, 'AttachmentRelationships', 7451, 20, 1000, 'now()', '[[]]', '"24872"', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u56fe\u7247","d4":[""]}') |
14:03:40.836 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7451) |
14:03:40.838 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7451 |
14:03:40.839 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (184, 349)) |
14:03:40.839 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.839 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.839 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7451) AND ("term_id"=15) |
14:03:40.840 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.840 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.840 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='184') |
14:03:40.841 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=15) |
14:03:40.841 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (15, 184, 7451) RETURNING "id" |
14:03:40.842 | 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', 118195, 'a:9:{s:2:"id";i:118195;s:9:"object_id";i:7451;s:11:"taxonomy_id";s:3:"184";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, '223.104.40.121') |
14:03:40.843 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=7451) |
14:03:40.844 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7451) AND ("object_type"=7) |
14:03:40.845 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='349') |
14:03:40.845 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=18) |
14:03:40.845 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "object_id") VALUES (18, 7, 349, 7451) RETURNING "id" |
14:03:40.846 | 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', 118196, 'a:9:{s:2:"id";i:118196;s:9:"object_id";i:7451;s:11:"taxonomy_id";s:3:"349";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, '223.104.40.121') |
14:03:40.847 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7451 ORDER BY "id" |
14:03:40.848 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.848 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.848 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7451 |
14:03:40.850 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_verify_rels" ("reimbursement_id", "user_id", "status") VALUES (7451, 1000, 0) |
14:03:40.851 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7451 |
14:03:40.851 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.851 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.851 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7451 |
14:03:40.852 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" ("reimbursement_id", "user_id") VALUES (7451, 5252) |
14:03:40.853 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7451 |
14:03:40.854 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.854 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.854 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7451 |
14:03:40.855 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_settle_rels" ("reimbursement_id", "user_id") VALUES (7451, 1000) |
14:03:40.856 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("reimbursement_id"=7451) AND ("status"=0) ORDER BY "id" |
14:03:40.857 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_reimbursements" SET "updated_at"='now()' WHERE "id"=7451 |
14:03:40.858 | 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', 7451, 'a:1:{s:13:"occurrence_at";s:19:"2025-07-10 16:33:00";}', '', 1000, '223.104.40.121') |
14:03:40.859 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:03:40.859 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=7451) ORDER BY "id" |
14:03:40.860 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.861 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.861 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338' |
14:03:40.862 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3338 |
14:03:40.864 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3338) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
14:03:40.873 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.873 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.873 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3338, 1004, 'now()', NULL) RETURNING "id" |
14:03:40.874 | 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', 165259, 'a:5:{s:2:"id";i:165259;s:9:"client_id";i:3338;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.40.121') |
14:03:40.875 | 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', 3338, 'a:0:{}', '', 1000, '223.104.40.121') |
14:03:40.876 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:03:40.876 | 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', 3338, 10, 7451, 20, 1000, '[7451]', '[7451]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}') RETURNING "id" |
14:03:40.877 | 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', 510558, 'a:13:{s:2:"id";i:510558;s:9:"object_id";s:4:"3338";s:11:"object_type";i:10;s:9:"target_id";i:7451;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[7451]";s:9:"new_value";s:6:"[7451]";s:11:"description";s:113:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.40.121') |
14:03:40.878 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:03:40.879 | 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', 37030, 19, 7451, 20, 1000, '[7451]', '[7451]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}') RETURNING "id" |
14:03:40.880 | 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', 510559, 'a:13:{s:2:"id";i:510559;s:9:"object_id";s:5:"37030";s:11:"object_type";i:19;s:9:"target_id";i:7451;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[7451]";s:9:"new_value";s:6:"[7451]";s:11:"description";s:113:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.40.121') |
14:03:40.881 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:03:40.881 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:03:40.881 | 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/save-edit', '{"Reimbursements":{"amount":"123","attachmentFiles":"","client_id":"3338","description":"","form_costType":"349","form_reimbursementCarbonCopyRels":["5252"],"form_reimbursementSettleRels":["1000"],"form_reimbursementVerifyRels":["1000"],"form_type":"184","id":"7451","occurrence_at":"2025-07-10 16:33","project_id":"","work_log_id":"37030"},"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","posttime":"1752213760","token":"261ba57109499fbeca45651ec170a6af","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u62a5\u9500\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-07-11 14:03:40') RETURNING "id" |