|
@@ -8,7 +8,7 @@
|
|
|
FROM PATIENT_CARE
|
|
|
WHERE 1 = 1
|
|
|
]]>
|
|
|
- <if test='groupIdx != "1"'>
|
|
|
+ <if test='centerCode != "0"'>
|
|
|
<![CDATA[
|
|
|
AND CENTER_CODE = #{centerCode}
|
|
|
]]>
|
|
@@ -188,7 +188,7 @@
|
|
|
ON pss.patient_idx = pc.patient_idx
|
|
|
WHERE 1 = 1
|
|
|
]]>
|
|
|
- <if test='groupIdx != "1"'>
|
|
|
+ <if test='centerCode != "0"'>
|
|
|
<![CDATA[
|
|
|
AND CENTER_CODE = #{centerCode}
|
|
|
]]>
|
|
@@ -297,7 +297,7 @@
|
|
|
ORDER BY
|
|
|
]]>
|
|
|
<if test='sortType == ""'>
|
|
|
- <if test='groupIdx == "1"'>
|
|
|
+ <if test='centerCode != "0"'>
|
|
|
<![CDATA[
|
|
|
center_code,
|
|
|
]]>
|