|
@@ -40,7 +40,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getCheckInfo" resultType="com.diagbot.dto.CheckInfoDTO">
|
|
|
- select b.*
|
|
|
+ select DISTINCT b.*
|
|
|
from(
|
|
|
SELECT
|
|
|
t1.rep_name as checkItemName,
|
|
@@ -60,7 +60,7 @@
|
|
|
t1.is_deleted = "N"
|
|
|
AND t2.is_deleted = "N"
|
|
|
AND t3.is_deleted = "N"
|
|
|
- AND t2.rept_name IS NOT NULL
|
|
|
+ AND t1.rep_name IS NOT NULL
|
|
|
AND t1.check_date IS NOT NULL
|
|
|
and t1.hospital_id = t2.hospital_id
|
|
|
and t1.hospital_id = t3.hospital_id
|