Log Messages

总计83条数据
TimeLevelCategoryMessage
 
10:11:57.570traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
10:11:57.570traceyii\base\Module::getModuleLoading module: debug
10:11:57.571traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
10:11:57.571traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
10:11:57.571traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
10:11:57.572traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:11:57.572traceyii\base\Module::getModuleLoading module: gii
10:11:57.572traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
10:11:57.573traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
10:11:57.573traceyii\web\Application::handleRequestRoute requested: 'v2/case/list'
10:11:57.573traceyii\base\Module::getModuleLoading module: v2
10:11:57.596infoyii\web\Session::openSession started
10:11:57.607infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
10:11:57.612infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u'
10:11:57.622traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:11:57.622traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:11:57.631traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:11:57.631traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:11:57.632infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
10:11:57.634traceyii\base\Controller::runActionRoute to run: v2/case/list
10:11:57.653traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:11:57.666traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
10:11:57.666traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\CaseController::actionList()
10:11:57.692traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:11:57.699infoyii\db\Command::querySELECT 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_cases' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
10:11:57.712infoyii\db\Command::queryselect 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_cases' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
10:11:57.757traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:11:57.757traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
10:11:57.795traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:11:57.796traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:11:57.799infoyii\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, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 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"='1') GROUP BY "c"."id" ORDER BY "c"."updated_at" DESC) "c"
10:11:57.931infoyii\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, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 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"='1') GROUP BY "c"."id" ORDER BY "c"."updated_at" DESC LIMIT 10
10:11:58.022infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=3786
10:11:58.034infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id" IN (8267, 8266, 8265, 8260)
10:11:58.038infoyii\db\Command::querySELECT "id", "serial_no", "title" AS "name", "brand_id", "type_id", "description" FROM "a57be577deb434"."tbl_services" WHERE "id"=275
10:11:58.053infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_services" WHERE "case_id" IN (8267, 8266, 8265, 8260)
10:11:58.059infoyii\db\Command::querySELECT "id", "serial_no", "title", "brand_id", "type_id", "description", "points", "points_off_time", "points_holiday" FROM "a57be577deb434"."tbl_services" WHERE "id"=275
10:11:58.067infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
10:11:58.076infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5064, 1001)
10:11:58.100infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id" IN (4, 10)
10:11:58.118infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1001, 5064))
10:11:58.120infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334
10:11:58.126infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_address_rels" WHERE "client_id"=3334
10:11:58.131infoyii\db\Command::querySELECT "id", "id" AS "key", "address2" AS "name" FROM "a57be577deb434"."tbl_addresses" WHERE ("address2" != '') AND ("address2" IS NOT NULL) AND ("id"=4094)
10:11:58.135infoyii\db\Command::querySELECT "object_id", count(*) AS comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=18) AND ("object_id" IN (8267, 8266, 8265, 8260)) GROUP BY "object_id"
10:11:58.209infoyii\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 (8267, 8266, 8265, 8260)) GROUP BY "object_id"
10:11:58.258infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334
10:11:58.265infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
10:11:58.265infoyii\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"=6002
10:11:58.281infoyii\db\Command::querySELECT "id", "status", "description" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2
10:11:58.284infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=6002
10:11:58.302infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6002
10:11:58.319infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (2, 184, 189, 349)) ORDER BY "sort"
10:11:58.326infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6002
10:11:58.328infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (2, 184, 189, 349)) ORDER BY "sort"
10:11:58.328infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_callback_records" WHERE "case_id" IN (8267, 8266, 8265, 8260)
10:11:58.356infoyii\db\Command::querySELECT "id", "case_id", "engineer_id", "assignment_status", "points", "percent" FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id" IN (8267, 8266, 8265, 8260) ORDER BY "assigned_at" DESC
10:11:58.385infoyii\db\Command::querySELECT "id", "case_id", "engineer_id", "assignment_status", "points", "percent" FROM "a57be577deb434"."tbl_case_assignments" WHERE "case_id" IN (8267, 8266, 8265, 8260) ORDER BY "assigned_at" DESC
10:11:58.397infoyii\db\Command::querySELECT "id", "case_id", "following_work_content" FROM "a57be577deb434"."tbl_pre_sales" WHERE ("has_following_work"=TRUE) AND ("case_id" IN (8267, 8266, 8265, 8260))
10:11:58.401infoyii\db\Command::querySELECT "id", "case_id", "following_work_content" FROM "a57be577deb434"."tbl_implement_records" WHERE ("has_following_work"=TRUE) AND ("case_id" IN (8267, 8266, 8265, 8260))
10:11:58.404infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_pre_sales" WHERE "case_id" IN (8267, 8266, 8265, 8260) GROUP BY "case_id"
10:11:58.405infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_implement_records" WHERE "case_id" IN (8267, 8266, 8265, 8260) GROUP BY "case_id"
10:11:58.407infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_pre_sales" WHERE ("is_draft"=TRUE) AND ("case_id" IN (8267, 8266, 8265, 8260))
10:11:58.410infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_implement_records" WHERE ("is_draft"=TRUE) AND ("case_id" IN (8267, 8266, 8265, 8260))
10:11:58.414infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_case_assignments" WHERE (("engineer_id"=1000) AND ("assignment_status"=1)) AND ("case_id" IN (8267, 8266, 8265, 8260)) ORDER BY "assigned_at" DESC
10:11:58.415infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=25) AND ("object_id" IN (8267, 8266, 8265, 8260))
10:11:58.428infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=104) AND ("object_id" IN (8267, 8266, 8265, 8260))
10:11:58.431infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_remind_dates" WHERE "case_id" IN (8267, 8266, 8265, 8260)
10:11:58.431infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_pre_sales" WHERE ("created_by"=1000) AND ("case_id" IN (8267, 8266, 8265, 8260)) GROUP BY "case_id"
10:11:58.434infoyii\db\Command::querySELECT "case_id", count(*) AS count FROM "a57be577deb434"."tbl_implement_records" WHERE ("created_by"=1000) AND ("case_id" IN (8267, 8266, 8265, 8260)) GROUP BY "case_id"
10:11:58.436infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_pre_sales" WHERE "case_id" IN (8267, 8266, 8265, 8260)
10:11:58.437infoyii\db\Command::querySELECT "id", "case_id" FROM "a57be577deb434"."tbl_implement_records" WHERE "case_id" IN (8267, 8266, 8265, 8260)
10:11:58.445infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_case_carbon_copy_rels" WHERE "case_id" IN (8267, 8266, 8265, 8260)
10:11:58.451traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: deleteCase
10:11:58.451traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: TechDirector
10:11:58.451traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: SalesDirector
10:11:58.451traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: 电话销售
10:11:58.451traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: CommercialAttache
10:11:58.451traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
10:11:58.452infoyii\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, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 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"
10:11:58.514traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:11:58.516traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:11:58.519infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 0, 261, 'v2/case/list', '{"access_token":"rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u","CaseSearch":{"case_status":"1","sales_rep":"","last_engineer":"","case_type":""},"device_type":"0","version_code":"261","page":"1","token":"23fcee47b0ecfbc12991f871033de396","posttime":"1751422316","pagesize":"10"}', '{"code":200,"data":{"list":[{"id":8267,"client_id":3334,"contact_id":6002,"project_id":3786,"last_engineer":null,"case_type":1,"case_status":1,"start_at":"2025-05-26 17:17:00","closed_at":"","points":250,"deduct_points_from":1001,"created_by":5064,"created_at":"2025-05-26 17:17:18","updated_at":"2025-06-09 21:32:47","case_no":"PS250526003","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":"","completed_at":"","mp_submit_contact_id":null,"attachment_id":null,"need_push":true,"task_group_id":null,"project":{"id":3786,"key":3786,"name":"\u8fdc\u9274\u8f6f\u4ef6-\u8fc7\u7a0b\u76d1\u63a7\u4ea7\u54c1"},"services":[{"id":275,"serial_no":"FA02","name":"\u6280\u672f\u65b9\u6848-\u4e8c\u7ea7\u6587\u6863","brand_id":null,"type_id":null,"description":"\u6280\u672f\u65b9\u6848-\u6587\u6863"}],"caseServices":[{"id":13427,"case_id":8267,"service_id":275,"quantity":1,"service":{"id":275,"serial_no":"FA02","title":"\u6280\u672f\u65b9\u6848-\u4e8c\u7ea7\u6587\u6863","brand_id":null,"type_id":null,"description":["\u6280\u672f\u65b9\u6848-\u6587\u6863"],"points":250,"points_off_time":0,"points_holiday":0,"brand":null,"type":null}}],"deductSales":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4},"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":3334,"key":3334,"name":"\u5317\u4eac\u878d\u9890\u5149\u7535\u79d1\u6280\u6709\u9650\u516c\u53f8(\u8fc7\u5355)","client_class":43,"logo":null,"sales_rep":1001,"workingAddresses":[{"id":4094,"key":4094,"name":"\u5317\u4eac\u5e02\u987a\u4e49\u533a\u6f9c\u897f\u56ed\u56db\u533a26\u53f7\u697c2\u5c42238"}]},"commentCount":{"object_id":8267,"comment":2},"unreadComments":null,"attachment":null,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"lastEngineer":null,"contact":{"id":6002,"name":"\u67f3\u98de","email":"","sex":"M","department":"","job_position":"","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":null,"client_id":3334,"user_status":2,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c"},"mobiles":[{"id":6786,"contact_id":6002,"mobile":"13331106031","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null},"callback":null,"lastAssignment":null,"assignments":[],"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_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","can_create_reimbursement":true},{"id":8266,"client_id":3334,"contact_id":6002,"project_id":3786,"last_engineer":null,"case_type":1,"case_status":1,"start_at":"2025-05-26 17:01:00","closed_at":"","points":250,"deduct_points_from":1001,"created_by":5064,"created_at":"2025-05-26 17:01:54","updated_at":"2025-05-26 17:01:54","case_no":"PS250526002","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":"","completed_at":"","mp_submit_contact_id":null,"attachment_id":null,"need_push":true,"task_group_id":null,"project":{"id":3786,"key":3786,"name":"\u8fdc\u9274\u8f6f\u4ef6-\u8fc7\u7a0b\u76d1\u63a7\u4ea7\u54c1"},"services":[{"id":275,"serial_no":"FA02","name":"\u6280\u672f\u65b9\u6848-\u4e8c\u7ea7\u6587\u6863","brand_id":null,"type_id":null,"description":"\u6280\u672f\u65b9\u6848-\u6587\u6863"}],"caseServices":[{"id":13423,"case_id":8266,"service_id":275,"quantity":1,"service":{"id":275,"serial_no":"FA02","title":"\u6280\u672f\u65b9\u6848-\u4e8c\u7ea7\u6587\u6863","brand_id":null,"type_id":null,"description":["\u6280\u672f\u65b9\u6848-\u6587\u6863"],"points":250,"points_off_time":0,"points_holiday":0,"brand":null,"type":null}}],"deductSales":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4},"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":3334,"key":3334,"name":"\u5317\u4eac\u878d\u9890\u5149\u7535\u79d1\u6280\u6709\u9650\u516c\u53f8(\u8fc7\u5355)","client_class":43,"logo":null,"sales_rep":1001,"workingAddresses":[{"id":4094,"key":4094,"name":"\u5317\u4eac\u5e02\u987a\u4e49\u533a\u6f9c\u897f\u56ed\u56db\u533a26\u53f7\u697c2\u5c42238"}]},"commentCount":{"object_id":8266,"comment":2},"unreadComments":null,"attachment":null,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"lastEngineer":null,"contact":{"id":6002,"name":"\u67f3\u98de","email":"","sex":"M","department":"","job_position":"","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":null,"client_id":3334,"user_status":2,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c"},"mobiles":[{"id":6786,"contact_id":6002,"mobile":"13331106031","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null},"callback":null,"lastAssignment":null,"assignments":[],"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_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","can_create_reimbursement":true},{"id":8265,"client_id":3334,"contact_id":6002,"project_id":3786,"last_engineer":null,"case_type":1,"case_status":1,"start_at":"2025-05-26 00:00:00","closed_at":"","points":250,"deduct_points_from":1001,"created_by":1001,"created_at":"2025-05-26 16:59:58","updated_at":"2025-05-26 16:59:58","case_no":"PS250526001","description":"f sad\u8212\u670d","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":3786,"key":3786,"name":"\u8fdc\u9274\u8f6f\u4ef6-\u8fc7\u7a0b\u76d1\u63a7\u4ea7\u54c1"},"services":[{"id":275,"serial_no":"FA02","name":"\u6280\u672f\u65b9\u6848-\u4e8c\u7ea7\u6587\u6863","brand_id":null,"type_id":null,"description":"\u6280\u672f\u65b9\u6848-\u6587\u6863"}],"caseServices":[{"id":13422,"case_id":8265,"service_id":275,"quantity":1,"service":{"id":275,"serial_no":"FA02","title":"\u6280\u672f\u65b9\u6848-\u4e8c\u7ea7\u6587\u6863","brand_id":null,"type_id":null,"description":["\u6280\u672f\u65b9\u6848-\u6587\u6863"],"points":250,"points_off_time":0,"points_holiday":0,"brand":null,"type":null}}],"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}},"client":{"id":3334,"key":3334,"name":"\u5317\u4eac\u878d\u9890\u5149\u7535\u79d1\u6280\u6709\u9650\u516c\u53f8(\u8fc7\u5355)","client_class":43,"logo":null,"sales_rep":1001,"workingAddresses":[{"id":4094,"key":4094,"name":"\u5317\u4eac\u5e02\u987a\u4e49\u533a\u6f9c\u897f\u56ed\u56db\u533a26\u53f7\u697c2\u5c42238"}]},"commentCount":{"object_id":8265,"comment":2},"unreadComments":null,"attachment":null,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"lastEngineer":null,"contact":{"id":6002,"name":"\u67f3\u98de","email":"","sex":"M","department":"","job_position":"","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":null,"client_id":3334,"user_status":2,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c"},"mobiles":[{"id":6786,"contact_id":6002,"mobile":"13331106031","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null},"callback":null,"lastAssignment":null,"assignments":[],"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_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","can_create_reimbursement":true},{"id":8260,"client_id":3334,"contact_id":6002,"project_id":3786,"last_engineer":null,"case_type":2,"case_status":1,"start_at":"2025-04-23 00:00:00","closed_at":"","points":250,"deduct_points_from":1001,"created_by":1001,"created_at":"2025-04-23 15:19:29","updated_at":"2025-04-23 15:19:29","case_no":"IM250423001","description":"","spent_time":"1 hour","alarm_before":null,"suspend_at":"","completed_at":"","mp_submit_contact_id":null,"attachment_id":null,"need_push":true,"task_group_id":null,"project":{"id":3786,"key":3786,"name":"\u8fdc\u9274\u8f6f\u4ef6-\u8fc7\u7a0b\u76d1\u63a7\u4ea7\u54c1"},"services":[{"id":275,"serial_no":"FA02","name":"\u6280\u672f\u65b9\u6848-\u4e8c\u7ea7\u6587\u6863","brand_id":null,"type_id":null,"description":"\u6280\u672f\u65b9\u6848-\u6587\u6863"}],"caseServices":[{"id":13409,"case_id":8260,"service_id":275,"quantity":1,"service":{"id":275,"serial_no":"FA02","title":"\u6280\u672f\u65b9\u6848-\u4e8c\u7ea7\u6587\u6863","brand_id":null,"type_id":null,"description":["\u6280\u672f\u65b9\u6848-\u6587\u6863"],"points":250,"points_off_time":0,"points_holiday":0,"brand":null,"type":null}}],"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}},"client":{"id":3334,"key":3334,"name":"\u5317\u4eac\u878d\u9890\u5149\u7535\u79d1\u6280\u6709\u9650\u516c\u53f8(\u8fc7\u5355)","client_class":43,"logo":null,"sales_rep":1001,"workingAddresses":[{"id":4094,"key":4094,"name":"\u5317\u4eac\u5e02\u987a\u4e49\u533a\u6f9c\u897f\u56ed\u56db\u533a26\u53f7\u697c2\u5c42238"}]},"commentCount":{"object_id":8260,"comment":2},"unreadComments":null,"attachment":null,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"lastEngineer":null,"contact":{"id":6002,"name":"\u67f3\u98de","email":"","sex":"M","department":"","job_position":"","mobile":"","telephone":"","telephone_area_code":"","telephone_extension_number":"","contact_type":"1","contact_attitude":null,"client_id":3334,"user_status":2,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c"},"mobiles":[{"id":6786,"contact_id":6002,"mobile":"13331106031","mp_open_id":null}],"contactKeyRoles":[],"contactAttitude":null},"callback":null,"lastAssignment":null,"assignments":[],"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_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","can_create_reimbursement":true}],"countList":[{"key":1,"value":4},{"key":2,"value":3},{"key":3,"value":0},{"key":4,"value":11},{"key":5,"value":7350},{"key":6,"value":143}],"pagenation":{"totalcount":4,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-02 10:11:58') RETURNING "id"