浏览代码

查询规则列表接口bug修改

wanghn 3 月之前
父节点
当前提交
002c1db1ce
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/main/resources/mapper/QcCasesEntryHospitalMapper.xml

+ 4 - 1
src/main/resources/mapper/QcCasesEntryHospitalMapper.xml

@@ -19,7 +19,7 @@
         <result column="remark" property="remark"/>
     </resultMap>
 
-        <select id="getQcCasesEntryAlls" resultType="com.diagbot.dto.QcCasesEntryHospitalDTO">
+    <select id="getQcCasesEntryAlls" resultType="com.diagbot.dto.QcCasesEntryHospitalDTO">
         select
         b.id as id,
         a.cases_id as casesId,
@@ -65,6 +65,9 @@
         </if>
         <if test="remindType != null and casesId != ''">
             AND a.remind_type = #{remindType}
+        </if>
+        <if test="remindLevel != null and casesId != ''">
+            AND a.remind_level = #{remindLevel}
         </if>
          <if test="name != null and name != ''">
             AND UPPER(a.name) LIKE CONCAT('%', UPPER(trim(#{name})), '%')