From 7fcdb8eab75295661e4450614474e3c5a35bec94 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期四, 20 一月 2022 14:56:05 +0800 Subject: [PATCH] Merge branch 'Phase3' of https://192.168.0.10:8443/r/pcalife/PAM into Phase3 --- 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