|
@@ -45,8 +45,9 @@
|
|
|
icss_dis_type a
|
|
|
JOIN icss_question_info b
|
|
|
ON a.dis_id = b.id
|
|
|
+ LEFT JOIN icss_index_config f ON a.dis_id = f.disease_id and f.is_deleted = 'N'
|
|
|
WHERE a.type = 1
|
|
|
- AND a.dis_id not in (SELECT DISTINCT f.disease_id as diseaseId From icss_index_config f WHERE f.is_deleted ="N")
|
|
|
+ AND f.disease_id is null
|
|
|
AND a.is_deleted = "N"
|
|
|
AND b.is_deleted = "N"
|
|
|
<if test="diseaseNameVO.diseaseName != null and diseaseNameVO.diseaseName != ''">
|