|
@@ -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);
|
|
|
+}
|