From 2772d25de9dfaf10f1c5a3256c2968ae47efcc18 Mon Sep 17 00:00:00 2001
From: jyy <935090232@qq.com>
Date: Wed, 17 Mar 2021 20:17:58 +0800
Subject: [PATCH] 修改bug4
---
zq-erp/src/main/java/com/matrix/biz/service/BizUserService.java | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/zq-erp/src/main/java/com/matrix/biz/service/BizUserService.java b/zq-erp/src/main/java/com/matrix/biz/service/BizUserService.java
index 77ae0fe..7aa2b0f 100644
--- a/zq-erp/src/main/java/com/matrix/biz/service/BizUserService.java
+++ b/zq-erp/src/main/java/com/matrix/biz/service/BizUserService.java
@@ -2,7 +2,6 @@
import com.matrix.biz.bean.BizUser;
import com.matrix.core.pojo.PaginationVO;
-import com.matrix.core.web.BaseServices;
import java.util.List;
@@ -11,7 +10,7 @@
* @author jyy
* @date 2019-05-31 10:03
*/
-public interface BizUserService extends BaseServices<BizUser> {
+public interface BizUserService {
/**
* 新增
@@ -33,15 +32,12 @@
*/
public int modifyByModel(BizUser bizUser);
- /**
- * 批量删除
- */
- public int remove(List<String> list);
+
/**
* 根据id删除
*/
- public int removeById(String userId);
+ public int removeById(Long userId);
/**
* 根据对象删除
@@ -62,11 +58,8 @@
* 统计记录数
*/
public int findTotal(BizUser bizUser);
-
- /**
- * 根据id查询
- */
- public BizUser findById(String userId);
+
+ public int remove(List<Long> list);
/**
@@ -74,9 +67,16 @@
*/
public BizUser findByOpenId(String openId);
-
+
+ public BizUser findById(Long userId);
/**
* 保存用户信息
*/
public int saveUserInfo(BizUser bizUser);
+
+ /**
+ * 设置为推广员
+ * @param invitationId
+ */
+ public int setToBeAnSalesman(String openId,String invitationId);
}
\ No newline at end of file
--
Gitblit v1.9.1