11:09:41.227 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
11:09:41.227 | trace | yii\base\Module::getModule | Loading module: debug |
11:09:41.228 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
11:09:41.228 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
11:09:41.228 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
11:09:41.228 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.228 | trace | yii\base\Module::getModule | Loading module: gii |
11:09:41.229 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
11:09:41.229 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
11:09:41.229 | trace | yii\web\Application::handleRequest | Route requested: 'v2/case/save-new' |
11:09:41.229 | trace | yii\base\Module::getModule | Loading module: v2 |
11:09:41.229 | info | yii\web\Session::open | Session started |
11:09:41.230 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
11:09:41.233 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
11:09:41.237 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.238 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.239 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.239 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.240 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:09:41.241 | trace | yii\base\Controller::runAction | Route to run: v2/case/save-new |
11:09:41.242 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.243 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
11:09:41.243 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\CaseController::actionSaveNew() |
11:09:41.243 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.244 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.244 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'caseServices' in 'app\models\Cases'. |
11:09:41.246 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
11:09:41.250 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='5245') |
11:09:41.251 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3811') |
11:09:41.252 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:09:41.253 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017') |
11:09:41.253 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"='195') |
11:09:41.254 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE ("created_at" >= '2025-07-04 00:00:00') AND ("created_at" < '2025-07-05 00:00:00') ORDER BY "id" DESC |
11:09:41.256 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_cases" ("case_type", "start_at", "last_engineer", "alarm_before", "contact_id", "client_id", "description", "task_group_id", "spent_time", "project_id", "need_push", "created_by", "created_at", "case_no") VALUES (1, '2025-07-04 11:09', 1017, NULL, 5245, 2815, '', 195, '1 hour', 3811, FALSE, 1000, '2025-07-04 11:09:41', 'PS250704002') RETURNING "id" |
11:09:41.261 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.261 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.261 | 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\Cases', 8269, 'a:24:{s:2:"id";i:8269;s:9:"client_id";s:4:"2815";s:10:"contact_id";s:4:"5245";s:10:"project_id";s:4:"3811";s:13:"last_engineer";s:4:"1017";s:9:"case_type";s:1:"1";s:11:"case_status";N;s:8:"start_at";s:19:"2025-07-04 11:09:00";s:9:"closed_at";N;s:6:"points";N;s:18:"deduct_points_from";N;s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 11:09:41";s:10:"updated_at";N;s:7:"case_no";s:11:"PS250704002";s:11:"description";s:0:"";s:10:"spent_time";s:6:"1 hour";s:12:"alarm_before";N;s:10:"suspend_at";N;s:12:"completed_at";N;s:20:"mp_submit_contact_id";N;s:13:"attachment_id";N;s:9:"need_push";b:0;s:13:"task_group_id";s:3:"195";}', '', 1000, '114.254.1.137') |
11:09:41.262 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id"=8269) |
11:09:41.265 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.265 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.265 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8269) |
11:09:41.265 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273) |
11:09:41.266 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_case_services" ("case_id", "service_id", "quantity") VALUES (8269, 273, 1) RETURNING "id" |
11:09:41.268 | 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\CaseServices', 13432, 'a:4:{s:2:"id";i:13432;s:7:"case_id";i:8269;s:10:"service_id";i:273;s:8:"quantity";s:1:"1";}', '', 1000, '114.254.1.137') |
11:09:41.270 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.271 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.271 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8269) |
11:09:41.271 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017') |
11:09:41.272 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:09:41.273 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_case_assignments" ("case_id", "engineer_id", "assignment_status", "points", "assigned_by") VALUES (8269, 1017, 1, 0, 1000) RETURNING "id" |
11:09:41.275 | 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\CaseAssignments', 8311, 'a:9:{s:2:"id";i:8311;s:7:"case_id";i:8269;s:11:"engineer_id";s:4:"1017";s:17:"assignment_status";i:1;s:6:"points";i:0;s:11:"assigned_by";i:1000;s:11:"assigned_at";N;s:10:"updated_at";N;s:7:"percent";N;}', '', 1000, '114.254.1.137') |
11:09:41.276 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
11:09:41.277 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.277 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.277 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=8269 |
11:09:41.278 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_services" WHERE "id"=273 |
11:09:41.279 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.279 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.279 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_cases" SET "deduct_points_from"=1004, "points"=150, "case_status"=2 WHERE "id"=8269 |
11:09:41.281 | 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\Cases', 8269, 'a:4:{s:8:"start_at";s:19:"2025-07-04 11:09:00";s:11:"case_status";i:2;s:6:"points";i:150;s:18:"deduct_points_from";i:1004;}', '', 1000, '114.254.1.137') |
11:09:41.282 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.282 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.283 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
11:09:41.283 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017') |
11:09:41.284 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8269) |
11:09:41.284 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_calendars" ("title", "end_at", "start_at", "is_public", "created_by", "client_id", "alarm_before", "case_id", "is_remind", "is_system", "is_sync") VALUES ('技术方案-一级文档:', '2025-07-04 12:09:00', '2025-07-04 11:09:00', 1, 1017, 2815, NULL, 8269, FALSE, FALSE, FALSE) RETURNING "id" |
11:09:41.286 | 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\Calendars', 276899, 'a:17:{s:2:"id";i:276899;s:9:"client_id";s:4:"2815";s:5:"title";s:26:"技术方案-一级文档:";s:11:"description";N;s:8:"start_at";s:19:"2025-07-04 11:09:00";s:6:"end_at";s:19:"2025-07-04 12:09:00";s:9:"is_public";i:1;s:10:"created_by";s:4:"1017";s:10:"created_at";N;s:12:"alarm_before";N;s:9:"is_remind";b:0;s:18:"system_calendar_id";N;s:9:"is_system";b:0;s:7:"is_sync";b:0;s:7:"case_id";i:8269;s:11:"schedule_id";N;s:10:"project_id";N;}', '', 1000, '114.254.1.137') |
11:09:41.287 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8269 |
11:09:41.288 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:09:41.288 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1017' |
11:09:41.289 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
11:09:41.290 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=8269 |
11:09:41.291 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.291 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.291 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8269 |
11:09:41.292 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
11:09:41.292 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '18', 8269, '曹永生为车明飞新建了一个Case', TRUE, '') RETURNING "id" |
11:09:41.294 | 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', 170247, 'a:11:{s:2:"id";i:170247;s:9:"object_id";i:8269;s:11:"object_type";s:2:"18";s:6:"parent";N;s:11:"description";s:40:"曹永生为车明飞新建了一个Case";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:0:"";}', '', 1000, '114.254.1.137') |
11:09:41.295 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.295 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.295 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (8269, '18', 170247, '1017'), (8269, '18', 170247, 1004) |
11:09:41.297 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id" IN ('1017', 1004)) AND ("id" != 1000) AND (channel_id IS NOT NULL) |
11:09:41.297 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=8269 |
11:09:41.298 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
11:09:41.304 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:09:41.305 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:09:41.305 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:09:41.305 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3811 |
11:09:41.306 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.306 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.306 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:09:41.307 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:09:41.307 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:09:41.307 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:09:41.307 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.308 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.308 | 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', 8269, 18, 1000, '2025-07-04 11:09:41', '{"id":8269,"client_id":2815,"contact_id":5245,"project_id":3811,"last_engineer":1017,"case_type":1,"case_status":2,"start_at":"2025-07-04 11:09:00","closed_at":null,"points":150,"deduct_points_from":1004,"created_by":1000,"created_at":"2025-07-04 11:09:41","updated_at":"2025-07-04 11:09:41","case_no":"PS250704002","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":195}', '{"id":8269,"client_id":2815,"contact_id":5245,"project_id":3811,"last_engineer":1017,"case_type":1,"case_status":2,"start_at":"2025-07-04 11:09:00","closed_at":null,"points":150,"deduct_points_from":1004,"created_by":1000,"created_at":"2025-07-04 11:09:41","updated_at":"2025-07-04 11:09:41","case_no":"PS250704002","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":195}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}') RETURNING "id" |
11:09:41.310 | 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', 509969, 'a:13:{s:2:"id";i:509969;s:9:"object_id";i:8269;s:11:"object_type";i:18;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:500:"{"id":8269,"client_id":2815,"contact_id":5245,"project_id":3811,"last_engineer":1017,"case_type":1,"case_status":2,"start_at":"2025-07-04 11:09:00","closed_at":null,"points":150,"deduct_points_from":1004,"created_by":1000,"created_at":"2025-07-04 11:09:41","updated_at":"2025-07-04 11:09:41","case_no":"PS250704002","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":195}";s:9:"new_value";s:500:"{"id":8269,"client_id":2815,"contact_id":5245,"project_id":3811,"last_engineer":1017,"case_type":1,"case_status":2,"start_at":"2025-07-04 11:09:00","closed_at":null,"points":150,"deduct_points_from":1004,"created_by":1000,"created_at":"2025-07-04 11:09:41","updated_at":"2025-07-04 11:09:41","case_no":"PS250704002","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":null,"completed_at":null,"mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":195}";s:11:"description";s:73:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 11:09:41";s:9:"is_delete";N;}', '', 1000, '114.254.1.137') |
11:09:41.311 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:09:41.312 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.312 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.312 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "users", "description") VALUES (1, 'create', 8269, 18, 1000, '2025-07-04 11:09:41', '{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}', array[1004,1017], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}') RETURNING "id" |
11:09:41.313 | 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', 136937, 'a:15:{s:2:"id";i:136937;s:9:"object_id";i:8269;s:11:"object_type";i:18;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:86:"{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:9:"new_value";s:86:"{"form_caseCarbonCopyRels":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:16:"array[1004,1017]";s:6:"params";a:0:{}}s:11:"description";s:73:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-07-04 11:09:41";s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.254.1.137') |
11:09:41.314 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
11:09:41.317 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
11:09:41.319 | 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 |
11:09:41.328 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.328 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.328 | 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" |
11:09:41.329 | 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', 165085, 'a:5:{s:2:"id";i:165085;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '114.254.1.137') |
11:09:41.330 | 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:{}', '', 1000, '114.254.1.137') |
11:09:41.331 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:09:41.331 | 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, 8269, 18, 1000, '[8269]', '[8269]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704002"]}') RETURNING "id" |
11:09:41.332 | 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', 509970, 'a:13:{s:2:"id";i:509970;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:8269;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[8269]";s:9:"new_value";s:6:"[8269]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704002"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137') |
11:09:41.333 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3811 |
11:09:41.334 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3811 |
11:09:41.335 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3811) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
11:09:41.337 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.337 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.337 | 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', 3811, 'a:0:{}', '', 1000, '114.254.1.137') |
11:09:41.338 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
11:09:41.338 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:09:41.339 | 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', 3811, 1, 8269, 18, 1000, '[8269]', '[8269]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704002"]}') RETURNING "id" |
11:09:41.340 | 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', 509971, 'a:13:{s:2:"id";i:509971;s:9:"object_id";i:3811;s:11:"object_type";i:1;s:9:"target_id";i:8269;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[8269]";s:9:"new_value";s:6:"[8269]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704002"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137') |
11:09:41.341 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
11:09:41.341 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:09:41.342 | 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', 3811, 1, 8269, 18, 1000, '8269', '8269', array[1004], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704002"]}') RETURNING "id" |
11:09:41.342 | 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', 136938, 'a:15:{s:2:"id";i:136938;s:9:"object_id";i:3811;s:11:"object_type";i:1;s:9:"target_id";i:8269;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"8269";s:9:"new_value";s:4:"8269";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:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704002"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.254.1.137') |
11:09:41.343 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.343 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.343 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=195 |
11:09:41.344 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:09:41.344 | 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', 195, 102, 8269, 18, 1000, '[8269]', '[8269]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704002"]}') RETURNING "id" |
11:09:41.345 | 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', 509972, 'a:13:{s:2:"id";i:509972;s:9:"object_id";i:195;s:11:"object_type";i:102;s:9:"target_id";i:8269;s:18:"target_object_type";i:18;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[8269]";s:9:"new_value";s:6:"[8269]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:PS250704002"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.254.1.137') |
11:09:41.346 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_enterprises" WHERE "id"=2 |
11:09:41.347 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.347 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.347 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:09:41.347 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:09:41.347 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:09:41.348 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
11:09:41.348 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.349 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.349 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_cases" WHERE ("case_type"=1) AND ("case_status"=5) AND ("created_at" >= '2025-01-01 00:00:00') AND ("created_at" <= '2025-12-31 23:59:59') AND ("client_id"=2815) |
11:09:41.350 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_cases" WHERE ("case_type"=2) AND ("case_status"=5) AND ("created_at" >= '2025-01-01 00:00:00') AND ("created_at" <= '2025-12-31 23:59:59') AND ("client_id"=2815) |
11:09:41.352 | 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 |
11:09:41.360 | 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" |
11:09:41.361 | 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', 165086, 'a:5:{s:2:"id";i:165086;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '114.254.1.137') |
11:09:41.362 | 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:{}', '', 1000, '114.254.1.137') |
11:09:41.363 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
11:09:41.363 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
11:09:41.364 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
11:09:41.364 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:09:41.364 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:09:41.364 | 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, 0, 262, 'v2/case/save-new', '{"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","Cases":{"start_at":"2025-07-04 11:09","last_engineer":"1017","alarm_before":"","contact_id":"5245","client_id":"2815","description":"","case_type":"1","task_group_id":"195","caseServices":{"273":"1"},"spent_time":"1 hour","project_id":"3811"},"device_type":"0","version_code":"262","token":"fb5377ac59f01e1c90524e36ac484377","posttime":"1751598581"}', '{"code":200,"data":{"id":8269},"status":1,"msg":[{"name":"success","success":"\u65b0Case\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-04 11:09:41') RETURNING "id" |