11:01:59.914 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
11:01:59.914 | trace | yii\base\Module::getModule | Loading module: debug |
11:01:59.914 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
11:01:59.914 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
11:01:59.914 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
11:01:59.914 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.915 | trace | yii\base\Module::getModule | Loading module: gii |
11:01:59.915 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
11:01:59.915 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
11:01:59.915 | trace | yii\web\Application::handleRequest | Route requested: 'v2/work-log/save-edit' |
11:01:59.915 | trace | yii\base\Module::getModule | Loading module: v2 |
11:01:59.915 | info | yii\web\Session::open | Session started |
11:01:59.916 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
11:01:59.918 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
11:01:59.920 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.921 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:59.921 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.921 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:59.921 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:01:59.922 | trace | yii\base\Controller::runAction | Route to run: v2/work-log/save-edit |
11:01:59.922 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.923 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
11:01:59.923 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\WorkLogController::actionSaveEdit() |
11:01:59.923 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='37027' |
11:01:59.924 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.924 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:59.924 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.925 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.925 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37027 |
11:01:59.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:59.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'form_workLogVerifyRels' in 'app\models\WorkLogs'. |
11:01:59.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\WorkLogs'. |
11:01:59.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'location_in_distance' in 'app\models\WorkLogs'. |
11:01:59.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'location_out_distance' in 'app\models\WorkLogs'. |
11:01:59.928 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'workLogContacts' in 'app\models\WorkLogs'. |
11:01:59.928 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.928 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:59.928 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19216' |
11:01:59.929 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.929 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:59.929 | 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\Location', 19216, 'a:0:{}', '', 1000, '223.104.41.148') |
11:01:59.930 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19217' |
11:01:59.930 | 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\Location', 19217, 'a:0:{}', '', 1000, '223.104.41.148') |
11:01:59.931 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337') |
11:01:59.932 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3815') |
11:01:59.933 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19216') |
11:01:59.933 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19217') |
11:01:59.933 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000') |
11:01:59.933 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='66') |
11:01:59.934 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"='1') |
11:01:59.934 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:01:59.935 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:01:59.935 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:01:59.935 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:01:59.935 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_object_change_logs" SET "object_id"=3815 WHERE ("object_type"=1) AND ("target_id"=37027) AND ("target_object_type"=19) |
11:02:00.130 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:00.130 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:00.130 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3815' |
11:02:00.131 | 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, 'project_id', 37027, 19, 1000, 'now()', '["\u4ed8\u6b3e\u53d1\u8d27"]', '[null]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5546\u673a","d4":["(\u672a\u8bbe\u7f6e) <b>\u53d8\u4e3a<\/b> \u4ed8\u6b3e\u53d1\u8d27"]}'), (2, 'outdistance', 37027, 19, 1000, 'now()', '["43"]', '[43.078384014212]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u7b7e\u9000\u8ddd\u79bb","d4":["43.078384014212 <b>\u53d8\u4e3a<\/b> 43"]}') |
11:02:00.132 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337') |
11:02:00.133 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3815') |
11:02:00.133 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19216') |
11:02:00.133 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"='19217') |
11:02:00.133 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000') |
11:02:00.134 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='66') |
11:02:00.134 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"='1') |
11:02:00.134 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_work_logs" SET "client_id"=3337, "scenario_id"=1, "scenario_option_id"=66, "end_at"='2025-07-04 11:01:00', "created_by"=1000, "updated_at"='now()', "start_at"='2025-07-04 10:59:00', "is_draft"=FALSE, "project_id"=3815, "location_in_id"=19216, "location_out_id"=19217, "indistance"=47, "outdistance"=43 WHERE "id"=37027 |
11:02:00.136 | 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', 37027, 'a:5:{s:6:"end_at";s:19:"2025-07-04 11:01:00";s:8:"start_at";s:19:"2025-07-04 10:59:00";s:11:"outdistance";s:2:"43";s:8:"is_draft";s:1:"0";s:10:"project_id";s:4:"3815";}', '', 1000, '223.104.41.148') |
11:02:00.136 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:02:00.137 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:00.137 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:00.137 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37027) |
11:02:00.139 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37027) |
11:02:00.140 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37027 |
11:02:00.142 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"=6010 |
11:02:00.142 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:00.142 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:00.142 | info | yii\db\Command::query | SELECT "contact_id" FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37027 |
11:02:00.144 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37027 |
11:02:00.145 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37027 |
11:02:00.145 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37027 ORDER BY "id" |
11:02:00.146 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:00.146 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:00.146 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37027 |
11:02:00.147 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_work_log_verify_rels" ("work_log_id", "user_id", "status") VALUES (37027, 1000, 0) |
11:02:00.148 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37027 |
11:02:00.149 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37027 ORDER BY "id" |
11:02:00.150 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='66' |
11:02:00.150 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:00.150 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:00.150 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:00.150 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:00.150 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37027 |
11:02:00.151 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:02:00.151 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '19', 37027, '曹永生更新了一条客情增进的工作日志', TRUE, '不吃不饱才能完') RETURNING "id" |
11:02:00.153 | 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\Comments', 170241, 'a:11:{s:2:"id";i:170241;s:9:"object_id";i:37027;s:11:"object_type";s:2:"19";s:6:"parent";N;s:11:"description";s:51:"曹永生更新了一条客情增进的工作日志";s:10:"created_by";i:1000;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:21:"不吃不饱才能完";}', '', 1000, '223.104.41.148') |
11:02:00.154 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
11:02:00.154 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:02:00.155 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3337 |
11:02:00.157 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3337) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:02:00.165 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:00.165 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:00.166 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3337, 5332, 'now()', NULL) RETURNING "id" |
11:02:00.167 | 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', 165077, 'a:5:{s:2:"id";i:165077;s:9:"client_id";i:3337;s:9:"sales_rep";i:5332;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148') |
11:02:00.168 | 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', 3337, 'a:0:{}', '', 1000, '223.104.41.148') |
11:02:00.169 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:02:00.169 | 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', 3337, 10, 37027, 19, 1000, '[37027]', '[37027]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id" |
11:02:00.170 | 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', 509955, 'a:13:{s:2:"id";i:509955;s:9:"object_id";s:4:"3337";s:11:"object_type";i:10;s:9:"target_id";i:37027;s:18:"target_object_type";i:19;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:7:"[37027]";s:9:"new_value";s:7:"[37027]";s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
11:02:00.171 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:02:00.171 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:02:00.172 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:00.172 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:00.172 | 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', 3337, 10, 37027, 19, 1000, '37027', '37027', array[5332,1000], '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id" |
11:02:00.173 | 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', 136927, 'a:15:{s:2:"id";i:136927;s:9:"object_id";s:4:"3337";s:11:"object_type";i:10;s:9:"target_id";i:37027;s:18:"target_object_type";i:19;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:5:"37027";s:9:"new_value";s:5:"37027";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:16:"array[5332,1000]";s:6:"params";a:0:{}}s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.41.148') |
11:02:00.174 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3815' |
11:02:00.175 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3815 |
11:02:00.176 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3815) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:02:00.177 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:00.177 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:00.178 | 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', 3815, 'a:0:{}', '', 1000, '223.104.41.148') |
11:02:00.178 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:02:00.179 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:02:00.179 | 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', 3815, 1, 37027, 19, 1000, '[37027]', '[37027]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id" |
11:02:00.180 | 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', 509956, 'a:13:{s:2:"id";i:509956;s:9:"object_id";s:4:"3815";s:11:"object_type";i:1;s:9:"target_id";i:37027;s:18:"target_object_type";i:19;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:7:"[37027]";s:9:"new_value";s:7:"[37027]";s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
11:02:00.181 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3815' |
11:02:00.181 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3337 |
11:02:00.182 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:02:00.182 | 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', 3815, 1, 37027, 19, 1000, '37027', '37027', array[5332], '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}') RETURNING "id" |
11:02:00.183 | 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', 136928, 'a:15:{s:2:"id";i:136928;s:9:"object_id";s:4:"3815";s:11:"object_type";i:1;s:9:"target_id";i:37027;s:18:"target_object_type";i:19;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:5:"37027";s:9:"new_value";s:5:"37027";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[5332]";s:6:"params";a:0:{}}s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u5ba2\u60c5\u589e\u8fdb"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.41.148') |
11:02:00.184 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:02:00.185 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_work_logs" WHERE ("is_draft"=FALSE) AND ("scenario_id"=1) AND ("location_out_id" IS NOT NULL) AND ("location_in_id" IS NOT NULL) AND ("created_at" >= '2025-01-01 00:00:00') AND ("created_at" <= '2025-12-31 23:59:59') AND ("client_id"=3337) |
11:02:00.186 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3337) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:02:00.194 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3337, 5332, 'now()', NULL) RETURNING "id" |
11:02:00.195 | 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', 165078, 'a:5:{s:2:"id";i:165078;s:9:"client_id";i:3337;s:9:"sales_rep";i:5332;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148') |
11:02:00.195 | 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', 3337, 'a:0:{}', '', 1000, '223.104.41.148') |
11:02:00.197 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:02:00.197 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:02:00.197 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:02:00.197 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37027 ORDER BY "id" |
11:02:00.198 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=37027) AND ("created_by"=1000)) |
11:02:00.217 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_work_log_verify_rels" SET "status"=1 WHERE "id"=14311 |
11:02:00.218 | 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\WorkLogVerifyRels', 14311, 'a:1:{s:6:"status";i:1;}', '', 1000, '223.104.41.148') |
11:02:00.218 | 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', 37027, 'a:0:{}', '', 1000, '223.104.41.148') |
11:02:00.219 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3337' |
11:02:00.220 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:02:00.220 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:02:00.220 | 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/work-log/save-edit', '{"WorkLogs":{"client_id":"3337","created_by":"1000","description":"\u4e0d\u5403\u4e0d\u9971\u624d\u80fd\u5b8c","end_at":"2025-07-04 11:01","escort":"\u53d1\u6325\u597d","form_workLogCarbonCopyRels":"","form_workLogVerifyRels":["1000"],"id":"37027","is_draft":"0","location_in_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5317\u4eac\u4e16\u7eaa\u661f\u8c6a\u9152\u5e97","location_in_distance":"47","location_in_id":"19216","location_in_lat":"39.9604258897569","location_in_lng":"116.289174804688","location_in_updated_at":"2025-07-04 10:59:00","location_out_address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5317\u4eac\u4e16\u7eaa\u661f\u8c6a\u9152\u5e97","location_out_distance":"43","location_out_id":"19217","location_out_lat":"39.9605476888021","location_out_lng":"116.288947753906","location_out_updated_at":"2025-07-04 11:01:00","project_id":"3815","scenario_id":"1","scenario_option_id":"66","start_at":"2025-07-04 10:59","workLogContacts":["6010"]},"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","posttime":"1751598080","token":"c7bcd4d5dda7a88e7d8ec170575df8ce","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-07-04 11:02:00') RETURNING "id" |