1、 @Select * FROM user WHERE user_id IN(${orderNo}) AND status=1")
List getByUserId(@Param(“userId”) String userId);
2、List list = userMapper.getUserById(
StringUtil.join(userList.stream().map(user::getUserId).collect(Collectors.toList()), “,”));
1、 @Select * FROM user WHERE user_id IN(${orderNo}) AND status=1")
List getByUserId(@Param(“userId”) String userId);
2、List list = userMapper.getUserById(
StringUtil.join(userList.stream().map(user::getUserId).collect(Collectors.toList()), “,”));