|
@@ -2,9 +2,11 @@ package com.diagbot.facade;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.diagbot.client.UserServiceClient;
|
|
|
+import com.diagbot.config.CryptConfiguer;
|
|
|
import com.diagbot.dto.LisSonContactListDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.service.impl.RelationServiceImpl;
|
|
|
+import com.diagbot.util.CryptUtil;
|
|
|
import com.diagbot.util.RespDTOUtil;
|
|
|
import com.diagbot.vo.LisSonContactListVO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -24,6 +26,8 @@ public class LisSonContactFacade extends RelationServiceImpl {
|
|
|
|
|
|
@Autowired
|
|
|
private UserServiceClient userServiceClient;
|
|
|
+ @Autowired
|
|
|
+ private CryptConfiguer cryptConfiguer;
|
|
|
|
|
|
/**
|
|
|
* 化验子项维护-列表
|
|
@@ -39,7 +43,9 @@ public class LisSonContactFacade extends RelationServiceImpl {
|
|
|
RespDTO<Map<String, String>> respDTO = userServiceClient.getUserInfoByIds(ids);
|
|
|
RespDTOUtil.respNGDealCover(respDTO, "获取用户信息失败");
|
|
|
ipage.getRecords().forEach(i -> {
|
|
|
+ i.setLibName(cryptConfiguer.cryptFlag ? CryptUtil.decrypt_char(i.getLibName()) : i.getLibName());
|
|
|
i.setOperName(respDTO.data.get(i.getOperName()));
|
|
|
+ i.setLibNameType(i.getLibName() + "(" + i.getLibType() + ")");
|
|
|
});
|
|
|
}
|
|
|
return ipage;
|