| 13:37:46.609 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 13:37:46.609 | trace | yii\base\Module::getModule | Loading module: debug |
| 13:37:46.610 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 13:37:46.610 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 13:37:46.610 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 13:37:46.611 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:46.611 | info | time tracing start | 1781674666611486976 |
| 13:37:46.611 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 13:37:46.611 | trace | yii\web\Application::handleRequest | Route requested: 'v2/case/get-edit' |
| 13:37:46.611 | trace | yii\base\Module::getModule | Loading module: v2 |
| 13:37:46.612 | info | yii\web\Session::open | Session started |
| 13:37:46.614 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 13:37:46.614 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC' |
| 13:37:46.615 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:46.616 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:46.616 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:46.616 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:46.617 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 13:37:46.617 | trace | yii\base\Controller::runAction | Route to run: v2/case/get-edit |
| 13:37:46.618 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\CaseController::actionGetEdit() |
| 13:37:46.618 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='9262' |
| 13:37:46.620 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=4176 |
| 13:37:46.621 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=9262 |
| 13:37:46.622 | info | yii\db\Command::query | SELECT "id", "serial_no", "title" AS "name", "brand_id", "type_id", "description" FROM "a57be577deb434"."tbl_services" WHERE "id"=273 |
| 13:37:46.623 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id"=9262 |
| 13:37:46.624 | 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"=273 |
| 13:37:46.625 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=33 |
| 13:37:46.625 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "title" AS "name" FROM "a57be577deb434"."tbl_service_type" WHERE "id"=9 |
| 13:37:46.626 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5449 |
| 13:37:46.626 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:37:46.627 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4 |
| 13:37:46.628 | 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:37:46.628 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id"=3464 |
| 13:37:46.629 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_address_rels" WHERE "client_id"=3464 |
| 13:37:46.630 | info | yii\db\Command::query | SELECT "object_id", count(*) AS comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=18) AND ("object_id"=9262) GROUP BY "object_id" |
| 13:37:46.673 | info | yii\db\Command::query | SELECT "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"=9262) GROUP BY "object_id" |
| 13:37:46.709 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3464 |
| 13:37:46.710 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
| 13:37:46.710 | 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:37:46.711 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10 |
| 13:37:46.711 | 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"=6258 |
| 13:37:46.713 | info | yii\db\Command::query | SELECT "id", "status", "description" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2 |
| 13:37:46.713 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=6258 |
| 13:37:46.714 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6258 |
| 13:37:46.715 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (5, 184, 349, 356)) ORDER BY "sort" |
| 13:37:46.716 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6258 |
| 13:37:46.716 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (5, 184, 349, 356)) ORDER BY "sort" |
| 13:37:46.717 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_callback_records" WHERE "case_id"=9262 |
| 13:37:46.719 | info | yii\db\Command::query | SELECT "id", "case_id", "engineer_id", "assignment_status", "points", "percent" FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id"=9262 ORDER BY "assigned_at" DESC |
| 13:37:46.720 | info | yii\db\Command::query | SELECT "id", "case_id", "engineer_id", "assignment_status", "points", "percent" FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id"=9262 ORDER BY "assigned_at" DESC |
| 13:37:46.721 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
| 13:37:46.722 | 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"=9262) |
| 13:37:46.723 | 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"=9262) |
| 13:37:46.726 | info | yii\db\Command::query | SELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_pre_sales" WHERE ("is_draft"=FALSE) AND ("case_id"=9262) GROUP BY "case_id" |
| 13:37:46.727 | info | yii\db\Command::query | SELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_implement_records" WHERE ("is_draft"=FALSE) AND ("case_id"=9262) GROUP BY "case_id" |
| 13:37:46.729 | info | yii\db\Command::query | SELECT "id", "case_id" FROM "a57be577deb434"."tbl_pre_sales" WHERE ("is_draft"=TRUE) AND ("case_id"=9262) |
| 13:37:46.730 | info | yii\db\Command::query | SELECT "id", "case_id" FROM "a57be577deb434"."tbl_implement_records" WHERE ("is_draft"=TRUE) AND ("case_id"=9262) |
| 13:37:46.732 | info | yii\db\Command::query | SELECT "id", "case_id" FROM "a57be577deb434"."tbl_case_assignments" WHERE (("engineer_id"=1000) AND ("assignment_status"=1)) AND ("case_id"=9262) ORDER BY "assigned_at" DESC |
| 13:37:46.733 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id"=9262) |
| 13:37:46.737 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=104) AND ("object_id"=9262) |
| 13:37:46.741 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_remind_dates" WHERE "case_id"=9262 |
| 13:37:46.741 | info | yii\db\Command::query | SELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_pre_sales" WHERE ("created_by"=1000) AND ("case_id"=9262) GROUP BY "case_id" |
| 13:37:46.742 | info | yii\db\Command::query | SELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_implement_records" WHERE ("created_by"=1000) AND ("case_id"=9262) GROUP BY "case_id" |
| 13:37:46.745 | info | yii\db\Command::query | SELECT "id", "case_id" FROM "a57be577deb434"."tbl_pre_sales" WHERE "case_id"=9262 |
| 13:37:46.746 | info | yii\db\Command::query | SELECT "pre_sales_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (1, 2, 3)) AND ("pre_sales_id"=1946) GROUP BY "pre_sales_id" |
| 13:37:46.748 | info | yii\db\Command::query | SELECT "id", "case_id" FROM "a57be577deb434"."tbl_implement_records" WHERE "case_id"=9262 |
| 13:37:46.750 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id"=9262 |
| 13:37:46.751 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:46.753 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:46.755 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:46.756 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteCase |
| 13:37:46.756 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
| 13:37:46.756 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
| 13:37:46.756 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
| 13:37:46.756 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
| 13:37:46.756 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 13:37:46.757 | info | yii\db\Command::query | SELECT "user_id" FROM "a57be577deb434"."tbl_user_role_change_logs" "urcl" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON urcl.user_id = u.id WHERE ("role_name"='Engineer') AND (((start_from < end_at) or end_at is null)) AND (tsrange(start_from::TIMESTAMP, end_at::TIMESTAMP, '[)') && '[2026-06-17 13:37:46, 2026-06-17 13:37:46]'::tsrange) GROUP BY "user_id", "pinyin1", "namecut1", "pinyin2", "namecut2", "pinyin3", "namecut3", "pinyin4", "namecut4" ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 13:37:46.758 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:46.758 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:46.759 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_engineer_group_relationships" WHERE "engineer_id" IN (5085, 5248, 1015, 1022, 5064, 1023) |
| 13:37:46.759 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:46.759 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_engineer_group_relationships'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 13:37:46.764 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_engineer_group_relationships'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 13:37:46.782 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:46.782 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 13:37:46.786 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_engineer_groups" WHERE "id"=1 |
| 13:37:46.788 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:46.788 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_engineer_groups'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 13:37:46.791 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_engineer_groups'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 13:37:46.808 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:46.808 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 13:37:46.809 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:46.809 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:46.810 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1000, 6, 177, 'v2/case/get-edit', '{"id":"9262","posttime":"1781674665","access_token":"R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC","device_type":"6","version_code":"177","token":"30e027f3afe06559404c0a32995a0c46"}', '{"code":200,"data":{"model":{"id":9262,"client_id":3464,"contact_id":6258,"project_id":4176,"last_engineer":5064,"case_type":1,"case_status":3,"start_at":"2026-06-02 00:00:00","closed_at":"","points":150,"deduct_points_from":5449,"created_by":1001,"created_at":"2026-06-02 18:08:44","updated_at":"2026-06-02 18:10:00","case_no":"PS260602001","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":4176,"key":4176,"name":"\u9500\u552e\u7ebf\u7d22\u751f\u621020260602003"},"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":15564,"case_id":9262,"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":5449,"key":5449,"name":"\u5468\u4e3d\u98de","sex":"F","department_id":1},"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":3464,"key":3464,"name":"\u9690\u6027\u9700\u6c42","client_class":null,"logo":null,"sales_rep":null,"workingAddresses":[]},"commentCount":{"object_id":9262,"comment":3},"unreadComments":null,"attachment":null,"salesRep":null,"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":6258,"name":"12","email":"","sex":"M","department":null,"job_position":null,"mobile":"13566666666","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":null,"client_id":3464,"user_status":2,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c"},"mobiles":[{"id":7042,"contact_id":6258,"mobile":"13566666666","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null},"callback":null,"lastAssignment":{"id":9311,"case_id":9262,"engineer_id":5064,"assignment_status":2,"points":0,"percent":"0"},"assignments":[{"id":9311,"case_id":9262,"engineer_id":5064,"assignment_status":2,"points":0,"percent":"0","engineer":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf"}}],"preSalesCount":{"case_id":9262,"count":1},"implementRecordsCount":null,"notAcceptAssignment":null,"attachmentRelationships":[],"files":[],"caseRemindDates":[],"selfPreSalesCount":null,"selfImplementRecordsCount":null,"preSales":[{"id":1946,"case_id":9262,"reimbursementCount":null}],"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":false,"can_assigned":false,"alarm_before_display":"\u65e0","spent_time_display":"1\u5c0f\u65f6","case_status_display":"\u670d\u52a1\u4e2d","view_ticket":true,"bgcolor":"#17a2b8"},"options":[{"key":"Cases[case_type]","name":"Case\u7c7b\u578b","value":[{"key":1,"name":"\u552e\u524d\u54a8\u8be2"},{"key":2,"name":"\u5b9e\u65bd\u670d\u52a1"}]},{"key":"Cases[spent_time]","name":"\u8ba1\u5212\u7528\u65f6","value":[{"key":"1 hour","name":"1\u5c0f\u65f6"},{"key":"2 hour","name":"2\u5c0f\u65f6"},{"key":"3 hour","name":"3\u5c0f\u65f6"},{"key":"4 hour","name":"4\u5c0f\u65f6"},{"key":"5 hour","name":"5\u5c0f\u65f6"},{"key":"6 hour","name":"6\u5c0f\u65f6"},{"key":"7 hour","name":"7\u5c0f\u65f6"},{"key":"8 hour","name":"8\u5c0f\u65f6"},{"key":"9 hour","name":"9\u5c0f\u65f6"},{"key":"10 hour","name":"10\u5c0f\u65f6"},{"key":"11 hour","name":"11\u5c0f\u65f6"},{"key":"12 hour","name":"12\u5c0f\u65f6"},{"key":"24 hour","name":"1\u5929"},{"key":"48 hour","name":"2\u5929"},{"key":"72 hour","name":"3\u5929"},{"key":"96 hour","name":"4\u5929"},{"key":"120 hour","name":"5\u5929"}]},{"key":"Cases[alarm_before]","name":"\u63d0\u9192\u65f6\u95f4","value":[{"key":"","name":"\u65e0"},{"key":"00:05:00","name":"\u63d0\u524d5\u5206\u949f"},{"key":"00:15:00","name":"\u63d0\u524d15\u5206\u949f"},{"key":"00:30:00","name":"\u63d0\u524d30\u5206\u949f"},{"key":"01:00:00","name":"\u63d0\u524d1\u5c0f\u65f6"},{"key":"02:00:00","name":"\u63d0\u524d2\u5c0f\u65f6"},{"key":"24:00:00","name":"\u63d0\u524d1\u5929"},{"key":"48:00:00","name":"\u63d0\u524d2\u5929"},{"key":"168:00:00","name":"\u63d0\u524d7\u5929"}]},{"key":"Cases[last_engineer]","name":"\u5de5\u7a0b\u5e08","value":[{"key":5085,"name":"\u970d\u4e1c\u9633 (\u5168\u4f53)"},{"key":5248,"name":"\u6587\u4f73\u9f99 (\u5168\u4f53)"},{"key":1015,"name":"\u5434\u660a (\u5168\u4f53)"},{"key":1022,"name":"\u5f90\u7855 (\u5168\u4f53)"},{"key":5064,"name":"\u59da\u96ea\u7eaf (\u5168\u4f53)"},{"key":1023,"name":"\u5468\u5b50\u5065 (\u5168\u4f53)"}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"39.156.194.178","ua":"jinchangxiao\/1.0.41 (HUAWEI Mate 60 BRA-AL00; HarmonyOS 6.1.0)"}', FALSE, '2026-06-17 13:37:46', 198394880) RETURNING "id" |