修改了疾病标签的搜索

This commit is contained in:
wucongxing8150 2025-07-16 16:28:52 +08:00
parent b1fda37e38
commit 0675a7ea21
5 changed files with 10 additions and 0 deletions

View File

@ -94,6 +94,7 @@ public class ClinicalController extends BaseController {
request.getKeyword(),
request.getHospitalId(),
request.getDoctorId(),
request.getLabelIden(),
request.handleOrder()
);
@ -166,6 +167,7 @@ public class ClinicalController extends BaseController {
request.getKeyword(),
request.getHospitalId(),
request.getDoctorId(),
request.getLabelIden(),
request.handleOrder()
);

View File

@ -24,6 +24,7 @@ public interface CaseClinicalArticleDao extends BaseMapper<CaseClinicalArticleMo
@Param("keyword") String keyword,
@Param("hospitalId") String hospitalId,
@Param("doctorId") String doctorId,
@Param("labelIden") String labelIden,
@Param("order") Map<String, String> order
);

View File

@ -25,6 +25,7 @@ public interface CaseClinicalVideoDao extends BaseMapper<CaseClinicalVideoModel>
@Param("keyword") String keyword,
@Param("hospitalId") String hospitalId,
@Param("doctorId") String doctorId,
@Param("labelIden") String labelIden,
@Param("order") Map<String, String> order
);

View File

@ -73,6 +73,9 @@
<if test="doctorId != null and doctorId != ''">
AND d.doctor_id = ${doctorId}
</if>
<if test="labelIden != null and labelIden != ''">
AND l.app_iden = ${labelIden}
</if>
) AS result
JOIN case_clinical_article a ON a.article_id = result.article_id
<if test="order != null and !order.isEmpty()">

View File

@ -41,6 +41,9 @@
<if test="doctorId != null and doctorId != ''">
AND d.doctor_id = ${doctorId}
</if>
<if test="labelIden != null and labelIden != ''">
AND l.app_iden = ${labelIden}
</if>
<if test="order != null and !order.isEmpty()">
ORDER BY
<foreach item="entry" index="key" collection="order" separator=",">