傅行帆 5 yıl önce
ebeveyn
işleme
02b8bd11f8

+ 1
- 1
src/main/resources/mapper/TaBuildingMapper.xml Dosyayı Görüntüle

@@ -36,7 +36,7 @@
36 36
     <select id="buildingListSelect" resultType="com.huiju.estateagents.entity.TaBuilding">
37 37
         SELECT * FROM ta_building
38 38
         <where>
39
-            status =1
39
+            1 =1
40 40
             <if test="Name != null and Name != ''">
41 41
                 and  (ta_building.name like concat('%',#{Name,jdbcType=VARCHAR},'%') or ta_building.building_name like concat('%',#{Name,jdbcType=VARCHAR},'%'))
42 42
             </if>