woals 08-06
240806 권민수 단어장 단어 부분 검색 관련 수정
@8e0d17c582515da1259a27cef53d9c6ca03e07f9
src/main/java/com/takensoft/ai_lms/lms/word_book/service/Impl/WordBookServiceImpl.java
--- src/main/java/com/takensoft/ai_lms/lms/word_book/service/Impl/WordBookServiceImpl.java
+++ src/main/java/com/takensoft/ai_lms/lms/word_book/service/Impl/WordBookServiceImpl.java
@@ -95,7 +95,7 @@
     public List<WordBookVO> getWordBooksByWord(String word, int page, int pageSize) throws Exception {
         int startIndex = (page - 1) * pageSize;
         HashMap<String, Object> params = new HashMap<>();
-        params.put("word", "%" + word + "%");
+        params.put("word", word);
         params.put("startIndex", startIndex);
         params.put("pageSize", pageSize);
         return wordBookDAO.getWordBooksByWord(params);
Add a comment
List