|
@@ -109,7 +109,7 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
List<Long> userIds = new ArrayList<>();
|
|
|
for (Map map : list) {
|
|
|
//把投手id和运营id和GSID和客服人员ID 转成List
|
|
|
- List<String> keys = Arrays.asList("put_user_id", "oper_user_id", "gs_id", "customer_service_id");
|
|
|
+ List<String> keys = Arrays.asList("put_user_id", "oper_user_id", "gsId", "customer_service_id");
|
|
|
for (String key : keys) {
|
|
|
if (map.get(key) != null) {
|
|
|
userIds.add(Long.valueOf(map.get(key).toString()));
|
|
@@ -239,15 +239,11 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
|
|
|
// 更新用户名称
|
|
|
private void updateUserName(Map<String, Object> map, String userIdKey, String userNameKey, ResultVO<Map<Long, String>> userMap) {
|
|
|
- log.error("userIdKey:{}",userNameKey);
|
|
|
Object userIdObj = map.get(userIdKey);
|
|
|
- log.error("userIdObj:{}",userIdObj);
|
|
|
if (userIdObj != null) {
|
|
|
try {
|
|
|
long userId = Long.parseLong(userIdObj.toString());
|
|
|
- log.error("userId:{}",userId);
|
|
|
String userName = userMap.getData().get(userId);
|
|
|
- log.error("userName:{}",userName);
|
|
|
if (userName != null) {
|
|
|
map.put(userNameKey, userName);
|
|
|
}
|