All Latest
6a1aa1a05e88e: POST https://beta.jinchangxiao.com/v2/case/list at 2026-05-30 04:36:48 pm by 139.159.170.86

Log Messages

总计85条数据
TimeLevelCategoryMessage
 
16:36:48.386traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
16:36:48.386traceyii\base\Module::getModuleLoading module: debug
16:36:48.387traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
16:36:48.387traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
16:36:48.387traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
16:36:48.387traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:48.387infotime tracing start1780130208387702016
16:36:48.387traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
16:36:48.387traceyii\web\Application::handleRequestRoute requested: 'v2/case/list'
16:36:48.387traceyii\base\Module::getModuleLoading module: v2
16:36:48.388infoyii\web\Session::openSession started
16:36:48.388infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
16:36:48.389infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='ONv_OQ6eSOxFL2I62K1e82WGipv8fS1S'
16:36:48.389traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:48.390traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:36:48.390traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:48.390traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:36:48.390infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
16:36:48.391traceyii\base\Controller::runActionRoute to run: v2/case/list
16:36:48.391traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:48.392traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
16:36:48.392traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\CaseController::actionList()
16:36:48.392traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:48.392traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:36:48.393traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:48.393traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:48.394infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT c.* FROM "a57be577deb434"."tbl_cases" "c" 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_pre_sales" "ps" ON ps.case_id = c.id AND ps.has_following_work = true LEFT JOIN "a57be577deb434"."tbl_implement_records" "ir" ON ir.case_id = c.id AND ir.has_following_work = true LEFT JOIN "a57be577deb434"."tbl_implement_records" "i" ON i.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 ("cccr"."user_id"=1000) OR ("client"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))) AND ("case_status"='2') GROUP BY "c"."id" ORDER BY "c"."updated_at" DESC) "c"
16:36:48.402infoyii\db\Command::querySELECT c.* FROM "a57be577deb434"."tbl_cases" "c" 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_pre_sales" "ps" ON ps.case_id = c.id AND ps.has_following_work = true LEFT JOIN "a57be577deb434"."tbl_implement_records" "ir" ON ir.case_id = c.id AND ir.has_following_work = true LEFT JOIN "a57be577deb434"."tbl_implement_records" "i" ON i.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 ("cccr"."user_id"=1000) OR ("client"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))) AND ("case_status"='2') GROUP BY "c"."id" ORDER BY "c"."updated_at" DESC LIMIT 10
16:36:48.409infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id" IN (4079, 3577, 4113)
16:36:48.409infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id" IN (9258, 9257, 9254, 9242)
16:36:48.410infoyii\db\Command::querySELECT "id", "serial_no", "title" AS "name", "brand_id", "type_id", "description" FROM "a57be577deb434"."tbl_services" WHERE "id" IN (233, 273)
16:36:48.410infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id" IN (9258, 9257, 9254, 9242)
16:36:48.411infoyii\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 (233, 273)
16:36:48.412infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=33
16:36:48.412infoyii\db\Command::querySELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_service_type" WHERE "id" IN (1, 9)
16:36:48.412infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1001, 5087)
16:36:48.412infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1001, 5360)
16:36:48.413infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id" IN (4, 3)
16:36:48.413infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1001, 5360))
16:36:48.413infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (3432, 3278, 2125)
16:36:48.414infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_address_rels" WHERE "client_id" IN (2125, 3278, 3432)
16:36:48.414infoyii\db\Command::querySELECT "id", "id" AS "key", "address2" AS "name" FROM "a57be577deb434"."tbl_addresses" WHERE ("address2" != '') AND ("address2" IS NOT NULL) AND ("id" IN (3799, 3800, 3801, 4410, 4411, 4412, 4413))
16:36:48.415infoyii\db\Command::querySELECT "object_id", count(*) AS comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=18) AND ("object_id" IN (9258, 9257, 9254, 9242)) GROUP BY "object_id"
16:36:48.439infoyii\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 (9258, 9257, 9254, 9242)) GROUP BY "object_id"
16:36:48.457infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (3432, 3278, 2125)
16:36:48.458infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5087, 1001)
16:36:48.458infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5064, 1015, 5085)
16:36:48.459infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (5064, 1015, 5085))
16:36:48.459infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id" IN (10, 2)
16:36:48.459infoyii\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 (6209, 5810, 4690)
16:36:48.460infoyii\db\Command::querySELECT "id", "status", "description" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2
16:36:48.460infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (4690, 5810, 6209)
16:36:48.460infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (4690, 5810, 6209)
16:36:48.461infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (1, 136, 139, 184, 189, 349, 369, 5, 185, 191)) ORDER BY "sort"
16:36:48.461infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (4690, 5810, 6209)
16:36:48.462infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (1, 136, 139, 184, 189, 349, 369, 5, 185, 191)) ORDER BY "sort"
16:36:48.462infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_callback_records" WHERE "case_id" IN (9258, 9257, 9254, 9242)
16:36:48.463infoyii\db\Command::querySELECT "id", "case_id", "engineer_id", "assignment_status", "points", "percent" FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id" IN (9258, 9257, 9254, 9242) ORDER BY "assigned_at" DESC
16:36:48.464infoyii\db\Command::querySELECT "id", "case_id", "engineer_id", "assignment_status", "points", "percent" FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id" IN (9258, 9257, 9254, 9242) ORDER BY "assigned_at" DESC
16:36:48.465infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5064, 1015, 5085)
16:36:48.465infoyii\db\Command::querySELECT "id", "case_id", "following_work_content" FROM "a57be577deb434"."tbl_pre_sales" WHERE ("has_following_work"=TRUE) AND ("case_id" IN (9258, 9257, 9254, 9242))
16:36:48.466infoyii\db\Command::querySELECT "id", "case_id", "following_work_content" FROM "a57be577deb434"."tbl_implement_records" WHERE ("has_following_work"=TRUE) AND ("case_id" IN (9258, 9257, 9254, 9242))
16:36:48.467infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_pre_sales" WHERE ("is_draft"=FALSE) AND ("case_id" IN (9258, 9257, 9254, 9242)) GROUP BY "case_id"
16:36:48.468infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_implement_records" WHERE ("is_draft"=FALSE) AND ("case_id" IN (9258, 9257, 9254, 9242)) GROUP BY "case_id"
16:36:48.469infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_pre_sales" WHERE ("is_draft"=TRUE) AND ("case_id" IN (9258, 9257, 9254, 9242))
16:36:48.470infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_implement_records" WHERE ("is_draft"=TRUE) AND ("case_id" IN (9258, 9257, 9254, 9242))
16:36:48.471infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_case_assignments" WHERE (("engineer_id"=1000) AND ("assignment_status"=1)) AND ("case_id" IN (9258, 9257, 9254, 9242)) ORDER BY "assigned_at" DESC
16:36:48.471infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id" IN (9258, 9257, 9254, 9242))
16:36:48.474infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=104) AND ("object_id" IN (9258, 9257, 9254, 9242))
16:36:48.476infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_remind_dates" WHERE "case_id" IN (9258, 9257, 9254, 9242)
16:36:48.476infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_pre_sales" WHERE ("created_by"=1000) AND ("case_id" IN (9258, 9257, 9254, 9242)) GROUP BY "case_id"
16:36:48.477infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_implement_records" WHERE ("created_by"=1000) AND ("case_id" IN (9258, 9257, 9254, 9242)) GROUP BY "case_id"
16:36:48.478infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_pre_sales" WHERE "case_id" IN (9258, 9257, 9254, 9242)
16:36:48.479infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_implement_records" WHERE "case_id" IN (9258, 9257, 9254, 9242)
16:36:48.480infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id" IN (9258, 9257, 9254, 9242)
16:36:48.480traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: deleteCase
16:36:48.480traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: TechDirector
16:36:48.480traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: SalesDirector
16:36:48.480traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: ProjectManager
16:36:48.480traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: 电话销售
16:36:48.480traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
16:36:48.481infoyii\db\Command::querySELECT count(*) as count, sum(case when "sub".case_status=1 then 1 else 0 end) countStatus1, sum(case when "sub".case_status=2 then 1 else 0 end) countStatus2, sum(case when "sub".case_status=3 then 1 else 0 end) countStatus3, sum(case when "sub".case_status=4 then 1 else 0 end) countStatus4, sum(case when "sub".case_status=5 then 1 else 0 end) countStatus5, sum(case when "sub".case_status=6 then 1 else 0 end) countStatus6 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) GROUP BY "c"."id") "sub"
16:36:48.506traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:48.506traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:36:48.506infoyii\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, 6, 176, 'v2/case/list', '{"CaseSearch":{"case_type":"","case_status":"2","sales_rep":"","last_engineer":"","keyword":""},"page":"1","pagesize":"10","posttime":"1780130207","access_token":"ONv_OQ6eSOxFL2I62K1e82WGipv8fS1S","device_type":"6","version_code":"176","token":"0e92fb1d360052bfe0115ba812930d1e"}', '{"code":200,"data":{"list":[{"id":9258,"client_id":3432,"contact_id":6209,"project_id":4079,"last_engineer":5064,"case_type":1,"case_status":2,"start_at":"2026-05-11 00:00:00","closed_at":"","points":150,"deduct_points_from":1001,"created_by":1001,"created_at":"2026-05-11 17:34:51","updated_at":"2026-05-11 17:34:51","case_no":"PS260511001","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":"","completed_at":"","mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":null,"project":{"id":4079,"key":4079,"name":"\u6c11\u822a\u5b89\u5168\u6cd5\u5f8b\u6cd5\u89c4\u6570\u636e\u5e93\u4f18\u5316\u4e0e\u5b89\u5168\u80dc\u4efb\u529b\u6d4b\u8bc4\u7cfb\u7edf\u5f00\u53d1\u9879\u76ee"},"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":15560,"case_id":9258,"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":3432,"key":3432,"name":"\u4e2d\u56fd\u6c11\u822a\u7ba1\u7406\u5e72\u90e8\u5b66\u9662","client_class":80,"logo":null,"sales_rep":1001,"workingAddresses":[]},"commentCount":{"object_id":9258,"comment":1},"unreadComments":null,"attachment":null,"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":null,"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":null}],"contactKeyRoles":[],"contactAttitude":null},"callback":null,"lastAssignment":{"id":9308,"case_id":9258,"engineer_id":5064,"assignment_status":1,"points":0,"percent":"0"},"assignments":[{"id":9308,"case_id":9258,"engineer_id":5064,"assignment_status":1,"points":0,"percent":"0","engineer":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf"}}],"preSalesCount":null,"implementRecordsCount":null,"notAcceptAssignment":null,"attachmentRelationships":[],"files":[],"caseRemindDates":[],"selfPreSalesCount":null,"selfImplementRecordsCount":null,"preSales":[],"implementRecords":[],"taskGroup":null,"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":false,"alarm_before_display":"\u65e0","spent_time_display":"1\u5c0f\u65f6","case_status_display":"\u5df2\u5206\u914d\u5f85\u786e\u8ba4","view_ticket":true,"bgcolor":"#ffc107","can_create_reimbursement":true},{"id":9257,"client_id":3432,"contact_id":6209,"project_id":4079,"last_engineer":1015,"case_type":1,"case_status":2,"start_at":"2026-04-29 00:00:00","closed_at":"","points":150,"deduct_points_from":1001,"created_by":1001,"created_at":"2026-04-29 16:05:08","updated_at":"2026-04-29 16:05:08","case_no":"PS260429001","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":"","completed_at":"","mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":null,"project":{"id":4079,"key":4079,"name":"\u6c11\u822a\u5b89\u5168\u6cd5\u5f8b\u6cd5\u89c4\u6570\u636e\u5e93\u4f18\u5316\u4e0e\u5b89\u5168\u80dc\u4efb\u529b\u6d4b\u8bc4\u7cfb\u7edf\u5f00\u53d1\u9879\u76ee"},"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":15559,"case_id":9257,"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":3432,"key":3432,"name":"\u4e2d\u56fd\u6c11\u822a\u7ba1\u7406\u5e72\u90e8\u5b66\u9662","client_class":80,"logo":null,"sales_rep":1001,"workingAddresses":[]},"commentCount":{"object_id":9257,"comment":1},"unreadComments":null,"attachment":null,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"lastEngineer":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"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":null,"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":null}],"contactKeyRoles":[],"contactAttitude":null},"callback":null,"lastAssignment":{"id":9307,"case_id":9257,"engineer_id":1015,"assignment_status":1,"points":0,"percent":"0"},"assignments":[{"id":9307,"case_id":9257,"engineer_id":1015,"assignment_status":1,"points":0,"percent":"0","engineer":{"id":1015,"key":1015,"name":"\u5434\u660a"}}],"preSalesCount":null,"implementRecordsCount":null,"notAcceptAssignment":null,"attachmentRelationships":[],"files":[],"caseRemindDates":[],"selfPreSalesCount":null,"selfImplementRecordsCount":null,"preSales":[],"implementRecords":[],"taskGroup":null,"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":false,"alarm_before_display":"\u65e0","spent_time_display":"1\u5c0f\u65f6","case_status_display":"\u5df2\u5206\u914d\u5f85\u786e\u8ba4","view_ticket":true,"bgcolor":"#ffc107","can_create_reimbursement":true},{"id":9254,"client_id":3278,"contact_id":5810,"project_id":3577,"last_engineer":5085,"case_type":1,"case_status":2,"start_at":"2026-04-20 00:00:00","closed_at":"","points":150,"deduct_points_from":1001,"created_by":1001,"created_at":"2026-04-20 14:07:56","updated_at":"2026-04-20 14:20:08","case_no":"PS260420001","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":"","completed_at":"","mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":null,"project":{"id":3577,"key":3577,"name":"PA1410\u9632\u706b\u58992\u5957\u65b0\u8d2d\u9879\u76ee"},"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":15550,"case_id":9254,"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":3278,"key":3278,"name":"\u5317\u4eac\u521b\u5b89\u5149\u901a\u79d1\u6280\u53d1\u5c55\u6709\u9650\u516c\u53f8","client_class":43,"logo":null,"sales_rep":1001,"workingAddresses":[{"id":3799,"key":3799,"name":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u8fdc\u5927\u8def81\u53f79\u5c42902"},{"id":3800,"key":3800,"name":"\u7ae5\u6a21\u8001\u5218\u674e\u9e4f\u56fe\u592a\u6781\u8001\u5218\u8001\u5218"},{"id":3801,"key":3801,"name":"\u5c0f\u6c5f\u53e4\u540c"}]},"commentCount":{"object_id":9254,"comment":3},"unreadComments":null,"attachment":null,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"lastEngineer":{"id":5085,"key":5085,"name":"\u970d\u4e1c\u9633","sex":"M","department_id":2,"avatar":{"id":51,"user_id":5085,"name":"\/files\/cdn\/a57be577deb434\/avatar\/7423f9b0-25ce-3351-871b-15d81c0dcf0f.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"contact":{"id":5810,"name":"\u6768\u8389\u6c99","email":"","sex":"F","department":"\u5546\u52a1\u90e8","job_position":"\u5546\u52a1","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":null,"client_id":3278,"user_status":2,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c"},"mobiles":[{"id":6603,"contact_id":5810,"mobile":"13581716526","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null},"callback":null,"lastAssignment":{"id":9304,"case_id":9254,"engineer_id":5085,"assignment_status":1,"points":0,"percent":"0"},"assignments":[{"id":9304,"case_id":9254,"engineer_id":5085,"assignment_status":1,"points":0,"percent":"0","engineer":{"id":5085,"key":5085,"name":"\u970d\u4e1c\u9633"}}],"preSalesCount":null,"implementRecordsCount":null,"notAcceptAssignment":null,"attachmentRelationships":[],"files":[],"caseRemindDates":[],"selfPreSalesCount":null,"selfImplementRecordsCount":null,"preSales":[],"implementRecords":[],"taskGroup":null,"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":false,"alarm_before_display":"\u65e0","spent_time_display":"1\u5c0f\u65f6","case_status_display":"\u5df2\u5206\u914d\u5f85\u786e\u8ba4","view_ticket":true,"bgcolor":"#ffc107","can_create_reimbursement":true},{"id":9242,"client_id":2125,"contact_id":4690,"project_id":4113,"last_engineer":5085,"case_type":2,"case_status":2,"start_at":"2026-03-26 09:30:00","closed_at":"","points":25,"deduct_points_from":5087,"created_by":5360,"created_at":"2026-03-24 13:58:27","updated_at":"2026-03-24 13:58:27","case_no":"IM260324002","description":"\u5b89\u88c5\u6295\u5f71\u4eea","spent_time":"1 hour","alarm_before":null,"suspend_at":"","completed_at":"","mp_submit_contact_id":null,"attachment_id":null,"need_push":false,"task_group_id":null,"project":{"id":4113,"key":4113,"name":"\u4f1a\u8bae\u5ba4\u7cfb\u7edf-K"},"services":[{"id":233,"serial_no":"ZH01","name":"\u7efc\u5408\u670d\u52a1\u534a\u5929","brand_id":33,"type_id":1,"description":"\u7efc\u5408\u670d\u52a1"}],"caseServices":[{"id":15530,"case_id":9242,"service_id":233,"quantity":1,"service":{"id":233,"serial_no":"ZH01","title":"\u7efc\u5408\u670d\u52a1\u534a\u5929","brand_id":33,"type_id":1,"description":["\u7efc\u5408\u670d\u52a1"],"points":25,"points_off_time":25,"points_holiday":25,"brand":{"id":33,"key":33,"name":"Toast"},"type":{"id":1,"key":1,"name":"\u5b89\u88c5\u670d\u52a1"}}}],"deductSales":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1},"createdBy":{"id":5360,"key":5360,"name":"\u5f20\u7ea2\u82b3","sex":"F","department_id":3,"department":{"id":3,"key":3,"name":"\u5546\u52a1\u90e8"},"avatar":{"id":153,"user_id":5360,"name":"\/files\/cdn\/a57be577deb434\/avatar\/612c2410-e800-3507-aa05-3f1fbeb408a7.png"}},"client":{"id":2125,"key":2125,"name":"\u5317\u4eac\u673a\u5668\u5236\u9020\u6709\u9650\u516c\u53f8","client_class":47,"logo":null,"sales_rep":5087,"workingAddresses":[{"id":4410,"key":4410,"name":"\u5317\u4eac\u5e02\u4e1c\u57ce\u533a:\u5317\u4eac\u822a\u661f\u673a\u5668\u5236\u9020\u6709\u9650\u516c\u53f8"},{"id":4411,"key":4411,"name":"\u4e09\u6cb3\u5e02\u91d1\u5cad\u6e90"},{"id":4412,"key":4412,"name":"\u4e91\u5c97\u822a\u5929\u90e8\u4e09\u9662159\u5382"},{"id":4413,"key":4413,"name":"\u5929\u6d25\u5e02\u822a\u5b87\u5609\u745e\u79d1\u6280\u80a1\u4efd\u6709\u9650\u516c\u53f8"}]},"commentCount":{"object_id":9242,"comment":1},"unreadComments":null,"attachment":null,"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"},"lastEngineer":{"id":5085,"key":5085,"name":"\u970d\u4e1c\u9633","sex":"M","department_id":2,"avatar":{"id":51,"user_id":5085,"name":"\/files\/cdn\/a57be577deb434\/avatar\/7423f9b0-25ce-3351-871b-15d81c0dcf0f.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"contact":{"id":4690,"name":"\u56fd\u96f7\u519b","email":"","sex":"M","department":"","job_position":"","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":null,"client_id":2125,"user_status":2,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c"},"mobiles":[{"id":5498,"contact_id":4690,"mobile":"18610592628","mp_open_id":null}],"contactKeyRoles":[{"id":136,"key":136,"name":"\u6280\u672f\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":139,"key":139,"name":"\u652f\u6301"}},"callback":null,"lastAssignment":{"id":9294,"case_id":9242,"engineer_id":5085,"assignment_status":1,"points":0,"percent":"0"},"assignments":[{"id":9294,"case_id":9242,"engineer_id":5085,"assignment_status":1,"points":0,"percent":"0","engineer":{"id":5085,"key":5085,"name":"\u970d\u4e1c\u9633"}}],"preSalesCount":null,"implementRecordsCount":null,"notAcceptAssignment":null,"attachmentRelationships":[],"files":[],"caseRemindDates":[],"selfPreSalesCount":null,"selfImplementRecordsCount":null,"preSales":[],"implementRecords":[],"taskGroup":null,"caseCarbonCopyRels":[],"unread":0,"reimbursementCount":0,"selfTicketCount":0,"uncompleteTickets":0,"haveDraft":0,"case_type_display":"\u5b9e\u65bd\u670d\u52a1","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":false,"alarm_before_display":"\u65e0","spent_time_display":"1\u5c0f\u65f6","case_status_display":"\u5df2\u5206\u914d\u5f85\u786e\u8ba4","view_ticket":true,"bgcolor":"#ffc107","can_create_reimbursement":true}],"countList":[{"key":1,"value":2},{"key":2,"value":4},{"key":3,"value":5},{"key":4,"value":15},{"key":5,"value":8338},{"key":6,"value":158}],"pagenation":{"totalcount":4,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"139.159.170.86","ua":"jinchangxiao\/1.0.40 (HUAWEI Mate 80 Pro SGT-AL50; HarmonyOS 6.1.0)"}', FALSE, '2026-05-30 16:36:48', 119023104) RETURNING "id"