java110 лет назад: 5
Родитель
Сommit
2d366348fd
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml

+ 1 - 0
java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml

@@ -296,6 +296,7 @@
         left join t_dict td on t.state = td.status_cd and td.table_name = 'building_room' and td.table_columns = 'state'
         left join t_dict td on t.state = td.status_cd and td.table_name = 'building_room' and td.table_columns = 'state'
         WHERE 1 =1
         WHERE 1 =1
         AND t.`community_id` = #{communityId}
         AND t.`community_id` = #{communityId}
+        and t.status_cd ='0'
         <if test="floorId !=null and floorId != ''">
         <if test="floorId !=null and floorId != ''">
             and f.`floor_id`= #{floorId}
             and f.`floor_id`= #{floorId}
         </if>
         </if>