修改了疾病标签的搜索
This commit is contained in:
parent
b1fda37e38
commit
0675a7ea21
@ -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()
|
||||
);
|
||||
|
||||
|
||||
@ -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
|
||||
);
|
||||
|
||||
|
||||
@ -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
|
||||
);
|
||||
|
||||
|
||||
@ -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()">
|
||||
|
||||
@ -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=",">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user