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