添加功能
This commit is contained in:
@@ -288,11 +288,11 @@
|
|||||||
v.satisfaction_type AS code,
|
v.satisfaction_type AS code,
|
||||||
v.satisfaction_type AS "desc",
|
v.satisfaction_type AS "desc",
|
||||||
CASE v.satisfaction_type
|
CASE v.satisfaction_type
|
||||||
WHEN '服务态度' THEN AVG(t.satisfaction_service_attitude)
|
WHEN '服务态度' THEN COALESCE(ROUND(AVG(t.satisfaction_service_attitude), 2), 0)
|
||||||
WHEN '服务专业性' THEN AVG(t.satisfaction_service_professional)
|
WHEN '服务专业性' THEN COALESCE(ROUND(AVG(t.satisfaction_service_professional), 2), 0)
|
||||||
WHEN '整体满意度' THEN AVG(t.satisfaction_service_whole)
|
WHEN '整体满意度' THEN COALESCE(ROUND(AVG(t.satisfaction_service_whole), 2), 0)
|
||||||
WHEN '服务效果' THEN AVG(t.satisfaction_service_effect)
|
WHEN '服务效果' THEN COALESCE(ROUND(AVG(t.satisfaction_service_effect), 2), 0)
|
||||||
WHEN '服务相应时间' THEN AVG(t.satisfaction_service_time)
|
WHEN '服务相应时间' THEN COALESCE(ROUND(AVG(t.satisfaction_service_time), 2), 0)
|
||||||
END AS amount
|
END AS amount
|
||||||
FROM theme_assist_record t
|
FROM theme_assist_record t
|
||||||
CROSS JOIN satisfaction_types v
|
CROSS JOIN satisfaction_types v
|
||||||
@@ -318,11 +318,11 @@
|
|||||||
v.problem_type AS code,
|
v.problem_type AS code,
|
||||||
v.problem_type AS "desc",
|
v.problem_type AS "desc",
|
||||||
CASE v.problem_type
|
CASE v.problem_type
|
||||||
WHEN '服务资源不足' THEN AVG(t.problem_service_resource)
|
WHEN '服务资源不足' THEN COALESCE(ROUND(AVG(t.problem_service_resource), 2), 0)
|
||||||
WHEN '服务人员专业性不够' THEN AVG(t.problem_service_professional)
|
WHEN '服务人员专业性不够' THEN COALESCE(ROUND(AVG(t.problem_service_professional), 2), 0)
|
||||||
WHEN '服务方式单一' THEN AVG(t.problem_service_way)
|
WHEN '服务方式单一' THEN COALESCE(ROUND(AVG(t.problem_service_way), 2), 0)
|
||||||
WHEN '跟踪服务不计时' THEN AVG(t.problem_service_follow)
|
WHEN '跟踪服务不计时' THEN COALESCE(ROUND(AVG(t.problem_service_follow), 2), 0)
|
||||||
WHEN '信息系统不完善' THEN AVG(t.problem_info_system)
|
WHEN '信息系统不完善' THEN COALESCE(ROUND(AVG(t.problem_info_system), 2), 0)
|
||||||
END AS amount
|
END AS amount
|
||||||
FROM theme_assist_record t
|
FROM theme_assist_record t
|
||||||
CROSS JOIN problem_types v
|
CROSS JOIN problem_types v
|
||||||
|
|||||||
Reference in New Issue
Block a user