|
@@ -299,8 +299,6 @@ public class NeoFacade {
|
|
|
lisname = lis.getUniqueName();
|
|
|
if (null != lrmap.get(lisname)) {
|
|
|
List<LisRemind> lrlist = lrmap.get(lisname);
|
|
|
- OtherTipNeoDTO otherTipNeoDTO = new OtherTipNeoDTO();
|
|
|
- BeanUtils.copyProperties(lis, otherTipNeoDTO);
|
|
|
|
|
|
result = lis.getOtherValue();
|
|
|
if (StringUtil.isBlank(result)) {
|
|
@@ -311,12 +309,18 @@ public class NeoFacade {
|
|
|
if ((null==lisRemind.getMinval() && val <= lisRemind.getMaxval()) ||
|
|
|
(null==lisRemind.getMaxval() && val >= lisRemind.getMinval()) ||
|
|
|
(val <= lisRemind.getMaxval() && val >= lisRemind.getMinval())){
|
|
|
+ OtherTipNeoDTO otherTipNeoDTO = new OtherTipNeoDTO();
|
|
|
+ BeanUtils.copyProperties(lis, otherTipNeoDTO);
|
|
|
+
|
|
|
otherTipNeoDTO.setFactor(getReminds(lisRemind));
|
|
|
otherTipNeoDTOS.add(otherTipNeoDTO);
|
|
|
}
|
|
|
} else if (lisRemind.getRange() == 1) { /*&& lisRemind.getUnit().equals(unit) &&*/
|
|
|
if ((null==lisRemind.getMinval() && val > lisRemind.getMaxval()) ||
|
|
|
(null==lisRemind.getMaxval() && val < lisRemind.getMinval())){
|
|
|
+ OtherTipNeoDTO otherTipNeoDTO = new OtherTipNeoDTO();
|
|
|
+ BeanUtils.copyProperties(lis, otherTipNeoDTO);
|
|
|
+
|
|
|
otherTipNeoDTO.setFactor(getReminds(lisRemind));
|
|
|
otherTipNeoDTOS.add(otherTipNeoDTO);
|
|
|
}
|
|
@@ -325,6 +329,9 @@ public class NeoFacade {
|
|
|
} else {
|
|
|
for (LisRemind lisRemind : lrlist) {
|
|
|
if (result.equals(lisRemind.getResult())) {
|
|
|
+ OtherTipNeoDTO otherTipNeoDTO = new OtherTipNeoDTO();
|
|
|
+ BeanUtils.copyProperties(lis, otherTipNeoDTO);
|
|
|
+
|
|
|
otherTipNeoDTO.setFactor(getReminds(lisRemind));
|
|
|
otherTipNeoDTOS.add(otherTipNeoDTO);
|
|
|
}
|