167 住院管理-》住院护士站-》入出转管理:护士登录的科室能接收查看到其他科室的入科患者
This commit is contained in:
@@ -90,6 +90,7 @@
|
||||
WHERE ae.delete_flag = '0'
|
||||
AND ae.class_enum = #{imp}
|
||||
AND ae.status_enum != #{toBeRegistered}
|
||||
AND ae.organization_id = #{currentUserOrgId}
|
||||
GROUP BY ae.tenant_id,
|
||||
ae.id,
|
||||
ae.bus_no,
|
||||
@@ -198,6 +199,7 @@
|
||||
WHERE bed.form_enum = #{bed}
|
||||
AND bed.delete_flag = '0'
|
||||
AND bed.status_enum != #{inactive}
|
||||
AND (ae.organization_id = #{currentUserOrgId} OR ae.id IS NULL)
|
||||
GROUP BY bed.id,
|
||||
bed.bus_no,
|
||||
bed.tenant_id,
|
||||
|
||||
Reference in New Issue
Block a user