Browse Source

辅检优化

zhoutg 4 năm trước cách đây
mục cha
commit
94178dab17

+ 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) {