瀏覽代碼

明细添加字段模块名称

zhoutg 5 年之前
父節點
當前提交
0fab0064da

+ 2 - 0
mrman-service/src/main/java/com/diagbot/dto/QcEntryTypeDetailDTO.java

@@ -18,6 +18,8 @@ public class QcEntryTypeDetailDTO {
     private Long hospitalId;
     // 条目id
     private Long entryId;
+    // 模块名称
+    private String casesName;
     // 条目名称
     private String entryName;
     // 已选择质控类型列表

+ 2 - 0
mrman-service/src/main/java/com/diagbot/dto/QcTypeByEntryDTO.java

@@ -17,6 +17,8 @@ public class QcTypeByEntryDTO {
     private Long entryId;
     // 条目名称
     private String entryName;
+    // 条目名称
+    private String casesName;
     // 质控类型名称
     private String typeName;
     // 质控类型id

+ 1 - 0
mrman-service/src/main/java/com/diagbot/facade/QcCacesEntryFacade.java

@@ -199,6 +199,7 @@ public class QcCacesEntryFacade extends QcCasesEntryServiceImpl {
             res.setEntryName(qcCasesEntry.getName());
             res.setHospitalId(qcEntryTypeVO.getHospitalId());
             res.setEntryId(qcEntryTypeVO.getEntryId());
+            res.setCasesName(qcCasesEntry.getCasesName());
         }
         return res;
     }

+ 2 - 1
mrman-service/src/main/resources/mapper/QcCasesEntryMapper.xml

@@ -217,7 +217,8 @@
             t1.`name` entry_name,
             t2.hospital_id,
             t4.NAME type_name,
-            t4.id type_id
+            t4.id type_id,
+            t1.cases_name
         FROM
             qc_cases_entry t1,
             qc_cases_entry_hospital t2,