From 38b68f92b9a47ca3947985d6b581603fe05106c7 Mon Sep 17 00:00:00 2001
From: charlie <charlie@lvguanqingdeMacBook-Pro.local>
Date: 星期六, 22 一月 2022 11:56:00 +0800
Subject: [PATCH] update: 1. 新增約訪預約資訊頭像圖片和型別icon,微調對齊方式         2. 約訪結案列表的樣式修正並調整進度條色彩

---
 pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java b/pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java
index 229ac4b..98476e7 100644
--- a/pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java
+++ b/pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java
@@ -20,6 +20,7 @@
 	Optional<Satisfaction> findOneByAppointmentId(Long appointmentId);
 
 	@Query(value = "SELECT avg(score) FROM satisfaction where agent_no=:agent_no"
+			+ " and score is not null"
 			, nativeQuery = true)
 	Float getAgentScoreAvg(@Param("agent_no") String agentNo);
 }

--
Gitblit v1.8.0