保誠-保戶業務員媒合平台
wayne
2022-02-18 ae4db5435180c44b37f521c463b17f2023ac1d8c
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);
}