|
@@ -4,7 +4,9 @@ import com.diagbot.client.AiptServiceClient;
|
|
|
import com.diagbot.dto.ConceptIntroduceDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.enums.SysTypeEnum;
|
|
|
+import com.diagbot.util.ListUtil;
|
|
|
import com.diagbot.util.RespDTOUtil;
|
|
|
+import com.diagbot.util.StringUtil;
|
|
|
import com.diagbot.vo.ConceptIntroduceVO;
|
|
|
import com.diagbot.vo.ConnectIntroduceVO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -38,6 +40,17 @@ public class ConceptDetailFacade {
|
|
|
connectIntroduceVO.setSysType(SysTypeEnum.LTAPI_SERVICE.getKey());
|
|
|
RespDTO<List<ConceptIntroduceDTO>> respDTO = aiptServiceClient.getConnectConceptDetails(connectIntroduceVO);
|
|
|
RespDTOUtil.respNGDeal(respDTO, "获取提示信息失败");
|
|
|
- return respDTO.data;
|
|
|
+ List<ConceptIntroduceDTO> data = respDTO.data;
|
|
|
+ if (ListUtil.isNotEmpty(data)) {
|
|
|
+ for (ConceptIntroduceDTO conceptIntroduceDTO : data) {
|
|
|
+ String clientName
|
|
|
+ = connectIntroduceVO.getName()
|
|
|
+ + (StringUtil.isNotBlank(connectIntroduceVO.getDetailName()) == true
|
|
|
+ ? "(" + connectIntroduceVO.getDetailName() + ")"
|
|
|
+ : "");
|
|
|
+ conceptIntroduceDTO.setClientName(clientName);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return data;
|
|
|
}
|
|
|
}
|