| | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.HashMap; |
| | |
| | | |
| | | |
| | | @Override |
| | | public List<CommunityMemberDto> getCommunityMembers(CommunityMemberDto communityMemberDto) { |
| | | public List<CommunityMemberDto> getCommunityMembers(@RequestBody CommunityMemberDto communityMemberDto) { |
| | | |
| | | logger.debug("communityMemberDto:{}", JSONObject.toJSONString(communityMemberDto)); |
| | | |
| | | Map info = new HashMap(); |
| | | List<Map> communityMembers = communityServiceDaoImpl.getCommunityMembers(BeanConvertUtil.covertBean(communityMemberDto, info)); |
| | | List<Map> communityMembers = communityServiceDaoImpl.getCommunityMembers(BeanConvertUtil.beanCovertMap(communityMemberDto)); |
| | | return BeanConvertUtil.covertBeanList(communityMembers, CommunityMemberDto.class); |
| | | } |
| | | |