IN() 절 처리
데이터XML SELECT id, name, age FROM users WHERE name IN #{name} Javaimport java.util.HashMap;import java.util.List;import java.util.Map;public class UserService { private final UserMapper userMapper; public UserService(UserMapper userMapper) { this.userMapper = userMapper; } public List> getUsersByNames(List nameList) { // Create a parameter map for ..
2024.11.07