修改限制数量
This commit is contained in:
parent
ec78f1167d
commit
897b1c3cbe
@ -30,6 +30,7 @@
|
||||
FROM stats_case_clinical_doctor a
|
||||
LEFT JOIN case_clinical_doctor b ON a.doctor_id = b.doctor_id
|
||||
WHERE b.status = 1
|
||||
AND (a.article_num + a.video_num) >= 2
|
||||
<if test="doctorName != null and doctorName != ''">
|
||||
AND b.doctor_name LIKE CONCAT('%', #{doctorName}, '%')
|
||||
</if>
|
||||
|
||||
@ -30,6 +30,7 @@
|
||||
FROM stats_case_clinical_hospital a
|
||||
LEFT JOIN basic_hospital b ON a.hospital_id = b.hospital_id
|
||||
WHERE b.source = 2
|
||||
AND (a.article_num + a.video_num) >= 2
|
||||
<if test="hospital_name != null and hospital_name != ''">
|
||||
AND b.hospital_name LIKE CONCAT('%', #{hospital_name}, '%')
|
||||
</if>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user