|
@@ -116,7 +116,7 @@
|
|
|
]]>
|
|
|
<if test='searchText != null and searchText != ""'>
|
|
|
<![CDATA[
|
|
|
- AND (c.patient_name LIKE CONCAT('%', #{searchText}, '%') OR c.ward_number LIKE CONCAT('%', #{searchText}, '%'))
|
|
|
+ AND (c.patient_name LIKE CONCAT('%', #{searchText}, '%') OR c.room_number LIKE CONCAT('%', #{searchText}, '%'))
|
|
|
]]>
|
|
|
</if>
|
|
|
</select>
|
|
@@ -146,7 +146,7 @@
|
|
|
]]>
|
|
|
<if test='searchText != null and searchText != ""'>
|
|
|
<![CDATA[
|
|
|
- AND (c.patient_name LIKE CONCAT('%', #{searchText}, '%') OR c.ward_number LIKE CONCAT('%', #{searchText}, '%'))
|
|
|
+ AND (c.patient_name LIKE CONCAT('%', #{searchText}, '%') OR c.room_number LIKE CONCAT('%', #{searchText}, '%'))
|
|
|
]]>
|
|
|
</if>
|
|
|
<![CDATA[
|