From a0373d6b939d71878ccfcc067cbb4efa6d803830 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 28 三月 2020 00:16:24 +0800
Subject: [PATCH] Merge branch 'back' of https://github.com/java110/MicroCommunity into back
---
java110-core/src/main/java/com/java110/core/smo/user/IUserInnerServiceSMO.java | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 50 insertions(+), 2 deletions(-)
diff --git a/java110-core/src/main/java/com/java110/core/smo/user/IUserInnerServiceSMO.java b/java110-core/src/main/java/com/java110/core/smo/user/IUserInnerServiceSMO.java
index 573aaf9..a33c007 100644
--- a/java110-core/src/main/java/com/java110/core/smo/user/IUserInnerServiceSMO.java
+++ b/java110-core/src/main/java/com/java110/core/smo/user/IUserInnerServiceSMO.java
@@ -1,8 +1,9 @@
package com.java110.core.smo.user;
import com.java110.core.feign.FeignConfiguration;
-import com.java110.dto.UserDto;
-import org.springframework.cloud.netflix.feign.FeignClient;
+import com.java110.dto.user.UserDto;
+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 org.springframework.web.bind.annotation.RequestParam;
@@ -34,4 +35,51 @@
*/
@RequestMapping(value = "/getUserInfo", method = RequestMethod.GET)
List<UserDto> getUserInfo(@RequestParam("userIds") String[] userIds);
+
+
+ /**
+ * 鏌ヨ鍛樺伐鎬绘暟
+ *
+ * @param userDto 鐢ㄦ埛ID
+ * 鏀寔 澶氫釜鏌ヨ
+ * @return 鐢ㄦ埛灏佽淇℃伅
+ */
+ @RequestMapping(value = "/getStaffCount", method = RequestMethod.POST)
+ int getStaffCount(@RequestBody UserDto userDto);
+
+
+ /**
+ * 鏌ヨ鍛樺伐淇℃伅
+ *
+ * @param userDto 鐢ㄦ埛ID
+ * 鏀寔 澶氫釜鏌ヨ
+ * @return 鐢ㄦ埛灏佽淇℃伅
+ */
+ @RequestMapping(value = "/getStaffs", method = RequestMethod.POST)
+ List<UserDto> getStaffs(@RequestBody UserDto userDto);
+
+
+ /**
+ * 鏌ヨ鐢ㄦ埛鎬绘暟
+ *
+ * @param userDto 鐢ㄦ埛ID
+ * 鏀寔 澶氫釜鏌ヨ
+ * @return 鐢ㄦ埛灏佽淇℃伅
+ */
+ @RequestMapping(value = "/getUserCount", method = RequestMethod.POST)
+ int getUserCount(@RequestBody UserDto userDto);
+
+
+ /**
+ * 鏌ヨ鍛樺伐淇℃伅
+ *
+ * @param userDto 鐢ㄦ埛ID
+ * 鏀寔 澶氫釜鏌ヨ
+ * @return 鐢ㄦ埛灏佽淇℃伅
+ */
+ @RequestMapping(value = "/getUsers", method = RequestMethod.POST)
+ List<UserDto> getUsers(@RequestBody UserDto userDto);
+
+ @RequestMapping(value = "/getUserHasPwd", method = RequestMethod.POST)
+ List<UserDto> getUserHasPwd(@RequestBody UserDto userDto);
}
--
Gitblit v1.8.0