Explorar el Código

[phr] 진료관리 - 상태현황에서 검색시 호실 대신 동을 검색하던 오류 수정.

sjpark hace 4 años
padre
commit
11050ccdfd

+ 2 - 2
src/main/resources/mybatis/mapper/patient/patientPHRLatest.xml

@@ -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[