ICommunityInnerServiceSMO.java 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. package com.java110.intf.community;
  2. import com.java110.config.feign.FeignConfiguration;
  3. import com.java110.dto.CommunityMemberDto;
  4. import com.java110.dto.community.CommunityAttrDto;
  5. import com.java110.dto.community.CommunityDto;
  6. import com.java110.po.community.CommunityPo;
  7. import org.springframework.cloud.openfeign.FeignClient;
  8. import org.springframework.web.bind.annotation.RequestBody;
  9. import org.springframework.web.bind.annotation.RequestMapping;
  10. import org.springframework.web.bind.annotation.RequestMethod;
  11. import java.util.List;
  12. /**
  13. * @ClassName IFloorInnerServiceSMO
  14. * @Description 小区楼接口类
  15. * @Author wuxw
  16. * @Date 2019/4/24 9:04
  17. * @Version 1.0
  18. * add by wuxw 2019/4/24
  19. **/
  20. @FeignClient(name = "community-service", configuration = {FeignConfiguration.class})
  21. @RequestMapping("/communityApi")
  22. public interface ICommunityInnerServiceSMO {
  23. /**
  24. * <p>查询小区楼信息</p>
  25. *
  26. * @param communityDto 数据对象分享
  27. * @return CommunityDto 对象数据
  28. */
  29. @RequestMapping(value = "/queryCommunitys", method = RequestMethod.POST)
  30. List<CommunityDto> queryCommunitys(@RequestBody CommunityDto communityDto);
  31. /**
  32. * 查询<p>小区楼</p>总记录数
  33. *
  34. * @param communityDto 数据对象分享
  35. * @return 小区下的小区楼记录数
  36. */
  37. @RequestMapping(value = "/queryCommunitysCount", method = RequestMethod.POST)
  38. int queryCommunitysCount(@RequestBody CommunityDto communityDto);
  39. /**
  40. * 查询小区成员表
  41. *
  42. * @param communityMemberDto 小区成员数据封装
  43. * @return CommunityMemberDto 数据
  44. */
  45. @RequestMapping(value = "/getCommunityMembers", method = RequestMethod.POST)
  46. List<CommunityMemberDto> getCommunityMembers(@RequestBody CommunityMemberDto communityMemberDto);
  47. /**
  48. * 查询商户入驻小区
  49. *
  50. * @param communityMemberDto 小区成员数据封装
  51. * @return CommunityMemberDto 数据
  52. */
  53. @RequestMapping(value = "/getStoreCommunitys", method = RequestMethod.POST)
  54. List<CommunityDto> getStoreCommunitys(@RequestBody CommunityMemberDto communityMemberDto);
  55. /**
  56. * 查询小区成员数量
  57. *
  58. * @param communityMemberDto 小区成员数据封装
  59. * @return CommunityMemberDto 数据
  60. */
  61. @RequestMapping(value = "/getCommunityMemberCount", method = RequestMethod.POST)
  62. int getCommunityMemberCount(@RequestBody CommunityMemberDto communityMemberDto);
  63. /**
  64. * <p>查询小区楼信息</p>
  65. *
  66. * @param communityAttrDto 数据对象分享
  67. * @return CommunityDto 对象数据
  68. */
  69. @RequestMapping(value = "/getCommunityAttrs", method = RequestMethod.POST)
  70. List<CommunityAttrDto> getCommunityAttrs(@RequestBody CommunityAttrDto communityAttrDto);
  71. /**
  72. * 查询<p>小区楼</p>总记录数
  73. *
  74. * @param communityAttrDto 数据对象分享
  75. * @return 小区下的小区楼记录数
  76. */
  77. @RequestMapping(value = "/getCommunityAttrsCount", method = RequestMethod.POST)
  78. int getCommunityAttrsCount(@RequestBody CommunityAttrDto communityAttrDto);
  79. }