修改了疾病标签的搜索1
This commit is contained in:
parent
0675a7ea21
commit
ac161b5bd4
@ -68,13 +68,13 @@
|
||||
)
|
||||
</if>
|
||||
<if test="hospitalId != null and hospitalId != ''">
|
||||
AND d.hospital_id = ${hospitalId}
|
||||
AND d.hospital_id = #{hospitalId}
|
||||
</if>
|
||||
<if test="doctorId != null and doctorId != ''">
|
||||
AND d.doctor_id = ${doctorId}
|
||||
AND d.doctor_id = #{doctorId}
|
||||
</if>
|
||||
<if test="labelIden != null and labelIden != ''">
|
||||
AND l.app_iden = ${labelIden}
|
||||
AND l.app_iden = #{labelIden}
|
||||
</if>
|
||||
) AS result
|
||||
JOIN case_clinical_article a ON a.article_id = result.article_id
|
||||
@ -101,10 +101,10 @@
|
||||
)
|
||||
</if>
|
||||
<if test="hospitalId != null and hospitalId != ''">
|
||||
AND d.hospital_id = ${hospitalId}
|
||||
AND d.hospital_id = #{hospitalId}
|
||||
</if>
|
||||
<if test="doctorId != null and doctorId != ''">
|
||||
AND d.doctor_id = ${doctorId}
|
||||
AND d.doctor_id = #{doctorId}
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
@ -36,13 +36,13 @@
|
||||
)
|
||||
</if>
|
||||
<if test="hospitalId != null and hospitalId != ''">
|
||||
AND d.hospital_id = ${hospitalId}
|
||||
AND d.hospital_id = #{hospitalId}
|
||||
</if>
|
||||
<if test="doctorId != null and doctorId != ''">
|
||||
AND d.doctor_id = ${doctorId}
|
||||
AND d.doctor_id = #{doctorId}
|
||||
</if>
|
||||
<if test="labelIden != null and labelIden != ''">
|
||||
AND l.app_iden = ${labelIden}
|
||||
AND l.app_iden = #{labelIden}
|
||||
</if>
|
||||
<if test="order != null and !order.isEmpty()">
|
||||
ORDER BY
|
||||
@ -67,10 +67,10 @@
|
||||
)
|
||||
</if>
|
||||
<if test="hospitalId != null and hospitalId != ''">
|
||||
AND d.hospital_id = ${hospitalId}
|
||||
AND d.hospital_id = #{hospitalId}
|
||||
</if>
|
||||
<if test="doctorId != null and doctorId != ''">
|
||||
AND d.doctor_id = ${doctorId}
|
||||
AND d.doctor_id = #{doctorId}
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
@ -45,7 +45,7 @@
|
||||
)
|
||||
</if>
|
||||
<if test="userId != null and userId != ''">
|
||||
AND c.user_id = ${userId}
|
||||
AND c.user_id = #{userId}
|
||||
</if>
|
||||
) AS result
|
||||
JOIN case_exchange a ON result.exchange_id = a.exchange_id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user