Procházet zdrojové kódy

查询规则列表接口bug修改

wanghn před 3 měsíci
rodič
revize
002c1db1ce

+ 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})), '%')