Browse Source

修改查询为模糊查询

master
HAHA 3 years ago
parent
commit
390c9a83b4
  1. 4
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaLoudongDao.xml
  2. 4
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaPingfangDao.xml
  3. 6
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRentalDao.xml
  4. 6
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaResidentDao.xml
  5. 6
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRotatorsDao.xml

4
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaLoudongDao.xml

@ -88,10 +88,10 @@
<where>
delete_flag = 'normal'
<if test="communityName != null and communityName != ''">
AND community_name = #{communityName}
AND community_name like '%${communityName}%'
</if>
<if test="buildingName != null and buildingName != ''">
AND building_name = #{buildingName}
AND building_name like '%${buildingName}%'
</if>
</where>
</select>

4
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaPingfangDao.xml

@ -85,10 +85,10 @@
<where>
delete_flag = 'normal'
<if test="buildingName != null and buildingName != ''">
AND building_name = #{buildingName}
AND building_name like '%${buildingName}%'
</if>
<if test="communityName != null and communityName != ''">
AND community_name = #{communityName}
AND community_name like '%${communityName}%'
</if>
</where>
</select>

6
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRentalDao.xml

@ -77,13 +77,13 @@
<where>
delete_flag = 'normal'
<if test="residentName != null and residentName != ''">
AND resident_name = #{residentName}
AND resident_name like '%${residentName}%'
</if>
<if test="houseName != null and houseName != ''">
AND house_name = #{houseName}
AND house_name like '%${houseName}%'
</if>
<if test="renterName != null and renterName != ''">
AND renter_name = #{renterName}
AND renter_name like '%${renterName}%'
</if>
</where>
</select>

6
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaResidentDao.xml

@ -105,13 +105,13 @@
<where>
delete_flag = 'normal'
<if test="residentName != null and residentName != ''">
AND resident_name = #{residentName}
AND resident_name like '%${residentName}%'
</if>
<if test="idCard != null and idCard != ''">
AND id_card = #{idCard}
AND id_card like '%${idCard}%'
</if>
<if test="telephone != null and telephone != ''">
AND telephone = #{telephone}
AND telephone like '%${telephone}%'
</if>
</where>
</select>

6
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/mapper/CaRotatorsDao.xml

@ -109,13 +109,13 @@
<where>
delete_flag = 'normal'
<if test="rotatorsName != null and rotatorsName != ''">
AND rotators_name = #{rotatorsName}
AND rotators_name like '%${rotatorsName}%'
</if>
<if test="idCard != null and idCard != ''">
AND id_card = #{idCard}
AND id_card like '%${idCard}%'
</if>
<if test="telephone != null and telephone != ''">
AND telephone = #{telephone}
AND telephone like '%${telephone}%'
</if>
</where>
</select>

Loading…
Cancel
Save