|
@@ -17,7 +17,7 @@ import com.diagbot.dto.LoginDTO;
|
|
|
import com.diagbot.dto.OrganizationDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.dto.UserAllDTO;
|
|
|
-import com.diagbot.dto.UserAndProdutUDTO;
|
|
|
+import com.diagbot.dto.UserAndProdutDTO;
|
|
|
import com.diagbot.dto.UserInfoDTO;
|
|
|
import com.diagbot.dto.UserInfoExportDTO;
|
|
|
import com.diagbot.dto.UserLoginDTO;
|
|
@@ -1053,19 +1053,19 @@ public class UserFacade extends UserServiceImpl {
|
|
|
if(userIds.size()>0){
|
|
|
|
|
|
|
|
|
- RespDTO<List<UserAndProdutUDTO>> InformationData = diagbotmanClient.getInformationAvailableAll(userIds);
|
|
|
+ RespDTO<List<UserAndProdutDTO>> InformationData = diagbotmanClient.getInformationAvailableAll(userIds);
|
|
|
|
|
|
if (InformationData == null || !"0".equals(InformationData.code)) {
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
|
"获取所有开通信息失败");
|
|
|
}
|
|
|
- Map<Long, List<UserAndProdutUDTO>> map = new HashMap<>();
|
|
|
+ Map<Long, List<UserAndProdutDTO>> map = new HashMap<>();
|
|
|
//获取所有用户开通的产品信息
|
|
|
- List<UserAndProdutUDTO> dataList = InformationData.data;
|
|
|
+ List<UserAndProdutDTO> dataList = InformationData.data;
|
|
|
map = EntityUtil.makeEntityListMap(dataList, "userId");
|
|
|
if (map.size() > 0) {
|
|
|
for (UserOrgizationProductDTO userInfoDTO : userData) {
|
|
|
- List<UserAndProdutUDTO> userAndProdutUDTO = map.get(userInfoDTO.getUserId());
|
|
|
+ List<UserAndProdutDTO> userAndProdutUDTO = map.get(userInfoDTO.getUserId());
|
|
|
if (ListUtil.isNotEmpty(userAndProdutUDTO)) {
|
|
|
userInfoDTO.setUserAndProdutUDTO(userAndProdutUDTO);
|
|
|
}
|