10:36:32.744 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
10:36:32.745 | trace | yii\base\Module::getModule | Loading module: debug |
10:36:32.745 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
10:36:32.748 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
10:36:32.748 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
10:36:32.751 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.754 | trace | yii\base\Module::getModule | Loading module: gii |
10:36:32.754 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
10:36:32.754 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
10:36:32.754 | trace | yii\web\Application::handleRequest | Route requested: 'v2/work-log/save-edit' |
10:36:32.754 | trace | yii\base\Module::getModule | Loading module: v2 |
10:36:32.755 | info | yii\web\Session::open | Session started |
10:36:32.756 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
10:36:32.758 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='J6r5ayQCjcEIGs4KLBJLDPH45YZsr80L' |
10:36:32.763 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.763 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:36:32.763 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.764 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:36:32.764 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016 |
10:36:32.765 | trace | yii\base\Controller::runAction | Route to run: v2/work-log/save-edit |
10:36:32.766 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.767 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:36:32.767 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\WorkLogController::actionSaveEdit() |
10:36:32.767 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='37025' |
10:36:32.768 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.768 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:36:32.768 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.769 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.771 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37025 |
10:36:32.780 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'form_workLogVerifyRels' in 'app\models\WorkLogs'. |
10:36:32.780 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\WorkLogs'. |
10:36:32.780 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'location_in_distance' in 'app\models\WorkLogs'. |
10:36:32.780 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'location_out_distance' in 'app\models\WorkLogs'. |
10:36:32.780 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'workLogContacts' in 'app\models\WorkLogs'. |
10:36:32.780 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.786 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:36:32.788 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000') |
10:36:32.794 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"='1') |
10:36:32.796 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5016 |
10:36:32.797 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000') |
10:36:32.797 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"='1') |
10:36:32.798 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_work_logs" SET "client_id"=NULL, "scenario_id"=1, "scenario_option_id"=NULL, "end_at"=NULL, "created_by"=1000, "updated_at"='now()', "start_at"=NULL, "is_draft"=TRUE, "project_id"=NULL WHERE "id"=37025 |
10:36:32.803 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.803 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:36:32.803 | 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\WorkLogs', 37025, 'a:0:{}', '', 5016, '223.104.41.148') |
10:36:32.806 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37025) |
10:36:32.810 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.810 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:36:32.810 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37025) |
10:36:32.817 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37025 |
10:36:32.819 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE 0=1 |
10:36:32.820 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37025 |
10:36:32.824 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37025 |
10:36:32.833 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37025 |
10:36:32.841 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37025 ORDER BY "id" |
10:36:32.848 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.850 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:36:32.852 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37025 |
10:36:32.863 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_work_log_verify_rels" ("work_log_id", "user_id", "status") VALUES (37025, 1000, 0) |
10:36:32.878 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
10:36:32.879 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
10:36:32.881 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
10:36:32.883 | 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\WorkLogs', 37025, 'a:0:{}', '', 5016, '223.104.41.148') |
10:36:32.894 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:36:32.896 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:36:32.899 | 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', 5016, 2, 1141, 'v2/work-log/save-edit', '{"WorkLogs":{"client_id":"","created_by":"1000","description":"","end_at":"","escort":"","form_workLogCarbonCopyRels":"","form_workLogVerifyRels":["1000"],"id":"37025","is_draft":"1","location_in_distance":"999999999","location_out_distance":"999999999","project_id":"","scenario_id":"1","scenario_option_id":"","start_at":"","workLogContacts":""},"access_token":"J6r5ayQCjcEIGs4KLBJLDPH45YZsr80L","device_type":"2","posttime":"1750818944","token":"3027705d827038c24b6778e6fba80b97","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u5de5\u4f5c\u65e5\u5fd7\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-06-25 10:36:32') RETURNING "id" |