old mode 100644
new mode 100755
| | |
| | | import com.java110.dto.CommunityMemberDto; |
| | | import com.java110.dto.community.CommunityAttrDto; |
| | | import com.java110.dto.community.CommunityDto; |
| | | import com.java110.po.community.CommunityAttrPo; |
| | | import com.java110.po.community.CommunityPo; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | * @Version 1.0 |
| | | * add by wuxw 2019/4/24 |
| | | **/ |
| | | @FeignClient(name = "community-service", configuration = {FeignConfiguration.class}) |
| | | @FeignClient(name = "${java110.community-service}", configuration = {FeignConfiguration.class}) |
| | | @RequestMapping("/communityApi") |
| | | public interface ICommunityInnerServiceSMO { |
| | | |
| | |
| | | @RequestMapping(value = "/queryCommunitysCount", method = RequestMethod.POST) |
| | | int queryCommunitysCount(@RequestBody CommunityDto communityDto); |
| | | |
| | | /** |
| | | * 保存小区信息 |
| | | * |
| | | * @param communityPo |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/saveCommunity", method = RequestMethod.POST) |
| | | int saveCommunity(@RequestBody CommunityPo communityPo); |
| | | |
| | | /** |
| | | * 修改小区信息 |
| | | * |
| | | * @param communityPo |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/updateCommunity", method = RequestMethod.POST) |
| | | int updateCommunity(@RequestBody CommunityPo communityPo); |
| | | |
| | | /** |
| | | * 查询小区成员表 |
| | |
| | | */ |
| | | @RequestMapping(value = "/getCommunityAttrsCount", method = RequestMethod.POST) |
| | | int getCommunityAttrsCount(@RequestBody CommunityAttrDto communityAttrDto); |
| | | |
| | | |
| | | /** |
| | | * 查询<p>小区楼</p>总记录数 |
| | | * |
| | | * @param communityAttrPo 数据对象分享 |
| | | * @return 小区下的小区楼记录数 |
| | | */ |
| | | @RequestMapping(value = "/saveCommunityAttr", method = RequestMethod.POST) |
| | | int saveCommunityAttr(@RequestBody CommunityAttrPo communityAttrPo); |
| | | } |