| | |
| | | <!--自定义分页列表查询--> |
| | | <select id="selectCommunityPage" resultType="org.springblade.modules.community.vo.CommunityVO"> |
| | | select |
| | | jc.* |
| | | jc.*, |
| | | br.town_name townName |
| | | from jczz_community jc |
| | | left join blade_region br on br.code = jc.code |
| | | where jc.is_deleted = 0 |
| | |
| | | <if test="community.regionCode !=null and community.regionCode !=''"> |
| | | and jc.code like concat('%',#{community.regionCode},'%') |
| | | </if> |
| | | <if test="community.townName !=null and community.townName !=''"> |
| | | and br.town_name like concat('%',#{community.townName},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <!--自定义分页列表查询--> |