保誠-保戶業務員媒合平台
HelenHuang
2022-01-20 f5831acafe510f9a79f8e2ecf6dee09026d67fc6
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);
}