| | |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | |
| | | <!--自定义分页查询--> |
| | | <select id="selectPropertyCompanyPage" resultMap="propertyCompanyResultMap"> |
| | | select * from jczz_property_company where is_deleted = 0 |
| | | <if test="propertyCompany.name!=null and propertyCompany.name!=''"> |
| | | and name like concat('%',#{propertyCompany.name},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <!--物业公司列表查询(不分页)--> |
| | | <select id="getPropertyCompanyList" resultMap="propertyCompanyResultMap"> |
| | | select * from jczz_property_company where is_deleted = 0 |
| | | <if test="propertyCompany.name!=null and propertyCompany.name!=''"> |
| | | and name like concat('%',#{propertyCompany.name},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | |