|
@@ -41,7 +41,7 @@ public class PushFacade {
|
|
|
PushDTO pushDTO = new PushDTO();
|
|
|
SearchData searchData = assembleFacade.assembleData(pushVO);
|
|
|
RespDTO<PushDTO> respDTO = aiptServiceClient.pushInner(searchData);
|
|
|
- RespDTOUtil.respNGDeal(respDTO, StringUtil.isNotBlank(respDTO.msg) ? respDTO.msg : "中间层没有返回结果");
|
|
|
+ RespDTOUtil.respNGDeal(respDTO, "中间层没有返回结果");
|
|
|
PushDTO data = respDTO.data;
|
|
|
|
|
|
String featureType = searchData.getFeatureType();
|
|
@@ -91,7 +91,7 @@ public class PushFacade {
|
|
|
public Map<String, Object> pushTreatment(PushVO pushVO) {
|
|
|
SearchData searchData = assembleFacade.assembleData(pushVO);
|
|
|
RespDTO<Map<String, Object>> res = aiptServiceClient.getTreatment(searchData);
|
|
|
- RespDTOUtil.respNGDealCover(res, StringUtil.isNotBlank(res.msg) ? res.msg : "中间层没有返回治疗方案");
|
|
|
+ RespDTOUtil.respNGDeal(res, "中间层没有返回治疗方案");
|
|
|
Map<String, Object> data = res.data;
|
|
|
return data;
|
|
|
}
|
|
@@ -105,7 +105,7 @@ public class PushFacade {
|
|
|
public List<ScaleContent> pushScale(PushVO pushVO) {
|
|
|
SearchData searchData = assembleFacade.assembleData(pushVO);
|
|
|
RespDTO<List<ScaleContent>> res = aiptServiceClient.getScale(searchData);
|
|
|
- RespDTOUtil.respNGDealCover(res, StringUtil.isNotBlank(res.msg) ? res.msg : "中间层没有返回量表");
|
|
|
+ RespDTOUtil.respNGDeal(res, "中间层没有返回量表");
|
|
|
List<ScaleContent> data = res.data;
|
|
|
return data;
|
|
|
}
|