浏览代码

添加手术

zhoutg 4 年之前
父节点
当前提交
0733456d57
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 2 0
      src/main/java/com/diagbot/dto/WordCrfDTO.java
  2. 3 0
      src/main/java/com/diagbot/facade/CommonFacade.java

+ 2 - 0
src/main/java/com/diagbot/dto/WordCrfDTO.java

@@ -40,6 +40,8 @@ public class WordCrfDTO {
     private List<Pacs> pacs = new ArrayList<>();
     // 药品
     private List<Drug> drug = new ArrayList<>();
+    // 手术及操作
+    private List<Item> operation = new ArrayList<>();
     // 主诉
     private ChiefLabel chiefLabel = new ChiefLabel();
     // 现病史

+ 3 - 0
src/main/java/com/diagbot/facade/CommonFacade.java

@@ -58,6 +58,9 @@ public class CommonFacade {
         if (ListUtil.isNotEmpty(searchData.getDrug())) {
             wordCrfDTO.setDrug(searchData.getDrug());
         }
+        if (ListUtil.isNotEmpty(searchData.getOperation())) {
+            wordCrfDTO.setOperation(searchData.getOperation());
+        }
         if (ListUtil.isNotEmpty(searchData.getLisOrder())) {
             wordCrfDTO.setLisOrder(searchData.getLisOrder());
         }