| 13:05:38.825 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 13:05:38.825 | trace | yii\base\Module::getModule | Loading module: debug |
| 13:05:38.826 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 13:05:38.832 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 13:05:38.832 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 13:05:38.837 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:38.840 | info | time tracing start | 1780549538840796928 |
| 13:05:38.841 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 13:05:38.841 | trace | yii\web\Application::handleRequest | Route requested: 'vue/task/list-case' |
| 13:05:38.841 | trace | yii\base\Module::getModule | Loading module: vue |
| 13:05:38.841 | info | yii\web\Session::open | Session started |
| 13:05:38.842 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:05:38.842 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 13:05:38.858 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:38.861 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:05:38.862 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:38.863 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:05:38.863 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:05:38.864 | trace | yii\base\Controller::runAction | Route to run: vue/task/list-case |
| 13:05:38.864 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:38.866 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 13:05:38.866 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\TaskController::actionListCase() |
| 13:05:38.866 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:38.866 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:05:38.870 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:38.873 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:38.877 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT c.* FROM "a57be577deb434"."tbl_cases" "c" LEFT JOIN "a57be577deb434"."tbl_callback_records" "cb" ON cb.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = c.client_id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON p.id = c.project_id LEFT JOIN "a57be577deb434"."tbl_task_groups" "tg" ON tg.id = c.task_group_id LEFT JOIN "a57be577deb434"."tbl_implement_records" "i" ON i.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_pre_sales" "ps" ON ps.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_implement_items" "iri" ON i.id = iri.implement_record_id LEFT JOIN "a57be577deb434"."tbl_sales_group_relationships" "sgr" ON sgr.sales_id = c.deduct_points_from LEFT JOIN "a57be577deb434"."tbl_engineer_group_relationships" "egr" ON egr.engineer_id = c.last_engineer LEFT JOIN "a57be577deb434"."tbl_case_remind_dates" "crd" ON crd.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_case_remind_receivers" "crr" ON crr.remind_date_id = crd.id LEFT JOIN "a57be577deb434"."tbl_case_carbon_copy_rels" "cccr" ON cccr.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_task_group_user_relationships" "tgur" ON tg.id = tgur.task_group_id LEFT JOIN "a57be577deb434"."tbl_task_group_head_of_relationships" "tghr" ON tg.id = tghr.task_group_id WHERE ("sgr"."group_id"='1') AND ("deduct_points_from"='1001') AND (("deduct_points_from" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("deduct_points_from" IS NULL) OR ("last_engineer"=1001) OR ("crr"."user_id"=1001) OR ("client"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001)) OR ("cccr"."user_id"=1001) OR ("c"."created_by"=1001)) AND (c.task_group_id is not null) AND (("tgur"."user_id"=1001) OR ("tghr"."user_id"=1001)) AND ("deduct_points_from"='1001') GROUP BY "c"."id" ORDER BY c.start_at DESC nulls last, "c"."created_at" DESC) "c" |
| 13:05:38.930 | info | yii\db\Command::query | SELECT c.* FROM "a57be577deb434"."tbl_cases" "c" LEFT JOIN "a57be577deb434"."tbl_callback_records" "cb" ON cb.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = c.client_id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON p.id = c.project_id LEFT JOIN "a57be577deb434"."tbl_task_groups" "tg" ON tg.id = c.task_group_id LEFT JOIN "a57be577deb434"."tbl_implement_records" "i" ON i.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_pre_sales" "ps" ON ps.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_implement_items" "iri" ON i.id = iri.implement_record_id LEFT JOIN "a57be577deb434"."tbl_sales_group_relationships" "sgr" ON sgr.sales_id = c.deduct_points_from LEFT JOIN "a57be577deb434"."tbl_engineer_group_relationships" "egr" ON egr.engineer_id = c.last_engineer LEFT JOIN "a57be577deb434"."tbl_case_remind_dates" "crd" ON crd.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_case_remind_receivers" "crr" ON crr.remind_date_id = crd.id LEFT JOIN "a57be577deb434"."tbl_case_carbon_copy_rels" "cccr" ON cccr.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_task_group_user_relationships" "tgur" ON tg.id = tgur.task_group_id LEFT JOIN "a57be577deb434"."tbl_task_group_head_of_relationships" "tghr" ON tg.id = tghr.task_group_id WHERE ("sgr"."group_id"='1') AND ("deduct_points_from"='1001') AND (("deduct_points_from" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("deduct_points_from" IS NULL) OR ("last_engineer"=1001) OR ("crr"."user_id"=1001) OR ("client"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001)) OR ("cccr"."user_id"=1001) OR ("c"."created_by"=1001)) AND (c.task_group_id is not null) AND (("tgur"."user_id"=1001) OR ("tghr"."user_id"=1001)) AND ("deduct_points_from"='1001') GROUP BY "c"."id" ORDER BY c.start_at DESC nulls last, "c"."created_at" DESC LIMIT 20 |
| 13:05:38.945 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=1972 |
| 13:05:38.946 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id" IN (9256, 9255) |
| 13:05:38.949 | info | yii\db\Command::query | SELECT "id", "serial_no", "title" AS "name", "brand_id", "type_id", "description" FROM "a57be577deb434"."tbl_services" WHERE "id" IN (273, 234) |
| 13:05:38.958 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id" IN (9256, 9255) |
| 13:05:38.959 | info | yii\db\Command::query | SELECT "id", "serial_no", "title", "brand_id", "type_id", "description", "points", "points_off_time", "points_holiday" FROM "a57be577deb434"."tbl_services" WHERE "id" IN (273, 234) |
| 13:05:38.961 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=33 |
| 13:05:38.964 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_service_type" WHERE "id" IN (1, 9) |
| 13:05:38.966 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:05:38.966 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:05:38.967 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4 |
| 13:05:38.967 | info | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001) |
| 13:05:38.967 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (3432, 1956) |
| 13:05:38.970 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_address_rels" WHERE "client_id" IN (1956, 3432) |
| 13:05:38.972 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "address2" AS "name" FROM "a57be577deb434"."tbl_addresses" WHERE ("address2" != '') AND ("address2" IS NOT NULL) AND ("id"=2320) |
| 13:05:38.976 | info | yii\db\Command::query | SELECT "object_id", count(*) AS comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=18) AND ("object_id" IN (9256, 9255)) GROUP BY "object_id" |
| 13:05:39.008 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=18) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id" IN (9256, 9255)) GROUP BY "object_id" |
| 13:05:39.028 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (3432, 1956) |
| 13:05:39.033 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:05:39.033 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
| 13:05:39.034 | info | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5064) |
| 13:05:39.034 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10 |
| 13:05:39.034 | info | yii\db\Command::query | SELECT "id", "name", "email", "sex", "department", "job_position", "mobile", "telephone", "telephone_area_code", "telephone_extension_number", "contact_type", "contact_attitude", "client_id", "user_status" FROM "a57be577deb434"."tbl_contacts" WHERE "id" IN (6209, 3475) |
| 13:05:39.044 | info | yii\db\Command::query | SELECT "id", "status", "description" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2 |
| 13:05:39.046 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (3475, 6209) |
| 13:05:39.049 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (3475, 6209) |
| 13:05:39.057 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (5, 2, 165, 137, 140, 181, 184, 189, 349, 348, 1)) ORDER BY "sort" |
| 13:05:39.059 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (3475, 6209) |
| 13:05:39.059 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (5, 2, 165, 137, 140, 181, 184, 189, 349, 348, 1)) ORDER BY "sort" |
| 13:05:39.059 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_callback_records" WHERE "case_id" IN (9256, 9255) |
| 13:05:39.062 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:05:39.062 | info | yii\db\Command::query | SELECT "id", "name", "email", "sex", "department", "job_position", "mobile", "telephone", "telephone_area_code", "telephone_extension_number", "contact_type", "contact_attitude", "client_id", "user_status" FROM "a57be577deb434"."tbl_contacts" WHERE "id" IN (3475, 6209) |
| 13:05:39.063 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_callback_qnas" WHERE "callback_record" IN (8236, 8237) |
| 13:05:39.067 | info | yii\db\Command::query | SELECT "id", "case_id", "engineer_id", "assignment_status", "points", "percent" FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id" IN (9256, 9255) ORDER BY "assigned_at" DESC |
| 13:05:39.070 | info | yii\db\Command::query | SELECT "id", "case_id", "engineer_id", "assignment_status", "points", "percent" FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id" IN (9256, 9255) ORDER BY "assigned_at" DESC |
| 13:05:39.071 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
| 13:05:39.071 | info | yii\db\Command::query | SELECT "id", "case_id", "following_work_content" FROM "a57be577deb434"."tbl_pre_sales" WHERE ("has_following_work"=TRUE) AND ("case_id" IN (9256, 9255)) |
| 13:05:39.073 | info | yii\db\Command::query | SELECT "id", "case_id", "following_work_content" FROM "a57be577deb434"."tbl_implement_records" WHERE ("has_following_work"=TRUE) AND ("case_id" IN (9256, 9255)) |
| 13:05:39.076 | info | yii\db\Command::query | SELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_pre_sales" WHERE ("is_draft"=FALSE) AND ("case_id" IN (9256, 9255)) GROUP BY "case_id" |
| 13:05:39.076 | info | yii\db\Command::query | SELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_implement_records" WHERE ("is_draft"=FALSE) AND ("case_id" IN (9256, 9255)) GROUP BY "case_id" |
| 13:05:39.078 | info | yii\db\Command::query | SELECT "id", "case_id" FROM "a57be577deb434"."tbl_pre_sales" WHERE ("is_draft"=TRUE) AND ("case_id" IN (9256, 9255)) |
| 13:05:39.079 | info | yii\db\Command::query | SELECT "id", "case_id" FROM "a57be577deb434"."tbl_implement_records" WHERE ("is_draft"=TRUE) AND ("case_id" IN (9256, 9255)) |
| 13:05:39.080 | info | yii\db\Command::query | SELECT "id", "case_id" FROM "a57be577deb434"."tbl_case_assignments" WHERE (("engineer_id"=1001) AND ("assignment_status"=1)) AND ("case_id" IN (9256, 9255)) ORDER BY "assigned_at" DESC |
| 13:05:39.081 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id" IN (9256, 9255)) |
| 13:05:39.086 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=104) AND ("object_id" IN (9256, 9255)) |
| 13:05:39.089 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_remind_dates" WHERE "case_id" IN (9256, 9255) |
| 13:05:39.089 | info | yii\db\Command::query | SELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_pre_sales" WHERE ("created_by"=1001) AND ("case_id" IN (9256, 9255)) GROUP BY "case_id" |
| 13:05:39.090 | info | yii\db\Command::query | SELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_implement_records" WHERE ("created_by"=1001) AND ("case_id" IN (9256, 9255)) GROUP BY "case_id" |
| 13:05:39.091 | info | yii\db\Command::query | SELECT "id", "case_id" FROM "a57be577deb434"."tbl_pre_sales" WHERE "case_id" IN (9256, 9255) |
| 13:05:39.091 | info | yii\db\Command::query | SELECT "id", "case_id" FROM "a57be577deb434"."tbl_implement_records" WHERE "case_id" IN (9256, 9255) |
| 13:05:39.093 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_task_groups" WHERE "id" IN (201, 189) |
| 13:05:39.093 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id" IN (9256, 9255) |
| 13:05:39.093 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteCase |
| 13:05:39.093 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
| 13:05:39.093 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
| 13:05:39.093 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
| 13:05:39.093 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
| 13:05:39.093 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 13:05:39.094 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_implement_records" WHERE "case_id" IN (SELECT "c"."id" FROM "a57be577deb434"."tbl_cases" "c" LEFT JOIN "a57be577deb434"."tbl_callback_records" "cb" ON cb.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = c.client_id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON p.id = c.project_id LEFT JOIN "a57be577deb434"."tbl_task_groups" "tg" ON tg.id = c.task_group_id LEFT JOIN "a57be577deb434"."tbl_implement_records" "i" ON i.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_pre_sales" "ps" ON ps.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_implement_items" "iri" ON i.id = iri.implement_record_id LEFT JOIN "a57be577deb434"."tbl_sales_group_relationships" "sgr" ON sgr.sales_id = c.deduct_points_from LEFT JOIN "a57be577deb434"."tbl_engineer_group_relationships" "egr" ON egr.engineer_id = c.last_engineer LEFT JOIN "a57be577deb434"."tbl_case_remind_dates" "crd" ON crd.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_case_remind_receivers" "crr" ON crr.remind_date_id = crd.id LEFT JOIN "a57be577deb434"."tbl_case_carbon_copy_rels" "cccr" ON cccr.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_task_group_user_relationships" "tgur" ON tg.id = tgur.task_group_id LEFT JOIN "a57be577deb434"."tbl_task_group_head_of_relationships" "tghr" ON tg.id = tghr.task_group_id WHERE ("sgr"."group_id"='1') AND ("deduct_points_from"='1001') AND (("deduct_points_from" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("deduct_points_from" IS NULL) OR ("last_engineer"=1001) OR ("crr"."user_id"=1001) OR ("client"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001)) OR ("cccr"."user_id"=1001) OR ("c"."created_by"=1001)) AND (c.task_group_id is not null) AND (("tgur"."user_id"=1001) OR ("tghr"."user_id"=1001)) AND ("deduct_points_from"='1001') AND ("c"."case_type"=2) GROUP BY "c"."id") |
| 13:05:39.100 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_pre_sales" WHERE "case_id" IN (SELECT "c"."id" FROM "a57be577deb434"."tbl_cases" "c" LEFT JOIN "a57be577deb434"."tbl_callback_records" "cb" ON cb.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = c.client_id LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON p.id = c.project_id LEFT JOIN "a57be577deb434"."tbl_task_groups" "tg" ON tg.id = c.task_group_id LEFT JOIN "a57be577deb434"."tbl_implement_records" "i" ON i.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_pre_sales" "ps" ON ps.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_implement_items" "iri" ON i.id = iri.implement_record_id LEFT JOIN "a57be577deb434"."tbl_sales_group_relationships" "sgr" ON sgr.sales_id = c.deduct_points_from LEFT JOIN "a57be577deb434"."tbl_engineer_group_relationships" "egr" ON egr.engineer_id = c.last_engineer LEFT JOIN "a57be577deb434"."tbl_case_remind_dates" "crd" ON crd.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_case_remind_receivers" "crr" ON crr.remind_date_id = crd.id LEFT JOIN "a57be577deb434"."tbl_case_carbon_copy_rels" "cccr" ON cccr.case_id = c.id LEFT JOIN "a57be577deb434"."tbl_task_group_user_relationships" "tgur" ON tg.id = tgur.task_group_id LEFT JOIN "a57be577deb434"."tbl_task_group_head_of_relationships" "tghr" ON tg.id = tghr.task_group_id WHERE ("sgr"."group_id"='1') AND ("deduct_points_from"='1001') AND (("deduct_points_from" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("deduct_points_from" IS NULL) OR ("last_engineer"=1001) OR ("crr"."user_id"=1001) OR ("client"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001)) OR ("cccr"."user_id"=1001) OR ("c"."created_by"=1001)) AND (c.task_group_id is not null) AND (("tgur"."user_id"=1001) OR ("tghr"."user_id"=1001)) AND ("deduct_points_from"='1001') AND ("c"."case_type"=1) GROUP BY "c"."id") |
| 13:05:39.110 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:39.110 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:05:39.110 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/task/list-case', '{"CaseSearch":{"case_status":"","case_type":"","group":"1","engineer_group":"","plan_at":"","satisfaction_score":"","skill_score":"","close_at":"","created_at_period":"","ticket_start_at_period":"","ticket_end_at_period":"","sales_rep":"1001","last_engineer":""},"Filter":{"name":"start_at","sort":"DESC"},"page":"1","web_access_token":"-ooNs73DKJQ01PCpcbuHx_usnaO5SdwJ"}', '{"code":2000,"result":{"list":[{"id":9256,"client_id":3432,"contact_id":6209,"project_id":"","last_engineer":5064,"case_type":1,"case_status":5,"start_at":"2026-04-23 00:00:00","closed_at":"2026-04-23 16:21:26","points":50,"deduct_points_from":1001,"created_by":1001,"created_at":"2026-04-23 16:20:56","updated_at":"2026-04-24 10:59:18","case_no":"PS260423001","description":"","spent_time":"1 hour","alarm_before":"","suspend_at":"","completed_at":"2026-04-23 16:21:13","mp_submit_contact_id":"","attachment_id":"","need_push":false,"task_group_id":201,"project":{},"services":[{"id":234,"serial_no":"ZH02","name":"\u7efc\u5408\u670d\u52a1\u5168\u5929","brand_id":33,"type_id":1,"description":"\u7efc\u5408\u670d\u52a1"}],"caseServices":[{"id":15558,"case_id":9256,"service_id":234,"quantity":1,"service":{"id":234,"serial_no":"ZH02","title":"\u7efc\u5408\u670d\u52a1\u5168\u5929","brand_id":33,"type_id":1,"description":["\u7efc\u5408\u670d\u52a1"],"points":50,"points_off_time":50,"points_holiday":50,"brand":{"id":33,"key":33,"name":"Toast"},"type":{"id":1,"key":1,"name":"\u5b89\u88c5\u670d\u52a1"}}}],"deductSales":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4},"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"},"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"}},"client":{"id":3432,"key":3432,"name":"\u4e2d\u56fd\u6c11\u822a\u7ba1\u7406\u5e72\u90e8\u5b66\u9662","client_class":80,"logo":"","sales_rep":1001,"workingAddresses":[]},"commentCount":{"object_id":9256,"comment":4},"unreadComments":{},"attachment":{},"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"lastEngineer":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","department_id":10,"avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"contact":{"id":6209,"name":"\u5f20\u79b9","email":"","sex":"M","department":"","job_position":"","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":"","client_id":3432,"user_status":2,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c"},"mobiles":[{"id":6991,"contact_id":6209,"mobile":"13810398281","mp_open_id":""}],"contactKeyRoles":[],"contactAttitude":""},"callback":{"id":8237,"client_id":3432,"contact_id":6209,"description":"","callback_date":"2026-04-23","created_by":1001,"created_at":"2026-04-23 16:21:26","updated_at":"2026-04-23 16:21:26","implement_id":"","satisfaction_score":4,"skill_score":4,"case_id":9256,"mp_submit_contact_id":"","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4},"contact":{"id":6209,"name":"\u5f20\u79b9","email":"","sex":"M","department":"","job_position":"","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":"","client_id":3432,"user_status":2},"callbackQnas":[],"satisfaction_score_display":"\u4e0d\u6ee1\u610f","skill_score_display":"\u4e0d\u6ee1\u610f"},"lastAssignment":{"id":9306,"case_id":9256,"engineer_id":5064,"assignment_status":2,"points":50,"percent":"1"},"assignments":[{"id":9306,"case_id":9256,"engineer_id":5064,"assignment_status":2,"points":50,"percent":"1","engineer":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf"}}],"preSalesCount":"","implementRecordsCount":"","notAcceptAssignment":"","attachmentRelationships":[],"files":[],"caseRemindDates":[],"selfPreSalesCount":"","selfImplementRecordsCount":"","preSales":[],"implementRecords":[],"taskGroup":{"id":201,"key":201,"name":"11"},"caseCarbonCopyRels":[],"unread":0,"reimbursementCount":0,"selfTicketCount":0,"uncompleteTickets":0,"haveDraft":0,"case_type_display":"\u552e\u524d\u54a8\u8be2","following_work_content":"","contact_callback_display":"","can_create_ticket":false,"can_update":false,"can_change_project":true,"can_change_task":true,"can_close":false,"can_suspend":false,"can_finish":false,"can_give_up":false,"can_delete":true,"can_accept":false,"can_change_type":true,"can_assigned":false,"alarm_before_display":"\u65e0","spent_time_display":"1\u5c0f\u65f6","case_status_display":"\u5df2\u5b8c\u6210","view_ticket":true,"bgcolor":"#89c541"},{"id":9255,"client_id":1956,"contact_id":3475,"project_id":1972,"last_engineer":5064,"case_type":1,"case_status":5,"start_at":"2026-04-22 16:00:00","closed_at":"2026-04-22 16:25:51","points":150,"deduct_points_from":1001,"created_by":1001,"created_at":"2026-04-22 16:24:24","updated_at":"2026-04-23 16:20:14","case_no":"PS260422001","description":"","spent_time":"1 hour","alarm_before":"","suspend_at":"","completed_at":"2026-04-22 16:25:30","mp_submit_contact_id":"","attachment_id":"","need_push":false,"task_group_id":189,"project":{"id":1972,"key":1972,"name":"Fire-eye\u7f51\u7edc\u90ae\u4ef6\u6c99\u7bb1\u7cfb\u7edf\u91c7\u8d2d"},"services":[{"id":273,"serial_no":"FA01","name":"\u6280\u672f\u65b9\u6848-\u4e00\u7ea7\u6587\u6863","brand_id":33,"type_id":9,"description":"\u6280\u672f\u65b9\u6848-\u6587\u6863"}],"caseServices":[{"id":15556,"case_id":9255,"service_id":273,"quantity":1,"service":{"id":273,"serial_no":"FA01","title":"\u6280\u672f\u65b9\u6848-\u4e00\u7ea7\u6587\u6863","brand_id":33,"type_id":9,"description":["\u6280\u672f\u65b9\u6848-\u6587\u6863"],"points":150,"points_off_time":150,"points_holiday":150,"brand":{"id":33,"key":33,"name":"Toast"},"type":{"id":9,"key":9,"name":"\u6280\u672f\u57f9\u8bad"}}}],"deductSales":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4},"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"},"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"}},"client":{"id":1956,"key":1956,"name":"\u5ea6\u5c0f\u6ee1\u79d1\u6280(\u5317\u4eac)\u6709\u9650\u516c\u53f8","client_class":43,"logo":"","sales_rep":"","workingAddresses":[]},"commentCount":{"object_id":9255,"comment":4},"unreadComments":{},"attachment":{},"salesRep":"","lastEngineer":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","department_id":10,"avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"contact":{"id":3475,"name":"\u96f7\u6625","email":"leichun@duxiaoman.com","sex":"M","department":"\u6280\u672f\u90e8","job_position":"\u6280\u672f\u5de5\u7a0b\u5e08","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":"","client_id":1956,"user_status":2,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c"},"mobiles":[{"id":3950,"contact_id":3475,"mobile":"17713557563","mp_open_id":""}],"contactKeyRoles":[{"id":137,"key":137,"name":"\u4f7f\u7528\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":140,"key":140,"name":"\u4e2d\u7acb"}},"callback":{"id":8236,"client_id":1956,"contact_id":3475,"description":"","callback_date":"2026-04-22","created_by":1001,"created_at":"2026-04-22 16:25:51","updated_at":"2026-04-22 16:25:51","implement_id":"","satisfaction_score":4,"skill_score":10,"case_id":9255,"mp_submit_contact_id":"","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4},"contact":{"id":3475,"name":"\u96f7\u6625","email":"leichun@duxiaoman.com","sex":"M","department":"\u6280\u672f\u90e8","job_position":"\u6280\u672f\u5de5\u7a0b\u5e08","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":"","client_id":1956,"user_status":2},"callbackQnas":[],"satisfaction_score_display":"\u4e0d\u6ee1\u610f","skill_score_display":"\u975e\u5e38\u6ee1\u610f"},"lastAssignment":{"id":9305,"case_id":9255,"engineer_id":5064,"assignment_status":2,"points":150,"percent":"1"},"assignments":[{"id":9305,"case_id":9255,"engineer_id":5064,"assignment_status":2,"points":150,"percent":"1","engineer":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf"}}],"preSalesCount":"","implementRecordsCount":"","notAcceptAssignment":"","attachmentRelationships":[],"files":[],"caseRemindDates":[],"selfPreSalesCount":"","selfImplementRecordsCount":"","preSales":[],"implementRecords":[],"taskGroup":{"id":189,"key":189,"name":"\u5ea6\u5c0f\u6ee1\u5b89\u5168\u6295\u6807\u9879\u76ee-\u601d\u8054\u79d1\u8baf"},"caseCarbonCopyRels":[],"unread":0,"reimbursementCount":0,"selfTicketCount":0,"uncompleteTickets":0,"haveDraft":0,"case_type_display":"\u552e\u524d\u54a8\u8be2","following_work_content":"","contact_callback_display":"","can_create_ticket":false,"can_update":false,"can_change_project":true,"can_change_task":true,"can_close":false,"can_suspend":false,"can_finish":false,"can_give_up":false,"can_delete":true,"can_accept":false,"can_change_type":true,"can_assigned":false,"alarm_before_display":"\u65e0","spent_time_display":"1\u5c0f\u65f6","case_status_display":"\u5df2\u5b8c\u6210","view_ticket":true,"bgcolor":"#89c541"}],"can_create":true,"can_view_ticket":true,"imelement_count":0,"pre_sales_count":0,"pagenation":{"totalcount":2,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-04 13:05:39', 269555968) RETURNING "id" |
| 13:05:39.112 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:05:39.112 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |