胡轶钦 5 years ago
parent
commit
d3c9fb495f
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/main/resources/mapper/TaPersonMapper.xml

+ 1
- 0
src/main/resources/mapper/TaPersonMapper.xml View File

@@ -18,6 +18,7 @@
18 18
         WHERE
19 19
             t.person_type = #{personType}
20 20
         AND t.status = #{status}
21
+        and u.status != 9
21 22
         and t.org_id = #{orgId}
22 23
         <if test="buildingId != null and buildingId != ''">
23 24
             and p.building_id = #{buildingId}