|
@@ -40,7 +40,7 @@
|
|
<if test="tenantId != null and tenantId != ''">
|
|
<if test="tenantId != null and tenantId != ''">
|
|
and e.tenant_id = #{tenantId}
|
|
and e.tenant_id = #{tenantId}
|
|
</if>
|
|
</if>
|
|
- and e.status = 0
|
|
|
|
|
|
+ and e.facility_status = 0
|
|
</where>
|
|
</where>
|
|
GROUP BY d.id
|
|
GROUP BY d.id
|
|
</select>
|
|
</select>
|
|
@@ -53,7 +53,7 @@
|
|
<if test="tenantId != null and tenantId != ''">
|
|
<if test="tenantId != null and tenantId != ''">
|
|
and e.tenant_id = #{tenantId}
|
|
and e.tenant_id = #{tenantId}
|
|
</if>
|
|
</if>
|
|
- and e.status = 1
|
|
|
|
|
|
+ and e.facility_status = 1
|
|
</where>
|
|
</where>
|
|
GROUP BY d.id
|
|
GROUP BY d.id
|
|
</select>
|
|
</select>
|
|
@@ -66,7 +66,7 @@
|
|
<if test="tenantId != null and tenantId != ''">
|
|
<if test="tenantId != null and tenantId != ''">
|
|
and e.tenant_id = #{tenantId}
|
|
and e.tenant_id = #{tenantId}
|
|
</if>
|
|
</if>
|
|
- and e.status = 2
|
|
|
|
|
|
+ and e.facility_status = 2
|
|
</where>
|
|
</where>
|
|
GROUP BY d.id
|
|
GROUP BY d.id
|
|
</select>
|
|
</select>
|