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
... | ... | @@ -95,7 +95,7 @@ |
95 | 95 |
public List<WordBookVO> getWordBooksByWord(String word, int page, int pageSize) throws Exception { |
96 | 96 |
int startIndex = (page - 1) * pageSize; |
97 | 97 |
HashMap<String, Object> params = new HashMap<>(); |
98 |
- params.put("word", "%" + word + "%"); |
|
98 |
+ params.put("word", word); |
|
99 | 99 |
params.put("startIndex", startIndex); |
100 | 100 |
params.put("pageSize", pageSize); |
101 | 101 |
return wordBookDAO.getWordBooksByWord(params); |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?