|
@@ -82,7 +82,7 @@ public class RiskUserHandleService {
|
|
|
private Map<String, List<RoomListResponse.RoomInfo>> matchUserAndRoom(List<UserBase> staffList, RiskUserInfo userInfo) {
|
|
|
Map<String, List<RoomListResponse.RoomInfo>> toBeOperate = new HashMap<>();
|
|
|
if (staffList != null && !staffList.isEmpty()) {
|
|
|
- log.info("handleRiskUser hits, userInfo: {}", userInfo);
|
|
|
+ log.info("matchUserAndRoom risk info", userInfo);
|
|
|
for (UserBase userBase : staffList) {
|
|
|
//获取匹配到每个人的群信息
|
|
|
List<RoomListResponse.RoomInfo> chatRoomList = getChatList(userBase);
|
|
@@ -148,12 +148,13 @@ public class RiskUserHandleService {
|
|
|
for (RiskUserInfo.Admin admin : adminList) {
|
|
|
String name = admin.getNickname();
|
|
|
if (name != null && !name.isEmpty()) {
|
|
|
- log.info("handleRiskUserList hits, userInfo: {}", name);
|
|
|
+ log.info("findStaffByName handleRiskUserList hits, userInfo: {}", name);
|
|
|
List<UserBase> matched = qwUserService.getUserByNickName(name);
|
|
|
if (matched != null && !matched.isEmpty()) {
|
|
|
+ log.info("findStaffByName find {} ",matched.get(0));
|
|
|
userBaseList.addAll(matched);
|
|
|
} else {
|
|
|
- log.info("handleRiskUserList not hits, userInfo: {}", name);
|
|
|
+// log.info("handleRiskUserList not hits, userInfo: {}", name);
|
|
|
}
|
|
|
}
|
|
|
}
|