|
@@ -10,6 +10,7 @@ import com.fs.common.core.domain.ResponseResult;
|
|
|
import com.fs.common.core.page.TableDataInfo;
|
|
|
import com.fs.common.utils.DateUtils;
|
|
|
import com.fs.common.utils.DictUtils;
|
|
|
+import com.fs.common.utils.ParseUtils;
|
|
|
import com.fs.common.utils.StringUtils;
|
|
|
import com.fs.company.cache.ICompanyTagCacheService;
|
|
|
import com.fs.company.cache.ICompanyUserCacheService;
|
|
@@ -517,6 +518,7 @@ public class FsUserServiceImpl implements IFsUserService
|
|
|
}
|
|
|
|
|
|
List<FsUserPageListVO> fsUserPageListVOS = fsUserMapper.selectFsUserPageListNew(param);
|
|
|
+ Map<Long, CompanyTag> tagMap = companyTagCacheService.queryAllTagMap();
|
|
|
for (FsUserPageListVO item : fsUserPageListVOS) {
|
|
|
if(item.getCompanyUserId() != null) {
|
|
|
String companyUserName = companyUserCacheService.selectCompanyUserNameUserById(item.getCompanyUserId());
|
|
@@ -524,6 +526,9 @@ public class FsUserServiceImpl implements IFsUserService
|
|
|
item.setCompanyUserNickName(companyUserName);
|
|
|
}
|
|
|
}
|
|
|
+ if(item.getPhone() != null) {
|
|
|
+ item.setPhone(ParseUtils.parsePhone(item.getPhone()));
|
|
|
+ }
|
|
|
if(item.getStatus() != null) {
|
|
|
String userStatus = DictUtils.getDictLabel("user_status", String.valueOf(item.getStatus()));
|
|
|
if(StringUtils.isNotBlank(userStatus)){
|
|
@@ -543,11 +548,10 @@ public class FsUserServiceImpl implements IFsUserService
|
|
|
item.setStopWatchDays(byUserId.getStopWatchDays());
|
|
|
item.setCompleteWatchDate(byUserId.getCompleteWatchDate());
|
|
|
}
|
|
|
-
|
|
|
- String userTagByUserId = companyTagCacheService.findUserTagByUserId(item.getUserId());
|
|
|
+ String userTagByUserId = companyTagCacheService
|
|
|
+ .findUserTagByUserId(item.getUserId(),item.getCompanyUserId());
|
|
|
if(StringUtils.isNotEmpty(userTagByUserId)) {
|
|
|
String[] split = userTagByUserId.split(",");
|
|
|
- Map<Long, CompanyTag> tagMap = companyTagCacheService.queryAllTagMap();
|
|
|
Set<String> tagNames = new HashSet<>();
|
|
|
for (String tag : split) {
|
|
|
if(StringUtils.isNotBlank(tag)) {
|