|
@@ -70,7 +70,7 @@
|
|
left join care_station cs on cs.id = ceoc.station_id
|
|
left join care_station cs on cs.id = ceoc.station_id
|
|
left join care_sys_user csu on ceoc.chamb_id = csu.id
|
|
left join care_sys_user csu on ceoc.chamb_id = csu.id
|
|
<where>
|
|
<where>
|
|
- ceoc.org_id is null
|
|
|
|
|
|
+ ceoc.station_id is null
|
|
<if test="userOrgId != null">
|
|
<if test="userOrgId != null">
|
|
AND ceoc.org_id = #{userOrgId}
|
|
AND ceoc.org_id = #{userOrgId}
|
|
</if>
|
|
</if>
|