| | |
| | | package com.java110.user.smo.impl; |
| | | |
| | | |
| | | import com.java110.utils.constant.CommunityMemberTypeConstant; |
| | | import com.java110.utils.constant.OwnerTypeConstant; |
| | | import com.java110.utils.constant.StatusConstant; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | |
| | | import com.java110.core.smo.owner.IOwnerInnerServiceSMO; |
| | | import com.java110.core.smo.user.IUserInnerServiceSMO; |
| | | import com.java110.dto.CommunityMemberDto; |
| | | import com.java110.dto.OwnerDto; |
| | | import com.java110.dto.owner.OwnerDto; |
| | | import com.java110.dto.PageDto; |
| | | import com.java110.dto.UserDto; |
| | | import com.java110.dto.user.UserDto; |
| | | import com.java110.user.dao.IOwnerServiceDao; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.util.StringUtils; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | if (communityMemberDtos == null || communityMemberDtos.size() < 1) { |
| | | return null; |
| | | }*/ |
| | | |
| | | int page = ownerDto.getPage(); |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | ownerDto.setPage((page - 1) * ownerDto.getRow()); |
| | | } |
| | | |
| | | Map ownerInfo = BeanConvertUtil.beanCovertMap(ownerDto); |
| | | ownerInfo.put("communityId",ownerDto.getCommunityId()); |
| | |
| | | communityMemberDto.setCommunityId(ownerDto.getCommunityId()); |
| | | communityMemberDto.setMemberTypeCd(CommunityMemberTypeConstant.OWNER); |
| | | return communityInnerServiceSMOImpl.getCommunityMemberCount(communityMemberDto);*/ |
| | | int page = ownerDto.getPage(); |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | ownerDto.setPage((page - 1) * ownerDto.getRow()); |
| | | } |
| | | |
| | | Map ownerInfo = BeanConvertUtil.beanCovertMap(ownerDto); |
| | | ownerInfo.put("communityId",ownerDto.getCommunityId()); |