|
|
@@ -259,8 +259,7 @@ public class UserService {
|
|
|
|
|
|
private void userGroupLog(List<Integer> userList, String username, String groupName, String type){
|
|
|
//记录LOG
|
|
|
- List<String> userIdsList = userList.stream().map(x -> x + "").collect(Collectors.toList());
|
|
|
- String userIds = String.join(",", userIdsList);
|
|
|
+ String userIds = userList.stream().map(Object::toString).collect(Collectors.joining(","));
|
|
|
String userNames = userMapper.getUserByIds(userIds);
|
|
|
String[] userNameArray = userNames.split(",");
|
|
|
StringBuilder sb = new StringBuilder();
|