Browse Source

添加质控类型为null的条件

zhoutg 5 years ago
parent
commit
fc7d7bc4d4

+ 2 - 0
mrman-service/src/main/java/com/diagbot/vo/QcEntryTypePageVO.java

@@ -23,4 +23,6 @@ public class QcEntryTypePageVO extends Page {
     private String code;
     // 所属模块
     private String casesId;
+    // 质控类型为空标识 1:质控类型为空数据
+    private int typeIsNull;
 }

+ 3 - 0
mrman-service/src/main/resources/mapper/QcCasesEntryMapper.xml

@@ -209,6 +209,9 @@
         <if test="typeName != null and typeName != ''">
             and t.type_str like concat('%', #{typeName}, '%')
         </if>
+        <if test="typeIsNull != null and typeIsNull == 1">
+            and t.type_str is null
+        </if>
     </select>
 
     <select id="entryTypeDetail" resultType="com.diagbot.dto.QcTypeByEntryDTO">