Browse Source

修改sql

feature/v.2.0.0
caoyizhong 3 years ago
parent
commit
dbdd90044a
  1. 2
      air/src/main/resources/mapper/LandListedMapper.xml

2
air/src/main/resources/mapper/LandListedMapper.xml

@ -131,7 +131,7 @@
<!-- like concat('%',#{landVo.landCode},'%')-->
<!-- </if>-->
<if test="landVo.landCode != null and landVo.landCode != ''">
and CONCAT(ll.anno_idll.land_code,ll.land_transfer_mu, ll.city,ll.canton,ll.big_group) like concat('%',#{landVo.landCode},'%')
and CONCAT(ll.anno_id,ll.land_code,ll.land_transfer_mu, ll.city,ll.canton,ll.big_group) like concat('%',#{landVo.landCode},'%')
</if>
</where>
order by ll.land_listed_id desc

Loading…
Cancel
Save