Browse Source

辅检优化

zhoutg 4 years atrás
parent
commit
94178dab17
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/diagbot/repository/TransfusionSuggestNode.java

+ 2 - 2
src/main/java/com/diagbot/repository/TransfusionSuggestNode.java

@@ -113,7 +113,7 @@ public class TransfusionSuggestNode {
 					otherTipTfNeoDTO = null;
 				}
 
-				if (surgery.size()>0 && proceed) {
+				if (ListUtil.isNotEmpty(surgery) && proceed) {
 					if (surgery.contains(surgname)) {
 						if (null == otherTipTfNeoDTO) {
 							otherTipTfNeoDTO = new OtherTipTransfusionNeoDTO();
@@ -130,7 +130,7 @@ public class TransfusionSuggestNode {
 				}
 
 
-				if (diseases.size()>0 && proceed) {
+				if (ListUtil.isNotEmpty(diseases) && proceed) {
 
 					if (diseases.contains(disname)) {
 						if (null == otherTipTfNeoDTO) {