|
@@ -123,9 +123,12 @@ public class GraphCalculate {
|
|
|
for (PreResult lis:lisArr) {
|
|
|
String detailName = lis.getUniqueName();
|
|
|
logger.info("公表名为 :"+detailName);
|
|
|
- Double value = Double.valueOf(lis.getValue());
|
|
|
- lis_Result.put(detailName,value);
|
|
|
- lisSet.add(detailName);
|
|
|
+ String lisValue = lis.getValue();
|
|
|
+ if(StringUtils.isNotEmpty(lisValue)){
|
|
|
+ Double value = Double.valueOf(lisValue);
|
|
|
+ lis_Result.put(detailName,value);
|
|
|
+ lisSet.add(detailName);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
logger.info("页面导入的所有化验项为 :" +lisSet);
|
|
@@ -159,7 +162,7 @@ public class GraphCalculate {
|
|
|
Set<String> newindSet = new HashSet<>();
|
|
|
Set<String> newindSet1 = new HashSet<>();
|
|
|
//查找指标
|
|
|
- Set<String> indSet = neo4jAPI.getInd((String[]) inputList.toArray(new String[inputList.size()]));
|
|
|
+ Set<String> indSet = neo4jAPI.getInd((String[]) inputList.toArray(new String[inputList.size()]),sex,age);
|
|
|
if(indSet != null && indSet.size()>0){
|
|
|
for (String ind:indSet) {
|
|
|
if("肾功能不全".equals(ind)){
|