14:05:51.078 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:05:51.078 | trace | yii\base\Module::getModule | Loading module: debug |
14:05:51.078 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:05:51.079 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:05:51.079 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:05:51.079 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.079 | trace | yii\base\Module::getModule | Loading module: gii |
14:05:51.079 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:05:51.079 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:05:51.079 | trace | yii\web\Application::handleRequest | Route requested: 'v2/work-log/save-new' |
14:05:51.079 | trace | yii\base\Module::getModule | Loading module: v2 |
14:05:51.080 | info | yii\web\Session::open | Session started |
14:05:51.080 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:05:51.082 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH' |
14:05:51.085 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.085 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.085 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.086 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.086 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:05:51.087 | trace | yii\base\Controller::runAction | Route to run: v2/work-log/save-new |
14:05:51.087 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.088 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
14:05:51.088 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\WorkLogController::actionSaveNew() |
14:05:51.089 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attachmentFiles' in 'app\models\WorkLogs'. |
14:05:51.089 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.089 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.089 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'form_workLogVerifyRels' in 'app\models\WorkLogs'. |
14:05:51.089 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'location_in_distance' in 'app\models\WorkLogs'. |
14:05:51.089 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'location_out_distance' in 'app\models\WorkLogs'. |
14:05:51.089 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'workLogContacts' in 'app\models\WorkLogs'. |
14:05:51.089 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.089 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.089 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_location" ("created_by", "address", "geolocation", "updated_at") VALUES (1000, '北京市海淀区蓝靛厂东路靠近北京世纪星豪酒店', '(116.2891297743056,39.96064670138889)', '2025-07-11 14:05') RETURNING "id" |
14:05:51.092 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.092 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.092 | 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\Location', 19240, 'a:6:{s:2:"id";i:19240;s:11:"geolocation";s:37:"(116.2891297743056,39.96064670138889)";s:10:"created_by";i:1000;s:7:"address";s:63:"北京市海淀区蓝靛厂东路靠近北京世纪星豪酒店";s:10:"created_at";N;s:10:"updated_at";s:19:"2025-07-11 14:05:00";}', '', 1000, '223.104.40.121') |
14:05:51.093 | 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', 19240, 'a:0:{}', '', 1000, '223.104.40.121') |
14:05:51.094 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_location" ("created_by", "address", "geolocation", "updated_at") VALUES (1000, '北京市海淀区蓝靛厂东路靠近北京世纪星豪酒店', '(116.2894249131944,39.9604771592882)', '2025-07-11 14:05') RETURNING "id" |
14:05:51.095 | 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\Location', 19241, 'a:6:{s:2:"id";i:19241;s:11:"geolocation";s:36:"(116.2894249131944,39.9604771592882)";s:10:"created_by";i:1000;s:7:"address";s:63:"北京市海淀区蓝靛厂东路靠近北京世纪星豪酒店";s:10:"created_at";N;s:10:"updated_at";s:19:"2025-07-11 14:05:00";}', '', 1000, '223.104.40.121') |
14:05:51.096 | 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', 19241, 'a:0:{}', '', 1000, '223.104.40.121') |
14:05:51.097 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338') |
14:05:51.098 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19240) |
14:05:51.098 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id"=19241) |
14:05:51.098 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000') |
14:05:51.099 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='72') |
14:05:51.099 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"='1') |
14:05:51.099 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_work_logs" ("client_id", "created_by", "description", "end_at", "escort", "is_draft", "project_id", "scenario_id", "scenario_option_id", "start_at", "indistance", "outdistance", "status", "location_in_id", "location_out_id") VALUES (3338, 1000, '猜猜猜', '2025-07-11 14:05:00', '仿佛从v', FALSE, NULL, 1, 72, '2025-07-11 14:05:00', 2868.5523569131, 2861.3073009818, 0, 19240, 19241) RETURNING "id" |
14:05:51.103 | 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\WorkLogs', 37031, 'a:19:{s:2:"id";i:37031;s:9:"client_id";s:4:"3338";s:11:"scenario_id";s:1:"1";s:18:"scenario_option_id";s:2:"72";s:6:"end_at";s:19:"2025-07-11 14:05:00";s:10:"created_by";s:4:"1000";s:10:"created_at";N;s:10:"updated_at";N;s:8:"start_at";s:19:"2025-07-11 14:05:00";s:11:"description";s:9:"猜猜猜";s:6:"escort";s:10:"仿佛从v";s:8:"is_draft";s:1:"0";s:11:"location_id";N;s:10:"project_id";s:0:"";s:14:"location_in_id";i:19240;s:15:"location_out_id";i:19241;s:6:"status";i:0;s:10:"indistance";s:16:"2868.55235691307";s:11:"outdistance";s:16:"2861.30730098179";}', '', 1000, '223.104.40.121') |
14:05:51.104 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338' |
14:05:51.105 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.105 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.105 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37031) |
14:05:51.106 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.106 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.106 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (18, 37031, 24874) |
14:05:51.107 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37031 |
14:05:51.108 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.108 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.108 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_work_log_verify_rels" ("work_log_id", "user_id", "status") VALUES (37031, 1000, 0) |
14:05:51.111 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37031 |
14:05:51.111 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37031 |
14:05:51.112 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.113 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.114 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"='72' |
14:05:51.114 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.114 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.114 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.114 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.114 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37031 |
14:05:51.115 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
14:05:51.115 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '19', 37031, '曹永生新建了一条挖掘商机的工作日志', TRUE, '猜猜猜') RETURNING "id" |
14:05:51.116 | 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', 170415, 'a:11:{s:2:"id";i:170415;s:9:"object_id";i:37031;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:9:"猜猜猜";}', '', 1000, '223.104.40.121') |
14:05:51.117 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
14:05:51.118 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
14:05:51.118 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
14:05:51.119 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
14:05:51.119 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37031 ORDER BY "id" |
14:05:51.119 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=37031 |
14:05:51.120 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:05:51.120 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.120 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.120 | 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', 37031, 19, 1000, '2025-07-11 14:05:51', '{"id":37031,"client_id":3338,"scenario_id":1,"scenario_option_id":72,"end_at":"2025-07-11 14:05:00","created_by":1000,"created_at":"2025-07-11 14:05:51","updated_at":"2025-07-11 14:05:51","start_at":"2025-07-11 14:05:00","description":"\u731c\u731c\u731c","escort":"\u4eff\u4f5b\u4ecev","is_draft":false,"location_id":null,"project_id":null,"location_in_id":19240,"location_out_id":19241,"status":0,"indistance":2868.5523569131,"outdistance":2861.3073009818}', '{"id":37031,"client_id":3338,"scenario_id":1,"scenario_option_id":72,"end_at":"2025-07-11 14:05:00","created_by":1000,"created_at":"2025-07-11 14:05:51","updated_at":"2025-07-11 14:05:51","start_at":"2025-07-11 14:05:00","description":"\u731c\u731c\u731c","escort":"\u4eff\u4f5b\u4ecev","is_draft":false,"location_id":null,"project_id":null,"location_in_id":19240,"location_out_id":19241,"status":0,"indistance":2868.5523569131,"outdistance":2861.3073009818}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":[]}') RETURNING "id" |
14:05:51.122 | 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', 510563, 'a:13:{s:2:"id";i:510563;s:9:"object_id";i:37031;s:11:"object_type";i:19;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:458:"{"id":37031,"client_id":3338,"scenario_id":1,"scenario_option_id":72,"end_at":"2025-07-11 14:05:00","created_by":1000,"created_at":"2025-07-11 14:05:51","updated_at":"2025-07-11 14:05:51","start_at":"2025-07-11 14:05:00","description":"\u731c\u731c\u731c","escort":"\u4eff\u4f5b\u4ecev","is_draft":false,"location_id":null,"project_id":null,"location_in_id":19240,"location_out_id":19241,"status":0,"indistance":2868.5523569131,"outdistance":2861.3073009818}";s:9:"new_value";s:458:"{"id":37031,"client_id":3338,"scenario_id":1,"scenario_option_id":72,"end_at":"2025-07-11 14:05:00","created_by":1000,"created_at":"2025-07-11 14:05:51","updated_at":"2025-07-11 14:05:51","start_at":"2025-07-11 14:05:00","description":"\u731c\u731c\u731c","escort":"\u4eff\u4f5b\u4ecev","is_draft":false,"location_id":null,"project_id":null,"location_in_id":19240,"location_out_id":19241,"status":0,"indistance":2868.5523569131,"outdistance":2861.3073009818}";s:11:"description";s:93:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-11 14:05:51";s:9:"is_delete";N;}', '', 1000, '223.104.40.121') |
14:05:51.122 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338' |
14:05:51.124 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3338 |
14:05:51.125 | 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:05:51.134 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.134 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.134 | 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:05:51.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 ('INSERT', 'app\models\ClientAmChangeLogs', 165261, 'a:5:{s:2:"id";i:165261;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:05:51.137 | 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:05:51.137 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=72 |
14:05:51.138 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:05:51.138 | 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', 3338, 10, 37031, 19, 1000, '[37031]', '[37031]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u6316\u6398\u5546\u673a"]}') RETURNING "id" |
14:05:51.139 | 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', 510564, 'a:13:{s:2:"id";i:510564;s:9:"object_id";i:3338;s:11:"object_type";i:10;s:9:"target_id";i:37031;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[37031]";s:9:"new_value";s:7:"[37031]";s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u6316\u6398\u5546\u673a"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.40.121') |
14:05:51.140 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3338 |
14:05:51.140 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:05:51.141 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.141 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.142 | 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', 3338, 10, 37031, 19, 1000, '37031', '37031', array[1004,1000], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u6316\u6398\u5546\u673a"]}') RETURNING "id" |
14:05:51.147 | 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', 137144, 'a:15:{s:2:"id";i:137144;s:9:"object_id";i:3338;s:11:"object_type";i:10;s:9:"target_id";i:37031;s:18:"target_object_type";i:19;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"37031";s:9:"new_value";s:5:"37031";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:16:"array[1004,1000]";s:6:"params";a:0:{}}s:11:"description";s:119:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":["\u6316\u6398\u5546\u673a"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.40.121') |
14:05:51.147 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338' |
14:05:51.148 | 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"=3338) |
14:05:51.149 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "visit_count"=2 WHERE "id"=3338 |
14:05:51.150 | 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:05:51.158 | 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:05:51.159 | 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', 165262, 'a:5:{s:2:"id";i:165262;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:05:51.160 | 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:1:{s:11:"visit_count";i:2;}', '', 1000, '223.104.40.121') |
14:05:51.162 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
14:05:51.162 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
14:05:51.162 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
14:05:51.162 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37031 ORDER BY "id" |
14:05:51.162 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=37031) AND ("created_by"=1000)) |
14:05:51.182 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_work_log_verify_rels" SET "status"=1 WHERE "id"=14318 |
14:05:51.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 ('UPDATE', 'app\models\WorkLogVerifyRels', 14318, 'a:1:{s:6:"status";i:1;}', '', 1000, '223.104.40.121') |
14:05:51.184 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_work_logs" SET "status"=1 WHERE "id"=37031 |
14:05:51.185 | 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', 37031, 'a:0:{}', '', 1000, '223.104.40.121') |
14:05:51.186 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3338' |
14:05:51.186 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:51.186 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:51.187 | 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-new', '{"WorkLogs":{"attachmentFiles":["24874"],"client_id":"3338","created_by":"1000","description":"\u731c\u731c\u731c","end_at":"2025-07-11 14:05","escort":"\u4eff\u4f5b\u4ecev","form_workLogCarbonCopyRels":"","form_workLogVerifyRels":["1000"],"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":"2868.55235691307","location_in_lat":"39.96064670138889","location_in_lng":"116.2891297743056","location_in_updated_at":"2025-07-11 14:05","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":"2861.30730098179","location_out_lat":"39.9604771592882","location_out_lng":"116.2894249131944","location_out_updated_at":"2025-07-11 14:05","project_id":"","scenario_id":"1","scenario_option_id":"72","start_at":"2025-07-11 14:05","workLogContacts":""},"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","posttime":"1752213888","token":"34e5278194298a41f932f3e22cedad06","version_code":"1141"}', '{"code":200,"data":{"id":37031},"status":1,"msg":[{"name":"success","success":"\u65b0\u5de5\u4f5c\u65e5\u5fd7\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-11 14:05:51') RETURNING "id" |