From a3716f72066d25d745f4d5103ff23a553c3e102b Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期四, 17 二月 2022 11:41:19 +0800 Subject: [PATCH] Merge branch 'sit' into uat --- pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java | 4 ++-- 1 files changed, 2 insertions(+), 2 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 70db2fc..fa37237 100644 --- a/pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java +++ b/pamapi/src/main/java/com/pollex/pam/repository/SatisfactionRepository.java @@ -17,7 +17,7 @@ List<Satisfaction> findByAgentNoAndType(String agentNo, SatisfactionTypeEnum type); - List<Satisfaction> findByCustomerIdAndType(Long customerId, SatisfactionTypeEnum type); + List<Satisfaction> findByCustomerId(Long customerId); Optional<Satisfaction> findOneByAppointmentIdAndType(Long appointmentId, SatisfactionTypeEnum type); @@ -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