傅行帆 5 years ago
parent
commit
4fcbc47413
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/resources/mapper/TaBuildingMapper.xml

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

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>