|
@@ -193,7 +193,9 @@ public class PushFacade {
|
|
|
List<String> diseaseNameList = dis.stream().map(disease -> disease.getFeatureName()).collect(Collectors.toList());
|
|
|
Map<String, String> highRiskMap = new HashMap<>();
|
|
|
highRiskMap.put("disease", String.join(",", diseaseNameList));
|
|
|
- Response<GdbResponse> graphRes = highRiskServiceClient.highRiskPageData(highRiskMap);
|
|
|
+ SearchData searchData = new SearchData();
|
|
|
+ searchData.setDiag(String.join(",", diseaseNameList));
|
|
|
+ Response<GdbResponse> graphRes = highRiskServiceClient.highRiskPageData(searchData);
|
|
|
if (graphRes != null) {
|
|
|
Map<String, String> graphResult = graphRes.getData().getResult();
|
|
|
if (graphResult.size() > 0) {
|
|
@@ -423,7 +425,7 @@ public class PushFacade {
|
|
|
orderByAsc("order_no");
|
|
|
List<DeptVital> deptVitalList = deptVitalFacade.list(deptVitalQueryWrapper);
|
|
|
//科室模板为空时,取全科模板
|
|
|
- if(deptVitalList.size()==0) {
|
|
|
+ if (deptVitalList.size() == 0) {
|
|
|
deptVitalQueryWrapper = new QueryWrapper<>();
|
|
|
String sql = "select id from icss_dept_info where name='全科' and is_deleted='N'";
|
|
|
deptVitalQueryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey()).
|