| | |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | |
| | | <select id="selectPropertyCapitalApplyPage" resultMap="propertyCapitalApplyResultMap"> |
| | | <!--自定义分页查询--> |
| | | <select id="selectPropertyCapitalApplyPage" resultType="org.springblade.modules.property.vo.PropertyCapitalApplyVO"> |
| | | select * from jczz_property_capital_apply where is_deleted = 0 |
| | | <if test="propertyCapitalApply.districtId!=null"> |
| | | and district_id = #{propertyCapitalApply.districtId} |
| | | </if> |
| | | <if test="propertyCapitalApply.name!=null and propertyCapitalApply.name!=''"> |
| | | and name like concat('%',#{propertyCapitalApply.name},'%') |
| | | </if> |
| | | <if test="propertyCapitalApply.linkman!=null and propertyCapitalApply.linkman!=''"> |
| | | and linkman like concat('%',#{propertyCapitalApply.linkman},'%') |
| | | </if> |
| | | |
| | | <if test="propertyCapitalApply.districtIdList!=null and propertyCapitalApply.districtIdList!=''"> |
| | | and district_id in |
| | | <foreach collection="propertyCapitalApply.districtIdList" item="item" separator ="," open="(" close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | </select> |
| | | |
| | | |