|
|
|
@ -144,6 +144,13 @@ |
|
|
|
left join hms_version v on v.id = c.version |
|
|
|
where |
|
|
|
c.del_flag = 0 and c.parent_id != 0 and s.is_show = 1 and c.status = 1 |
|
|
|
and ( |
|
|
|
c.level = 20 |
|
|
|
or |
|
|
|
(c.level = 10 and c.hospital_id = #{hospitalId}) |
|
|
|
or |
|
|
|
c.create_by = #{userName} |
|
|
|
) |
|
|
|
<if test="isFemale != null and isFemale"> |
|
|
|
and c.id != 1982752141751750656 |
|
|
|
</if> |
|
|
|
|