| | |
| | | t.user_id,t.user_id userId,t.age,t.member_id,t.member_id memberId,t.owner_type_cd, |
| | | t.owner_type_cd ownerTypeCd,t.create_time createTime,t.community_id, |
| | | t.community_id communityId,t.id_card, t.id_card idCard,t.state,td.name ownerTypeName, |
| | | t.owner_flag,t.owner_flag ownerFlag,t.address,t.person_type personType,t.person_role personRole, |
| | | t.owner_flag,t.owner_flag ownerFlag,t.address,t.other_address otherAddress,t.person_type personType,t.person_role personRole, |
| | | t.concact_person concactPerson, t.concact_link concactLink,t.face_url faceUrl,td.name ownerTypeName, |
| | | tdType.name personTypeName,tdRole.name personRoleName |
| | | <if test="roomIds != null"> |
| | |
| | | select t.sex,t.name,t.link,t.status_cd,t.status_cd statusCd,t.remark,t.owner_id,t.owner_id ownerId,t.b_id,t.b_id |
| | | bId,t.user_id,t.user_id userId,t.age,t.member_id,t.member_id memberId, |
| | | t.owner_type_cd,t.owner_type_cd ownerTypeCd,t.community_id, |
| | | t.community_id communityId,t.id_card, t.id_card idCard,t.address |
| | | t.community_id communityId,t.id_card, t.id_card idCard,t.address,t.other_address otherAddress |
| | | FROM building_owner t |
| | | WHERE |
| | | t.`status_cd` = '0' |
| | |
| | | bId,t.user_id,t.user_id userId,t.age,t.member_id,t.member_id memberId,t.owner_type_cd,t.owner_type_cd |
| | | ownerTypeCd, |
| | | r.`room_id` roomId,r.`room_num` roomNum,t.community_id,t.community_id communityId,t.id_card, t.id_card |
| | | idCard,orr.start_time startTime ,orr.end_time endTime,t.address |
| | | idCard,orr.start_time startTime ,orr.end_time endTime,t.address,t.other_address otherAddress |
| | | FROM building_room r,building_owner_room_rel orr,building_owner t |
| | | WHERE r.`room_id` = orr.`room_id` |
| | | AND orr.`owner_id` = t.`owner_id` |
| | |
| | | <!-- 根据停车位查询 --> |
| | | <select id="queryOwnersByParkingSpace" parameterType="Map" resultType="Map"> |
| | | select ps.num,ps.ps_id psId,t.sex,t.name,t.link,t.status_cd,t.status_cd statusCd,t.remark,t.owner_id,t.owner_id |
| | | ownerId,t.b_id,t.b_id bId,t.address, |
| | | ownerId,t.b_id,t.b_id bId,t.address,t.other_address otherAddress, |
| | | t.user_id,t.user_id userId,t.age,t.member_id,t.member_id memberId, |
| | | t.owner_type_cd,t.owner_type_cd ownerTypeCd,t.id_card, t.id_card idCard |
| | | from p_parking_space ps , owner_car oc,building_owner t |