Blame view

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