From 2f73a671db8bf132baaba12a5c2a9c3b611589e9 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 01 八月 2019 17:14:26 +0800
Subject: [PATCH] 修复 添加房屋时的侦听 类修改
---
java110-core/src/main/java/com/java110/core/smo/owner/IOwnerInnerServiceSMO.java | 63 ++++++++++++++++++++++++++++++-
1 files changed, 61 insertions(+), 2 deletions(-)
diff --git a/java110-core/src/main/java/com/java110/core/smo/owner/IOwnerInnerServiceSMO.java b/java110-core/src/main/java/com/java110/core/smo/owner/IOwnerInnerServiceSMO.java
index 63dd51e..05f0abd 100644
--- a/java110-core/src/main/java/com/java110/core/smo/owner/IOwnerInnerServiceSMO.java
+++ b/java110-core/src/main/java/com/java110/core/smo/owner/IOwnerInnerServiceSMO.java
@@ -2,7 +2,7 @@
import com.java110.core.feign.FeignConfiguration;
import com.java110.dto.OwnerDto;
-import org.springframework.cloud.netflix.feign.FeignClient;
+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;
@@ -17,7 +17,7 @@
* @Version 1.0
* add by wuxw 2019/4/24
**/
-@FeignClient(name = "community-service", configuration = {FeignConfiguration.class})
+@FeignClient(name = "user-service", configuration = {FeignConfiguration.class})
@RequestMapping("/ownerApi")
public interface IOwnerInnerServiceSMO {
@@ -32,6 +32,16 @@
List<OwnerDto> queryOwners(@RequestBody OwnerDto ownerDto);
/**
+ * <p>鏌ヨ涓氫富鎴愬憳</p>
+ *
+ *
+ * @param ownerDto 鏁版嵁瀵硅薄鍒嗕韩
+ * @return OwnerDto 瀵硅薄鏁版嵁
+ */
+ @RequestMapping(value = "/queryOwnerMembers", method = RequestMethod.POST)
+ List<OwnerDto> queryOwnerMembers(@RequestBody OwnerDto ownerDto);
+
+ /**
* 鏌ヨ<p>灏忓尯妤�</p>鎬昏褰曟暟
*
* @param ownerDto 鏁版嵁瀵硅薄鍒嗕韩
@@ -39,4 +49,53 @@
*/
@RequestMapping(value = "/queryOwnersCount", method = RequestMethod.POST)
int queryOwnersCount(@RequestBody OwnerDto ownerDto);
+
+ /**
+ * 鏌ヨ<p>灏忓尯妤�</p>鎬昏褰曟暟 鏍规嵁鏉′欢鏌ヨ
+ * @param ownerDto 鏁版嵁瀵硅薄鍒嗕韩
+ * @return 灏忓尯涓嬬殑灏忓尯妤艰褰曟暟
+ */
+ @RequestMapping(value = "/queryOwnerCountByCondition", method = RequestMethod.POST)
+ int queryOwnerCountByCondition(@RequestBody OwnerDto ownerDto);
+
+
+ /**
+ * <p>鏌ヨ灏忓尯妤间俊鎭�</p> 鏍规嵁鏉′欢鏌ヨ
+ *
+ *
+ * @param ownerDto 鏁版嵁瀵硅薄鍒嗕韩 鏍规嵁鏉′欢鏌ヨ
+ * @return OwnerDto 瀵硅薄鏁版嵁
+ */
+ @RequestMapping(value = "/queryOwnersByCondition", method = RequestMethod.POST)
+ List<OwnerDto> queryOwnersByCondition(@RequestBody OwnerDto ownerDto);
+
+
+ /**
+ * 鏌ヨ<p>灏忓尯妤�</p>鎬昏褰曟暟
+ *
+ * @param ownerDto 鏁版嵁瀵硅薄鍒嗕韩
+ * @return 灏忓尯涓嬬殑灏忓尯妤艰褰曟暟
+ */
+ @RequestMapping(value = "/queryNoEnterRoomOwnerCount", method = RequestMethod.POST)
+ int queryNoEnterRoomOwnerCount(@RequestBody OwnerDto ownerDto);
+
+ /**
+ * 鏍规嵁鎴垮眿鏌ヨ涓氫富淇℃伅
+ *
+ * @param ownerDto 鏁版嵁瀵硅薄鍒嗕韩
+ * @return 灏忓尯涓嬬殑灏忓尯妤艰褰曟暟
+ */
+ @RequestMapping(value = "/queryOwnersByRoom", method = RequestMethod.POST)
+ List<OwnerDto> queryOwnersByRoom(@RequestBody OwnerDto ownerDto);
+
+
+ /**
+ * 鏍规嵁鍋滆溅浣嶆煡璇笟涓讳俊鎭�
+ *
+ * @param ownerDto 鏁版嵁瀵硅薄鍒嗕韩
+ * @return 灏忓尯涓嬬殑灏忓尯妤艰褰曟暟
+ */
+ @RequestMapping(value = "/queryOwnersByParkingSpace", method = RequestMethod.POST)
+ List<OwnerDto> queryOwnersByParkingSpace(@RequestBody OwnerDto ownerDto);
+
}
--
Gitblit v1.8.0