From 8310380a7adbe8fd6ab8e1361fd808b7647ad8f9 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期日, 17 五月 2020 16:47:22 +0800
Subject: [PATCH] 直接上级不返回上级昵称

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/user/invite/TeamFansInfoServiceImpl.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/invite/TeamFansInfoServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/invite/TeamFansInfoServiceImpl.java
index 9810fc3..7f63a40 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/invite/TeamFansInfoServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/invite/TeamFansInfoServiceImpl.java
@@ -80,7 +80,7 @@
 			teamFansInfoDao.updateSelective(record);
 		} else {
 			initData(record);
-			record.setUpdateTime(new Date());
+			record.setCrateTime(new Date());
 			teamFansInfoDao.save(record);
 		}
 	}
@@ -133,7 +133,7 @@
 	}
 	
 	@Override
-	public void addFansInfo(Long workerId, Long bossId) {
+	public void addFansInfo(Long workerId, Long bossId, Date successTime) {
 		UserInfo userInfo = userInfoService.selectByPKey(workerId);
 		if (userInfo == null) {
 			return;
@@ -228,6 +228,7 @@
 		focusInfo.setBossId(bossId);
 		focusInfo.setWorkerId(workerId);
 		focusInfo.setBossSuperId(bossSuperId);
+		focusInfo.setJoinTime(successTime);
 		focusInfo.setNickName(userInfo.getNickName());
 		focusInfo.setMemoName(memoName);
 		focusInfo.setWeixinIdExist(weixinBind);
@@ -245,9 +246,6 @@
 		focusInfo.setId(workerId.toString());
 		save(focusInfo);
 	}
-	
-	
-	
 	
 	
 	@Override

--
Gitblit v1.8.0