| | |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | |
| | | <select id="selectDistrictPage" resultMap="districtResultMap"> |
| | | select * from jczz_district where is_deleted = 0 |
| | | <!--自定义分页--> |
| | | <select id="selectDistrictPage" resultType="org.springblade.modules.district.vo.DistrictVO"> |
| | | select * from jczz_district |
| | | where is_deleted = 0 |
| | | <if test="district.name !=null and district.name !=''"> |
| | | and name like concat('%',#{district.name},'%') |
| | | </if> |
| | | <if test="district.communityCode !=null and district.communityCode !=''"> |
| | | and community_code = #{district.communityCode} |
| | | </if> |
| | | </select> |
| | | |
| | | |