From 602c6a536fa1448e3f9f2d4c89b27f7aa0503295 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期六, 22 一月 2022 10:54:16 +0800 Subject: [PATCH] [add] [todo 134462, 134463] 批次發送未處理預約單 --- 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