Преглед изворни кода

更新中间层对化验结果的处理

MarkHuang пре 6 година
родитељ
комит
9bf316017f
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      aipt-service/src/main/java/com/diagbot/facade/ClinicalFacade.java

+ 2 - 2
aipt-service/src/main/java/com/diagbot/facade/ClinicalFacade.java

@@ -50,10 +50,10 @@ public class ClinicalFacade {
             Otherval = (lisres.getOtherValue().trim().length() > 0)? lisres.getOtherValue().trim()+"\n":"";
 
             if (lisres.getMaxValue() != null && lisres.getValue() > lisres.getMaxValue()) {
-                lisres.setOtherValue(Otherval + "超出标准");
+                lisres.setOtherValue(Otherval + "\n" + lisres.getDetailName() + "升高");
             }
             else if (lisres.getMinValue() != null && lisres.getValue() < lisres.getMinValue()) {
-                lisres.setOtherValue(Otherval + "低于标准");
+                lisres.setOtherValue(Otherval + "\n" + lisres.getDetailName() + "下降");
             }
         }