| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="propertyRightRegistrationV1ServiceDaoImpl"> |
| | | <!-- 保存房屋产权信息 add by wuxw 2018-07-03 --> |
| | |
| | | table_columns = 'state' |
| | | where 1 = 1 |
| | | <if test="address !=null and address != ''"> |
| | | and t.address= #{address} |
| | | and t.address like concat('%',#{address},'%') |
| | | </if> |
| | | <if test="prrId !=null and prrId != ''"> |
| | | and t.prr_id= #{prrId} |
| | |
| | | and t.id_card= #{idCard} |
| | | </if> |
| | | <if test="name !=null and name != ''"> |
| | | and t.name= #{name} |
| | | and t.name like concat('%',#{name},'%') |
| | | </if> |
| | | <if test="link !=null and link != ''"> |
| | | and t.link= #{link} |
| | |
| | | limit #{page}, #{row} |
| | | </if> |
| | | </select> |
| | | |
| | | |
| | | <!-- 修改房屋产权信息 add by wuxw 2018-07-03 --> |
| | | <update id="updatePropertyRightRegistrationInfo" parameterType="Map"> |
| | |
| | | left join f_floor fl on bu.floor_id = fl.floor_id and fl.status_cd = '0' |
| | | where 1 = 1 |
| | | <if test="address !=null and address != ''"> |
| | | and t.address= #{address} |
| | | and t.address like concat('%',#{address},'%') |
| | | </if> |
| | | <if test="prrId !=null and prrId != ''"> |
| | | and t.prr_id= #{prrId} |
| | |
| | | and t.id_card= #{idCard} |
| | | </if> |
| | | <if test="name !=null and name != ''"> |
| | | and t.name= #{name} |
| | | and t.name like concat('%',#{name},'%') |
| | | </if> |
| | | <if test="link !=null and link != ''"> |
| | | and t.link= #{link} |
| | |
| | | and t.community_id= #{communityId} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |