ソースを参照

上传文件至 'src/main/java/com/weavi/ahh_v2/service'

rookies 5 年 前
コミット
84f8851429

+ 26 - 0
src/main/java/com/weavi/ahh_v2/service/LabelService.java

@@ -0,0 +1,26 @@
+package com.weavi.ahh_v2.service;
+
+import com.weavi.ahh_v2.domain.UserLabel;
+import com.weavi.ahh_v2.domain.UserInfo;
+
+import java.util.List;
+
+/**
+ * @auther jiangzuole
+ * @date 2019-05-28
+ * @time 10:20
+ */
+public interface LabelService {
+
+    //List<UserLabel> findAll(Pageable pageable);
+
+    UserLabel findById(Integer id);
+
+    //UserLabel findByUserId(Integer userId);
+
+    List<UserInfo> findByLabel(String label);
+
+    List<UserLabel> findAllLabel(Integer userId);
+
+    List<String> findLabel(Integer userId);
+}

+ 27 - 0
src/main/java/com/weavi/ahh_v2/service/UserService.java

@@ -0,0 +1,27 @@
+package com.weavi.ahh_v2.service;
+
+import com.weavi.ahh_v2.domain.UserInfo;
+
+import java.util.List;
+
+/**
+ * @auther jiangzuole
+ * @date 2019-05-27
+ * @time 15:11
+ */
+public interface UserService {
+
+    UserInfo findByUsername(String userName);
+
+    UserInfo findByNickname(String nickName);
+
+    UserInfo findByPhoneAndSource(Integer phone,String signAddress);
+
+    UserInfo findByNicknameAndSource(String nickName,String signAddress);
+
+    UserInfo findByIdAndDeleted(Integer id,Integer deleted);
+
+    List<UserInfo> findBySource(String signAddress);
+
+    UserInfo findById(Integer id);
+}