From 2f0e71d3d73b71cba5a0caebfdb9ba79722989c0 Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期四, 27 一月 2022 14:54:38 +0800
Subject: [PATCH] [update] [todo 134826, 134662] 調整顧問資料格式、棄用搜尋並改將其功能改到前端算匹配度

---
 pamapi/src/main/java/com/pollex/pam/repository/ConsultantRepository.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/pamapi/src/main/java/com/pollex/pam/repository/ConsultantRepository.java b/pamapi/src/main/java/com/pollex/pam/repository/ConsultantRepository.java
index d373143..af244ab 100644
--- a/pamapi/src/main/java/com/pollex/pam/repository/ConsultantRepository.java
+++ b/pamapi/src/main/java/com/pollex/pam/repository/ConsultantRepository.java
@@ -10,8 +10,7 @@
 
 @Repository
 public interface ConsultantRepository extends JpaRepository<Consultant, Long>, JpaSpecificationExecutor<Consultant> {
-    Optional<Consultant> findFirstByAgentNo(String agentNo);
+    Optional<Consultant> findOneByAgentNo(String agentNo);
     List<Consultant> findAllByRecommendIsTrue();
     List<Consultant> findAllByAgentNoIn(List<String> agentNoList);
-
 }

--
Gitblit v1.8.0