傅行帆 5 年之前
父節點
當前提交
02b8bd11f8
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/main/resources/mapper/TaBuildingMapper.xml

+ 1
- 1
src/main/resources/mapper/TaBuildingMapper.xml 查看文件

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