Log Messages

总计87条数据
TimeLevelCategoryMessage
 
20:40:17.970traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
20:40:17.970traceyii\base\Module::getModuleLoading module: debug
20:40:17.971traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
20:40:17.971traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
20:40:17.971traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
20:40:17.972traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:17.972infotime tracing start1780231217972320000
20:40:17.972traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
20:40:17.972traceyii\web\Application::handleRequestRoute requested: 'v2/task/list-case'
20:40:17.972traceyii\base\Module::getModuleLoading module: v2
20:40:17.982infoyii\web\Session::openSession started
20:40:17.983infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
20:40:17.984infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='ONv_OQ6eSOxFL2I62K1e82WGipv8fS1S'
20:40:17.986traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:17.986traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:17.986traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:17.987traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:17.988infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
20:40:17.989traceyii\base\Controller::runActionRoute to run: v2/task/list-case
20:40:17.989traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\TaskController::actionListCase()
20:40:17.990traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:17.990traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:17.996traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:17.997traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:17.999infoyii\db\Command::querySELECT 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 WHERE (("deduct_points_from" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 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, 5409, 5412, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("deduct_points_from" IS NULL) OR ("last_engineer"=1000) OR ("crr"."user_id"=1000) OR ("client"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000)) OR ("cccr"."user_id"=1000) OR ("c"."created_by"=1000)) AND (c.task_group_id is not null) GROUP BY "c"."id" ORDER BY "c"."updated_at" DESC) "c"
20:40:18.012infoyii\db\Command::querySELECT 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 WHERE (("deduct_points_from" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 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, 5409, 5412, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("deduct_points_from" IS NULL) OR ("last_engineer"=1000) OR ("crr"."user_id"=1000) OR ("client"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000)) OR ("cccr"."user_id"=1000) OR ("c"."created_by"=1000)) AND (c.task_group_id is not null) GROUP BY "c"."id" ORDER BY "c"."updated_at" DESC LIMIT 20
20:40:18.024infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id" IN (3854, 1972)
20:40:18.025infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id" IN (9259, 9256, 9255)
20:40:18.026infoyii\db\Command::querySELECT "id", "serial_no", "title" AS "name", "brand_id", "type_id", "description" FROM "a57be577deb434"."tbl_services" WHERE "id" IN (273, 234)
20:40:18.027infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id" IN (9259, 9256, 9255)
20:40:18.028infoyii\db\Command::querySELECT "id", "serial_no", "title", "brand_id", "type_id", "description", "points", "points_off_time", "points_holiday" FROM "a57be577deb434"."tbl_services" WHERE "id" IN (273, 234)
20:40:18.030infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=33
20:40:18.031infoyii\db\Command::querySELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_service_type" WHERE "id" IN (1, 9)
20:40:18.031infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5087, 1001)
20:40:18.032infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5064, 1001)
20:40:18.032infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id" IN (10, 4)
20:40:18.033infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (5064, 1001))
20:40:18.033infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (2128, 3432, 1956)
20:40:18.035infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_address_rels" WHERE "client_id" IN (1956, 2128, 3432)
20:40:18.036infoyii\db\Command::querySELECT "id", "id" AS "key", "address2" AS "name" FROM "a57be577deb434"."tbl_addresses" WHERE ("address2" != '') AND ("address2" IS NOT NULL) AND ("id" IN (2320, 4409))
20:40:18.036infoyii\db\Command::querySELECT "object_id", count(*) AS comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=18) AND ("object_id" IN (9259, 9256, 9255)) GROUP BY "object_id"
20:40:18.062infoyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=18) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id" IN (9259, 9256, 9255)) GROUP BY "object_id"
20:40:18.097infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (2128, 3432, 1956)
20:40:18.098infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5087, 1001)
20:40:18.099infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
20:40:18.099infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5064)
20:40:18.100infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10
20:40:18.100infoyii\db\Command::querySELECT "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 (5976, 6209, 3475)
20:40:18.106infoyii\db\Command::querySELECT "id", "status", "description" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2
20:40:18.106infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (3475, 5976, 6209)
20:40:18.108infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (3475, 5976, 6209)
20:40:18.108infoyii\db\Command::querySELECT "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, 139)) ORDER BY "sort"
20:40:18.109infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (3475, 5976, 6209)
20:40:18.110infoyii\db\Command::querySELECT "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, 139)) ORDER BY "sort"
20:40:18.110infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_callback_records" WHERE "case_id" IN (9259, 9256, 9255)
20:40:18.113infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
20:40:18.113infoyii\db\Command::querySELECT "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)
20:40:18.114infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_callback_qnas" WHERE "callback_record" IN (8236, 8237)
20:40:18.115infoyii\db\Command::querySELECT "id", "case_id", "engineer_id", "assignment_status", "points", "percent" FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id" IN (9259, 9256, 9255) ORDER BY "assigned_at" DESC
20:40:18.117infoyii\db\Command::querySELECT "id", "case_id", "engineer_id", "assignment_status", "points", "percent" FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id" IN (9259, 9256, 9255) ORDER BY "assigned_at" DESC
20:40:18.119infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064
20:40:18.119infoyii\db\Command::querySELECT "id", "case_id", "following_work_content" FROM "a57be577deb434"."tbl_pre_sales" WHERE ("has_following_work"=TRUE) AND ("case_id" IN (9259, 9256, 9255))
20:40:18.120infoyii\db\Command::querySELECT "id", "case_id", "following_work_content" FROM "a57be577deb434"."tbl_implement_records" WHERE ("has_following_work"=TRUE) AND ("case_id" IN (9259, 9256, 9255))
20:40:18.123infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_pre_sales" WHERE ("is_draft"=FALSE) AND ("case_id" IN (9259, 9256, 9255)) GROUP BY "case_id"
20:40:18.123infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_implement_records" WHERE ("is_draft"=FALSE) AND ("case_id" IN (9259, 9256, 9255)) GROUP BY "case_id"
20:40:18.126infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_pre_sales" WHERE ("is_draft"=TRUE) AND ("case_id" IN (9259, 9256, 9255))
20:40:18.127infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_implement_records" WHERE ("is_draft"=TRUE) AND ("case_id" IN (9259, 9256, 9255))
20:40:18.129infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_case_assignments" WHERE (("engineer_id"=1000) AND ("assignment_status"=1)) AND ("case_id" IN (9259, 9256, 9255)) ORDER BY "assigned_at" DESC
20:40:18.130infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id" IN (9259, 9256, 9255))
20:40:18.133infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=104) AND ("object_id" IN (9259, 9256, 9255))
20:40:18.137infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_remind_dates" WHERE "case_id" IN (9259, 9256, 9255)
20:40:18.137infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_pre_sales" WHERE ("created_by"=1000) AND ("case_id" IN (9259, 9256, 9255)) GROUP BY "case_id"
20:40:18.138infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_implement_records" WHERE ("created_by"=1000) AND ("case_id" IN (9259, 9256, 9255)) GROUP BY "case_id"
20:40:18.140infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_pre_sales" WHERE "case_id" IN (9259, 9256, 9255)
20:40:18.141infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_implement_records" WHERE "case_id" IN (9259, 9256, 9255)
20:40:18.143infoyii\db\Command::querySELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_task_groups" WHERE "id" IN (202, 201, 189)
20:40:18.143infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id" IN (9259, 9256, 9255)
20:40:18.144traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:18.146traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: deleteCase
20:40:18.146traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: TechDirector
20:40:18.146traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: SalesDirector
20:40:18.146traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: ProjectManager
20:40:18.146traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: 电话销售
20:40:18.146traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
20:40:18.147traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
20:40:18.147traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
20:40:18.148infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1000, 2, 1158, 'v2/task/list-case', '{"CaseSearch":{"case_status":"","case_type":"","last_engineer":"","sales_rep":""},"access_token":"ONv_OQ6eSOxFL2I62K1e82WGipv8fS1S","device_type":"2","posttime":"1780231168","token":"e793d9e2c3e145d6a2d5f08bf042621f","version_code":"1158"}', '{"code":200,"data":{"list":[{"id":9259,"client_id":2128,"contact_id":5976,"project_id":3854,"last_engineer":"","case_type":1,"case_status":1,"start_at":"2026-05-21 00:00:00","closed_at":"","points":150,"deduct_points_from":5087,"created_by":5064,"created_at":"2026-05-21 17:47:34","updated_at":"2026-05-21 17:47:34","case_no":"PS260521001","description":"","spent_time":"1 hour","alarm_before":"","suspend_at":"","completed_at":"","mp_submit_contact_id":"","attachment_id":"","need_push":false,"task_group_id":202,"project":{"id":3854,"key":3854,"name":"\u5907\u4efd\u9879\u76ee\u4e8c\u671f"},"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":15561,"case_id":9259,"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":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1},"createdBy":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","department_id":10,"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"},"avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"}},"client":{"id":2128,"key":2128,"name":"\u5317\u4eac\u79d1\u6280\u6709\u9650\u516c\u53f8","client_class":47,"logo":"","sales_rep":5087,"workingAddresses":[{"id":4409,"key":4409,"name":"\u5317\u4eac\u5e02\u4e30\u53f0\u533a\u4e91\u5c97\u8857\u9053\u822a\u5929\u4e09\u9662\uff08\u5357\u95e8\uff09"}]},"commentCount":{"object_id":9259,"comment":2},"unreadComments":"","attachment":"","salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"},"lastEngineer":"","contact":{"id":5976,"name":"\u5f20\u667a\u666e","email":"","sex":"M","department":"","job_position":"","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":"","client_id":2128,"user_status":2,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c"},"mobiles":[{"id":6764,"contact_id":5976,"mobile":"13611367526","mp_open_id":""}],"contactKeyRoles":[],"contactAttitude":{"id":139,"key":139,"name":"\u652f\u6301"}},"callback":"","lastAssignment":"","assignments":[],"preSalesCount":"","implementRecordsCount":"","notAcceptAssignment":"","attachmentRelationships":[],"files":[],"caseRemindDates":[],"selfPreSalesCount":"","selfImplementRecordsCount":"","preSales":[],"implementRecords":[],"taskGroup":{"id":202,"key":202,"name":"\u5907\u4efd\u9879\u76ee\u4e8c\u671f"},"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":true,"can_change_project":false,"can_change_task":false,"can_close":false,"can_suspend":true,"can_finish":false,"can_give_up":false,"can_delete":true,"can_accept":false,"can_change_type":true,"can_assigned":true,"alarm_before_display":"\u65e0","spent_time_display":"1\u5c0f\u65f6","case_status_display":"Case\u5f85\u5206\u914d","view_ticket":true,"bgcolor":"#d9534f"},{"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,"pagenation":{"totalcount":3,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"117.176.186.93","ua":"jinchangxiao\/2.3.155 (iPhone 12 mini; iOS 26.2; Scale\/3.00)"}', FALSE, '2026-05-31 20:40:18', 176189952) RETURNING "id"