|
@@ -36,7 +36,7 @@ public class InspectionsService {
|
|
|
|
|
|
|
|
|
public List<JyIndexResponse> queryJyIndex(ReportIndexInquiry inquiry) {
|
|
|
- String url = apiUrl.getTirdpartApi() + "/inspection/queryJyIndex";
|
|
|
+ String url = apiUrl.getThirdpartApi() + "/inspection/queryJyIndex";
|
|
|
|
|
|
if (StrUtil.isBlank(inquiry.getPatNo())) {
|
|
|
inquiry.setPatNo(inquiry.getContent());
|
|
@@ -60,7 +60,7 @@ public class InspectionsService {
|
|
|
public JyDetailResponse queryJyDetail(String reportId) {
|
|
|
ReportDetailInquiry inquiry = new ReportDetailInquiry();
|
|
|
inquiry.setReportId(reportId);
|
|
|
- String url = apiUrl.getTirdpartApi() + "/inspection/queryJyDetail";
|
|
|
+ String url = apiUrl.getThirdpartApi() + "/inspection/queryJyDetail";
|
|
|
|
|
|
ResultVo<JyDetailResponse> response = template.exchange(
|
|
|
url, HttpMethod.POST, new HttpEntity<>(inquiry),
|
|
@@ -78,7 +78,7 @@ public class InspectionsService {
|
|
|
}
|
|
|
|
|
|
public List<TestReport> checkTestIndex(ReportIndexInquiry inquiry) {
|
|
|
- String url = apiUrl.getTirdpartApi() + "/inspection/queryJcIndex";
|
|
|
+ String url = apiUrl.getThirdpartApi() + "/inspection/queryJcIndex";
|
|
|
ResultVo<List<TestReport>> response = template.exchange(
|
|
|
url, HttpMethod.POST, new HttpEntity<>(inquiry),
|
|
|
new ParameterizedTypeReference<ResultVo<List<TestReport>>>() {
|
|
@@ -97,7 +97,7 @@ public class InspectionsService {
|
|
|
if (StringUtil.isBlank(request.getReportId())) {
|
|
|
throw new BizException(ExceptionEnum.NULL_POINTER, "报告ID不能为空!");
|
|
|
}
|
|
|
- String url = apiUrl.getTirdpartApi() + "/inspection/queryJcDetail";
|
|
|
+ String url = apiUrl.getThirdpartApi() + "/inspection/queryJcDetail";
|
|
|
ResultVo<TestReport> response = template.exchange(
|
|
|
url, HttpMethod.POST, new HttpEntity<>(request),
|
|
|
new ParameterizedTypeReference<ResultVo<TestReport>>() {
|
|
@@ -113,7 +113,7 @@ public class InspectionsService {
|
|
|
}
|
|
|
|
|
|
public List<PathologyIndex> checkPathologyIndex(ReportIndexInquiry request) {
|
|
|
- String url = apiUrl.getTirdpartApi() + "/inspection/queryBlIndex";
|
|
|
+ String url = apiUrl.getThirdpartApi() + "/inspection/queryBlIndex";
|
|
|
request.setSocialNo(getPatSocialNo(request.getPatType(), request.getPatNo()));
|
|
|
ResultVo<List<PathologyIndex>> response = template.exchange(
|
|
|
url, HttpMethod.POST, new HttpEntity<>(request),
|
|
@@ -132,7 +132,7 @@ public class InspectionsService {
|
|
|
}
|
|
|
|
|
|
public List<ElectroIndex> checkElectroIndex(ReportIndexInquiry request) {
|
|
|
- String url = apiUrl.getTirdpartApi() + "/inspection/queryXdIndex";
|
|
|
+ String url = apiUrl.getThirdpartApi() + "/inspection/queryXdIndex";
|
|
|
request.setSocialNo(getPatSocialNo(request.getPatType(), request.getPatNo()));
|
|
|
ResultVo<List<ElectroIndex>> response = template.exchange(
|
|
|
url, HttpMethod.POST, new HttpEntity<>(request),
|