|
@@ -24,8 +24,9 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getLibraryForDiagnose2" resultType="java.lang.String">
|
|
|
- SELECT concat(name, '_', type_id) from kl_library_info where is_deleted = 'N'
|
|
|
- and type_id in (1,5,12,13,14,16,17,18,35,70)
|
|
|
+ SELECT concat(a.name, '_', a.type_id) from kl_library_info a, kl_concept b
|
|
|
+ where a.is_deleted = 'N' and b.is_deleted = 'N' and a.concept_id = b.id
|
|
|
+ and a.type_id in (1,5,12,13,14,16,17,18,35,70)
|
|
|
</select>
|
|
|
|
|
|
<select id="putRedis" resultType="com.diagbot.dto.RedisWithDiagnoseDTO">
|