From aa0f9381d424b98e86845c6da21e2fd8640fe056 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期一, 21 二月 2022 18:32:45 +0800 Subject: [PATCH] [update] 若顧問狀態非啟用時,則搜尋及推薦會找不到該顧問 --- pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java | 2 +- 1 files changed, 1 insertions(+), 1 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 1e670a3..fa37237 100644 --- a/pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java +++ b/pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java @@ -27,5 +27,5 @@ + " and agent_no=:agent_no" + " and score is not null" , nativeQuery = true) - Float getAgentScoreAvg(@Param("agent_no") String agentNo); + Optional<Float> getAgentScoreAvg(@Param("agent_no") String agentNo); } -- Gitblit v1.8.0